  :root {
    --primary: #6366f1;
    --primary-dark: #4338ca;
    --primary-light: #818cf8;
    --secondary: #4f46e5;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --text-light: #6b7280;
    --border-light: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  }
  * { box-sizing: border-box; }
  body { 
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans KR", sans-serif; 
    background: var(--gray-50); 
    margin: 0; 
    padding: 0; 
    color: var(--gray-900);
    line-height: 1.6;
  }
  .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
  }
  .header { 
    background: white;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
  }
  .nav { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    padding: 1rem 0;
  }
  .logo { 
    font-size: 1.75rem; 
    font-weight: 800; 
    background: linear-gradient(135deg, var(--primary), var(--secondary)); 
    -webkit-background-clip: text; 
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }
  .logo a {
    text-decoration: none;
    color: inherit;
  }
  .breadcrumb {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 0.5rem;
    align-items: center;
  }
  .breadcrumb li {
    color: var(--text-light);
    font-size: 0.9rem;
  }
  .breadcrumb li:not(:last-child)::after {
    content: '>';
    margin-left: 0.5rem;
    color: var(--gray-300);
  }
  .breadcrumb a {
    color: var(--primary);
    text-decoration: none;
  }
  .nav-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
  }
  .guest-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
  }
  .hidden {
    display: none !important;
  }
  
  .user-info {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    transition: background 0.2s ease;
  }
  .user-info:hover {
    background: var(--gray-50);
  }
  .user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 16px;
  }
  .user-name {
    color: var(--gray-700);
    font-weight: 500;
    font-size: 14px;
  }
  .dropdown-icon {
    color: var(--gray-600);
    font-size: 12px;
    transition: transform 0.3s ease;
  }
  .user-info.active .dropdown-icon {
    transform: rotate(180deg);
  }
  .user-dropdown {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    background: white;
    border-radius: 0.5rem;
    box-shadow: var(--shadow-lg);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    z-index: 1000;
  }
  .user-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  .dropdown-menu {
    list-style: none;
    padding: 0.5rem;
    margin: 0;
  }
  .dropdown-menu li {
    margin: 0;
  }
  .dropdown-menu a,
  .dropdown-menu button {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    padding: 0.75rem 1rem;
    border: none;
    background: none;
    text-align: left;
    color: var(--gray-700);
    text-decoration: none;
    cursor: pointer;
    border-radius: 0.375rem;
    transition: background 0.2s ease;
    font-size: 0.9rem;
  }
  .dropdown-menu a:hover,
  .dropdown-menu button:hover {
    background: var(--gray-50);
  }
  .dropdown-menu button.logout {
    color: var(--danger);
  }
  .dropdown-divider {
    height: 1px;
    background: var(--gray-200);
    margin: 0.5rem 0;
  }

  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 0.95rem;
  }
  .btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
  }
  .btn-outline:hover {
    background: var(--primary);
    color: white;
  }
  .btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: var(--shadow-sm);
  }
  .btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
  }
  .main {
    padding: 2rem 0 4rem;
  }
  .page-header {
    text-align: center;
    margin-bottom: 3rem;
  }
  .page-header h1 {
    font-size: 2.5rem;
    color: var(--gray-900);
    margin-bottom: 1rem;
  }
  .page-header p {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
  }
  .form-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
  }
  .form-main {
    background: white;
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
  }
  .form-sidebar {
    position: sticky;
    top: 120px;
    height: fit-content;
  }
  .progress-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    margin-bottom: 2rem;
  }
  .progress-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--gray-900);
  }
  .progress-steps {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  .progress-step {
    display: flex;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--gray-100);
  }
  .progress-step:last-child {
    border-bottom: none;
  }
  .step-number {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--gray-200);
    color: var(--gray-600);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
    margin-right: 1rem;
    flex-shrink: 0;
  }
  .step-number.active {
    background: var(--primary);
    color: white;
  }
  .step-number.completed {
    background: var(--success);
    color: white;
  }
  .step-label {
    color: var(--text-light);
    font-size: 0.95rem;
  }
  .step-label.active {
    color: var(--gray-900);
    font-weight: 600;
  }
  .form-section {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--gray-100);
  }
  .form-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
  }
  .section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
  .section-subtitle {
    color: var(--text-light);
    margin-bottom: 2rem;
  }
  .form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
  .form-group {
    margin-bottom: 1.5rem;
  }
  .form-group.full-width {
    grid-column: 1 / -1;
  }
  .form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--gray-900);
  }
  .form-label.required::after {
    content: '*';
    color: var(--danger);
    margin-left: 0.25rem;
  }
  .form-input, .form-select, .form-textarea {
    width: 100%;
    padding: 0.875rem;
    border: 2px solid var(--gray-200);
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: all 0.3s ease;
  }
  .form-input:focus, .form-select:focus, .form-textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
  }
  .form-textarea {
    resize: vertical;
    min-height: 120px;
  }
  .form-help {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-top: 0.25rem;
  }
  .mbti-selector {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
    margin-top: 1rem;
  }
  .mbti-type {
    padding: 1rem;
    background: var(--gray-100);
    border: 2px solid var(--gray-200);
    border-radius: 0.5rem;
    text-align: center;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
  }
  .mbti-type:hover {
    background: var(--gray-200);
  }
  .mbti-type.selected {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
  }
  .tag-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
  }
  .tag {
    display: inline-flex;
    align-items: center;
    padding: 0.375rem 0.75rem;
    background: var(--gray-100);
    color: var(--gray-700);
    border-radius: 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid transparent;
  }
  .tag.selected {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
  }
  .tag:hover:not(.selected) {
    background: var(--gray-200);
  }
  .checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
  }
  .checkbox-item {
    display: flex;
    flex-direction: column;
    padding: 1rem;
    border: 2px solid var(--gray-200);
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
  }
  .checkbox-item:hover {
    border-color: var(--primary);
    background: var(--gray-50);
  }
  .checkbox-item input[type="checkbox"] {
    display: none;
  }
  .checkbox-item input[type="checkbox"]:checked + .checkbox-label {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    box-shadow: var(--shadow-md);
  }
  .checkbox-item:has(input:checked) {
    border-color: var(--primary);
    background: rgba(99, 102, 241, 0.05);
  }
  .checkbox-label {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--gray-200);
    color: var(--gray-700);
    border-radius: 0.5rem;
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    text-align: center;
    transition: all 0.3s ease;
  }
  .checkbox-desc {
    color: var(--text-light);
    font-size: 0.8rem;
    text-align: center;
  }
  .form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-200);
  }
  .btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
  }
  
  /* 정보 공개 설정 스타일 */
  .privacy-level-selector {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
  }
  .privacy-level {
    padding: 1.5rem 1rem;
    border: 2px solid var(--gray-200);
    border-radius: 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    background: white;
  }
  .privacy-level:hover {
    border-color: var(--primary);
    background: var(--gray-50);
  }
  .privacy-level.selected {
    border-color: var(--primary);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05), rgba(79, 70, 229, 0.05));
  }
  .privacy-level-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
  }
  .privacy-level-title {
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.25rem;
  }
  .privacy-level-desc {
    font-size: 0.875rem;
    color: var(--text-light);
    line-height: 1.4;
  }
  
  .privacy-toggle-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid var(--gray-100);
  }
  .privacy-toggle-item:last-child {
    border-bottom: none;
  }
  .privacy-toggle-label {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
  }
  .privacy-toggle-title {
    font-weight: 600;
    color: var(--gray-900);
  }
  .privacy-toggle-desc {
    font-size: 0.875rem;
    color: var(--text-light);
  }
  .privacy-toggle-switch {
    position: relative;
    width: 50px;
    height: 26px;
    flex-shrink: 0;
  }
  .privacy-toggle-switch input {
    display: none;
  }
  .privacy-toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--gray-300);
    transition: 0.3s;
    border-radius: 26px;
  }
  .privacy-toggle-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
  }
  .privacy-toggle-switch input:checked + .privacy-toggle-slider {
    background-color: var(--primary);
  }
  .privacy-toggle-switch input:checked + .privacy-toggle-slider:before {
    transform: translateX(24px);
  }
  
  .alert-box {
    padding: 1rem 1.5rem;
    background: rgba(99, 102, 241, 0.1);
    border-left: 4px solid var(--primary);
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: var(--gray-700);
  }
  .alert-box strong {
    color: var(--gray-900);
  }
  
  @media (max-width: 1024px) {
    .form-layout {
      grid-template-columns: 1fr;
      gap: 2rem;
    }
    .form-sidebar {
      position: static;
      order: -1;
    }
    .privacy-level-selector {
      grid-template-columns: 1fr;
    }
  }
  @media (max-width: 768px) {
    .container {
      padding: 0 1rem;
    }
    .form-grid {
      grid-template-columns: 1fr;
    }
    .mbti-selector {
      grid-template-columns: repeat(2, 1fr);
    }
    .form-main {
      padding: 1.5rem;
    }
    .page-header h1 {
      font-size: 2rem;
    }
    .nav {
      flex-direction: column;
      gap: 1rem;
    }
    .form-actions {
      flex-direction: column;
    }
    .user-name {
      display: none;
    }
  }