* {
    box-sizing: border-box;
  }

  .login-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px 80px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 500px;
  }

  .login-wrapper {
    width: 100%;
    max-width: 480px;
    overflow: hidden;
  }

  .login-header {
    background: #fff;
    padding: 40px 30px 20px;
    text-align: center;
    border-bottom: 1px solid #f5f5f5;
  }

  .login-header h1 {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 8px 0;
    color: #1a1a1a;
  }

  .login-content {
    padding: 30px;
  }

  .login-tabs {
    display: flex;
    margin-bottom: 32px;
    border-radius: 12px;
    overflow: hidden;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    position: relative;
  }

  .login-tab {
    flex: 1;
    padding: 18px 20px;
    text-align: center;
    cursor: pointer;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.2s ease;
    border: none;
    background: transparent;
    color: #666;
    position: relative;
    letter-spacing: -1px;
    z-index: 2;
  }

  .login-tab.active {
    background: #a01749;
    color: white;
  }

  .login-tab:hover:not(.active) {
    background: #f0f0f0;
    color: #333;
  }

  .login-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .input-group {
    position: relative;
  }

  .form-input {
    width: 100%;
    padding: 12px 20px;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 400;
    transition: all 0.2s ease;
    background: #fff;
    outline: none;
    -webkit-appearance: none;
  }

  .form-input:focus {
    border-color: #a01749;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
  }

  .form-input::placeholder {
    color: #999;
  }

  .login-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 4px 0 12px;
  }

  .checkbox-group {
    display: flex;
    gap: 12px;
  }

  .checkbox-item {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .custom-checkbox {
    width: 20px;
    height: 20px;
    border: 1px solid #ddd;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
  }

  .custom-checkbox:checked {
    background: #a01749;
    border-color: #a01749;
  }

  .custom-checkbox:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 13px;
    font-weight: bold;
  }

  .custom-checkbox:hover:not(:disabled) {
    border-color: #a01749;
  }

  .custom-checkbox:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
  }

  .checkbox-label {
    font-size: 14px;
    color: #666;
    cursor: pointer;
    user-select: none;
  }

  .login-button {
    width: 100%;
    padding: 18px;
    background: #a01749;
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 8px;
  }

  .login-button:hover {
    background:rgb(128, 18, 58);
  }

  .login-button:active {
    background: #a01749;
    transform: scale(0.98);
  }

  .login-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
  }

  .login-button.loading {
    position: relative;
    color: transparent;
  }

  .login-button.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
  }

  @keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
  }

  .login-help {
    text-align: center;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #f0f0f0;
  }

  .help-text {
    font-size: 13px;
    color: #666;
    margin-bottom: 16px;
    line-height: 1.5;
  }

  .help-links {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
  }

  .help-link {
    font-size: 13px;
    color: #666;
    text-decoration: none;
    transition: color 0.2s ease;
  }

  .help-link:hover {
    color: #a01749;
  }

  .help-link.signup {
    font-weight: 600;
    color: #a01749;
  }

  .divider {
    color: #ddd;
    margin: 0 8px;
  }

  .blocked-message {
    text-align: center;
    padding: 60px 30px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
    max-width: 480px;
    margin: 0 auto;
    border: 1px solid #f0f0f0;
  }

  .blocked-message h2 {
    color: #dc3545;
    font-size: 20px;
    margin-bottom: 20px;
    font-weight: 600;
  }

  .blocked-message p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
  }

  .recaptcha-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 30px;
  }

  .help-tooltip {
    position: relative;
    display: inline-block;
    text-decoration: underline;
  }

  .tooltip-content {
    display: none;
    position: absolute;
    bottom: 100%;
    right: -28px;
    background: #333;
    color: white;
    padding: 16px 20px;
    border-radius: 8px;
    font-size: 12px;
    line-height: 1.5;
    z-index: 1000;
    width: 280px;
    max-width: 90vw;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
    margin-bottom: 8px;
    word-break: keep-all;
  }

  .tooltip-content::after {
    content: '';
    position: absolute;
    top: 100%;
    right: 40px;
    border: 6px solid transparent;
    border-top-color: #333;
  }

  .tooltip-content.show {
    display: block;
    opacity: 1;
    pointer-events: auto;
  }

  .help-link-tooltip {
    text-decoration: underline;
    color: #a01749;
    transition: color 0.2s ease;
  }

  .help-link-tooltip:hover {
    color: #666;
  }

  .warning-text {
    color: #dc3545;
    font-weight: 500;
  }

  .help-links-top-margin {
    margin-top: 30px;
  }

  .login-user-select-box {
    width: 100%;
    max-width: 448px;
    height: auto;
    margin: 16px 0;
    padding: 16px;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    background: #f8f9fa;
  }

  @media (max-width: 768px) {
    .login-container {
      padding: 40px 16px 60px;
    }
    
    .login-wrapper {
      max-width: 100%;
    }
    
    .login-header {
      padding: 30px 20px 16px;
    }
    
    .login-content {
      padding: 24px 20px;
    }
    
    .login-tabs {
      margin-bottom: 24px;
    }

    .login-tab {
        padding: 14px 12px;
    }
    
    .help-links {
      gap: 4px;
    }

    .login-user-select-box {
      max-width: 100%;
      padding: 12px;
    }

    .tooltip-content {
      width: 260px;
      max-width: 85vw;
      right: -100px;
      left: auto;
      font-size: 11px;
      padding: 12px 16px;
    }

    .tooltip-content::after {
      right: 110px;
      left: auto;
    }
  }

  /* 기존 호환성을 위한 숨김 스타일 */
  .hidden {
    display: none !important;
  }