* {
    box-sizing: border-box;
  }

  .search-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px 50px;
  }

  .page-header {
    text-align: center;
    margin-bottom: 25px;
    padding: 20px 0;
    border-bottom: 2px solid #f0f0f0;
  }

  .page-title {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
  }

  .tab-navigation {
    display: flex;
    justify-content: center;
    margin-bottom: 25px;
    border-radius: 12px;
    overflow: hidden;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
  }

  .tab-link {
    flex: 1;
    padding: 16px 24px;
    text-align: center;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    color: #666;
    transition: all 0.2s ease;
    border: none;
    background: transparent;
    cursor: pointer;
  }

  .tab-link.active {
    background: #a01947;
    color: white;
  }

  .tab-link:hover:not(.active) {
    background: #f0f0f0;
    color: #333;
  }

  .search-content {
    max-width: 720px;
    margin: 0 auto;
  }

  .search-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
    padding: 30px;
    margin-bottom: 25px;
    border: 1px solid #f0f0f0;
  }

  .search-notice {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 25px;
    border-left: 4px solid #a01947;
  }

  .search-notice h3 {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 12px 0;
  }

  .search-notice p {
    font-size: 14px;
    color: #666;
    margin: 0 0 4px 0;
    line-height: 1.5;
  }

  .search-method {
    margin-bottom: 25px;
  }

  .method-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    transition: all 0.2s ease;
  }

  .method-header:hover {
    background: #f8f9fa;
    margin: 0 -15px;
    padding: 15px;
    border-radius: 8px;
  }

  .method-title {
    font-size: 20px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
  }

  .method-arrow {
    width: 20px;
    height: 20px;
    transition: transform 0.2s ease;
  }

  .method-arrow.expanded {
    transform: rotate(180deg);
  }

  .method-content {
    padding: 20px 0;
    display: none;
  }

  .method-content.active {
    display: block;
  }

  .form-group {
    margin-bottom: 16px;
  }

  .form-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
  }

  .form-input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    font-size: 15px;
    transition: all 0.2s ease;
    background: #fff;
    outline: none;
  }

  .form-input:focus {
    border-color: #a01947;
    box-shadow: 0 0 0 3px rgba(160, 25, 71, 0.1);
  }

  .form-input::placeholder {
    color: #999;
    
  }

  .input-group {
    display: flex;
    gap: 12px;
  }

  .input-group .form-input {
    flex: 1;
  }

  .btn-send {
    padding: 14px 20px;
    background: #a01947;
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
  }

  .btn-send:hover {
    background: #7a1336;
  }

  .btn-send:active {
    transform: scale(0.98);
  }

  .auth-input-group {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 14px 16px;
    background: #fff;
    transition: all 0.2s ease;
    width: 100%;
    box-sizing: border-box;
  }

  .auth-input-group:focus-within {
    border-color: #a01947;
    box-shadow: 0 0 0 3px rgba(160, 25, 71, 0.1);
  }

  .auth-input-group input {
    /* flex: 1; */
    border: none;
    outline: none;
    font-size: 15px;
    background: transparent;
  }

  .auth-input-group input::placeholder {
    color: #999;
  }

  .time-display {
    font-size: 14px;
    color: #666;
    white-space: nowrap;
    margin-left: 12px;
    flex-shrink: 0;
  }

  .remain-time {
    font-weight: 600;
    color: #dc3545;
  }

  .btn-submit {
    width: 100%;
    padding: 16px;
    background: #a01947;
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 16px;
  }

  .btn-submit:hover {
    background: #7a1336;
  }

  .btn-submit:active {
    transform: scale(0.98);
  }

  .resend-link {
    text-align: right;
    margin-top: 16px;
  }

  .resend-link a {
    color: #a01947;
    text-decoration: none;
    font-size: 14px;
    cursor: pointer;
    transition: color 0.2s ease;
  }

  .resend-link a:hover {
    color: #7a1336;
    text-decoration: underline;
  }

  .email-input-group {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
  }

  .email-input-group .form-input {
    flex: 1;
  }

  .email-select {
    width: 200px;
    padding: 14px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    font-size: 16px;
    background: #fff;
    outline: none;
    transition: all 0.2s ease;
  }

  .email-select:focus {
    border-color: #a01947;
    box-shadow: 0 0 0 3px rgba(160, 25, 71, 0.1);
  }

  .email-notice {
    font-size: 12px;
    color: #666;
    margin-top: 8px;
  }

  .divider {
    border-top: 2px solid #f0f0f0;
    margin: 30px 0;
  }

  .radio-group {
    display: flex;
    gap: 20px;
    margin-bottom: 16px;
  }

  .radio-item {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .radio-item input[type="radio"] {
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: #a01947;
  }

  .radio-item label {
    font-size: 14px;
    color: #333;
    cursor: pointer;
    user-select: none;
  }

  .password-section {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #f0f0f0;
    display: none;
  }

  .password-section.active {
    display: block;
  }

  .password-input-group {
    display: flex;
    align-items: center;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 14px 16px;
    background: #fff;
    transition: all 0.2s ease;
    margin-bottom: 12px;
  }

  .password-input-group:focus-within {
    border-color: #a01947;
    box-shadow: 0 0 0 3px rgba(160, 25, 71, 0.1);
  }

  .password-input-group input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 16px;
    background: transparent;
  }

  .password-input-group input::placeholder {
    color: #999;
  }

  .password-toggle {
    font-size: 14px;
    color: #a01947;
    cursor: pointer;
    white-space: nowrap;
    margin-left: 12px;
    transition: color 0.2s ease;
  }

  .password-toggle:hover {
    color: #7a1336;
  }

  .password-rules {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    padding: 12px 16px;
    margin: 16px 0;
  }

  .password-rules p {
    margin: 0;
    font-size: 13px;
    color: #856404;
    font-weight: 500;
  }

  .validation-message {
    font-size: 13px;
    margin: 8px 0;
    padding: 0;
  }

  .validation-message.success {
    color: #28a745;
  }

  .validation-message.error {
    color: #dc3545;
  }

  .campaign-hero {
    background: linear-gradient(135deg, #a01947 0%, #7a1336 100%);
    padding: 32px 20px;
    text-align: center;
    color: white;
    margin-bottom: 30px;
  }
  
  .campaign-hero h2 {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.4;
    margin: 0 0 16px 0;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
  }
  
  .campaign-hero p {
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
    opacity: 0.9;
  }
  
  .password-form {
    max-width: 600px;
    margin: 0 auto;
  }
  
  .form-section {
    background: #fff;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid #f0f0f0;
    margin-bottom: 20px;
  }
  
  .password-strength {
    margin-top: 8px;
    font-size: 13px;
    font-weight: 600;
  }
  
  .action-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-top: 30px;
  }
  
  .btn-change, .btn-later {
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 160px;
  }
  
  .btn-change {
    background: #a01947;
    color: white;
  }
  
  .btn-change:hover {
    background: #7a1336;
    transform: translateY(-1px);
  }
  
  .btn-later {
    background: #6c757d;
    color: white;
  }
  
  .btn-later:hover {
    background: #545b62;
    transform: translateY(-1px);
  }
  
  .password-rules-box {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 12px;
    padding: 20px;
    margin-top: 20px;
  }
  
  .password-rules-box h4 {
    margin: 0 0 12px 0;
    color: #856404;
    font-size: 15px;
    font-weight: 600;
  }
  
  .password-rules-box ul {
    margin: 0;
    padding-left: 20px;
    color: #856404;
    font-size: 14px;
    line-height: 1.4;
  }
  
  .password-rules-box li {
    margin-bottom: 6px;
    list-style-type: disc;
  }

  .search-result-page {
    padding: 40px 20px;
  }
  
  .container {
    max-width: 600px;
    margin: 0 auto;
  }
  
  .result-container {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .result-card {
    background: white;
    border-radius: 24px;
    padding: 48px 40px;
    text-align: center;
    width: 100%;
    max-width: 480px;
  }
  
  .result-icon {
    margin-bottom: 24px;
  }
  
  .success .result-icon {
    color: #10b981;
  }
  
  .error .result-icon {
    color: #ef4444;
  }
  
  .result-title {
    font-size: 28px;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 12px 0;
    letter-spacing: -0.025em;
  }
  
  .result-subtitle {
    font-size: 16px;
    color: #6b7280;
    margin: 0 0 32px 0;
    line-height: 1.5;
  }
  
  .id-results {
    margin: 32px 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  
  .id-item {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
  }
  
  .org-name {
    font-size: 14px;
    color: #64748b;
    font-weight: 500;
  }
  
  .id-value {
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    background: linear-gradient(135deg, #a01749, #7a1336);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }
  
  .error-tips {
    margin: 24px 0;
    text-align: left;
  }
  
  .error-tips ul {
    margin: 0;
    padding-left: 20px;
    color: #6b7280;
    line-height: 1.6;
  }
  
  .error-tips li {
    margin-bottom: 8px;
  }
  
  .actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 32px;
  }
  
  .btn-primary,
  .btn-secondary,
  .btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 140px;
    justify-content: center;
  }
  
  .btn-primary {
    background: #a01749;
    color: white;
  }
  
  .btn-primary:hover {
    background: #7a1336;
  }
  
  .btn-secondary {
    background: #f1f5f9;
    color: #475569;
    border: 2px solid #e2e8f0;
  }
  
  .btn-secondary:hover {
    background: #e2e8f0;
    border-color: #cbd5e1;
    transform: translateY(-1px);
  }
  
  .btn-outline {
    background: transparent;
    color: #64748b;
    border: 2px solid #e2e8f0;
  }
  
  .btn-outline:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    transform: translateY(-1px);
  }
  
  @media (max-width: 768px) {
    .search-container {
      padding: 20px 16px 40px;
    }

    .search-result-page {
      padding: 20px 16px;
    }
    
    .container {
      max-width: 100%;
    }
    
    .result-card {
      padding: 32px 24px;
      border-radius: 20px;
    }
    
    .result-title {
      font-size: 24px;
    }
    
    .id-item {
      flex-direction: column;
      gap: 8px;
      text-align: center;
      padding: 16px 20px;
    }
    
    .id-value {
      font-size: 20px;
    }
    
    .actions {
      flex-direction: column;
      align-items: center;
    }
    
    .btn-primary,
    .btn-secondary,
    .btn-outline {
      width: 100%;
      max-width: 280px;
    }

    .search-card {
      padding: 20px 16px;
    }

    .page-title {
      font-size: 24px;
    }

    .method-title {
      font-size: 18px;
    }

    .tab-navigation {
      margin-bottom: 20px;
    }

    .tab-link {
      padding: 12px 16px;
      font-size: 14px;
    }

    .input-group {
      flex-direction: column;
    }

    .btn-send {
      width: 100%;
      margin-top: 8px;
    }

    .email-input-group {
      flex-direction: column;
    }

    .email-select {
      width: 100%;
    }

    .radio-group {
      flex-direction: column;
      gap: 12px;
    }

    .auth-input-group {
      flex-direction: column;
      align-items: stretch;
      padding: 12px 16px;
    }

    .auth-input-group input {
      margin-bottom: 8px;
      padding: 8px 0;
    }

    .time-display {
      margin-left: 0;
      text-align: center;
      font-size: 13px;
      padding: 6px 12px;
      background: #f8f9fa;
      border-radius: 6px;
      border: 1px solid #e9ecef;
    }

    .remain-time {
      font-size: 14px;
      font-weight: 700;
    }

    
    .campaign-hero {
      padding: 30px 16px;
    }
    
    .campaign-hero h2 {
      font-size: 2.2rem;
    }

    .campaign-hero p {
      font-size: 14px;
      word-break: keep-all;
    }
    
    .form-section {
      padding: 20px 16px;
      margin: 0 16px 20px;
    }
    
    .action-buttons {
      flex-direction: column;
      align-items: center;
    }
    
    .btn-change, .btn-later {
      width: 100%;
      max-width: 280px;
    }
  }

  @media (max-width: 480px) {
    .search-container {
      padding: 16px 12px 32px;
    }

    .search-card {
      padding: 16px 12px;
    }

    .page-title {
      font-size: 22px;
    }

    .method-title {
      font-size: 16px;
    }

    .form-input {
      padding: 12px 14px;
      font-size: 16px;
    }

    .btn-send {
      padding: 12px 16px;
      font-size: 13px;
    }

    .btn-submit {
      padding: 14px;
      font-size: 15px;
    }

    /* 매우 작은 화면에서 타이머 텍스트 단축 */
    .time-display {
      font-size: 12px;
    }

    .time-display::before {
      content: "⏱ ";
    }

    .result-card {
      padding: 24px 20px;
      margin: 0 8px;
    }
    
    .result-title {
      font-size: 22px;
    }
    
    .result-subtitle {
      font-size: 14px;
    }
  }