  :root {
            --primary: #2f855a;
            --primary-dark: #276749;
            --secondary: #9ae6b4;
            --light: #f0fff4;
            --dark: #1a4731;
            --gray: #a0aec0;
            --light-gray: #e6fffa;
            --border: #c6f6d5;
            --success: #48bb78;
            --error: #f56565;
        }

        body {
            font-family: 'Noto Sans Thai', sans-serif;
            background-color: var(--light);
            color: var(--dark);
            line-height: 1.6;
            margin: 0;
        }

        header {
            background-color: var(--primary);
            color: white;
            padding: 1rem 0;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
            width: 100%;
            position: relative;
        }

        .header-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0.5rem 1.5rem;
            display: flex;
            flex-wrap: wrap;
            align-items: flex-start;
            justify-content: space-between;
            gap: 1rem;
            position: relative;
            min-height: 80px;
        }

        .logo-container {
            display: flex;
            align-items: center;
            flex: 1;
            min-width: 0;
        }

        .logo img {
            height: 80px;
            width: auto;
            margin-right: 1rem;
            object-fit: contain;
        }

        .logo-text {
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

        .logo-text h1 {
            font-size: 1.5rem;
            margin: 0;
            font-weight: 600;
            line-height: 1.2;
        }

        .logo-text p {
            font-size: 0.9rem;
            margin: 0;
            opacity: 0.9;
            line-height: 1.4;
        }

        .header-date {
            font-size: 0.85rem;
            font-weight: 400;
            opacity: 0.8;
            position: absolute;
            bottom: 0.5rem;
            right: 1.5rem;
            text-align: right;
        }

        .card {
            background: white;
            border-radius: 12px;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
            margin: 3rem auto;
            max-width: 1200px;
            border: 1px solid var(--border);
        }

        .card-header {
            background-color: var(--primary);
            color: white;
            padding: 1.25rem 2rem;
            border-bottom: 3px solid var(--secondary);
            border-radius: 12px 12px 0 0;
        }

        .card-header h2 {
            margin: 0;
            font-size: 1.75rem;
            font-weight: 600;
        }

        .card-body {
            padding: 2.5rem;
        }

        .section-title {
            color: var(--primary);
            font-size: 1.25rem;
            font-weight: 500;
            margin-bottom: 1.5rem;
            padding-bottom: 0.5rem;
            border-bottom: 1px solid var(--light-gray);
        }

        .form-label {
            font-weight: 500;
            color: var(--dark);
        }

        .form-label.required::after {
            content: '*';
            color: var(--error);
            margin-left: 4px;
        }

        .form-control,
        .form-select {
            border-radius: 6px;
            font-size: 1rem;
            border: 1px solid var(--border);
            font-family: 'Noto Sans Thai', sans-serif;
        }

        .form-control-lg {
            padding: 0.75rem 1rem;
        }

        .form-control:focus,
        .form-select:focus {
            border-color: var(--primary);
            box-shadow: 0 0 0 0.2rem rgba(47, 133, 90, 0.2);
        }

        .form-control::placeholder {
            color: var(--gray);
        }

        #custom_title {
            margin-top: 1rem;
            display: none;
        }

        #custom_major {
            margin-top: 1rem;
            display: none;
        }

        .error {
            color: var(--error);
            font-size: 0.85rem;
            margin-top: 0.5rem;
        }

        .alert-error {
            background-color: #fff5f5;
            color: var(--error);
            border-color: #fed7d7;
            margin-bottom: 2rem;
            border-radius: 6px;
        }

        .help-text {
            color: var(--gray);
            font-size: 0.85rem;
            margin-top: 0.5rem;
        }

        .btn-primary {
            background-color: var(--primary);
            border-color: var(--primary);
            padding: 0.75rem 1.5rem;
            font-weight: 500;
        }

        .btn-primary:hover,
        .btn-primary:focus,
        .btn-primary:active {
            background-color: var(--primary-dark) !important;
            border-color: var(--primary-dark) !important;
        }

        .btn-secondary {
            background-color: var(--gray);
            border-color: var(--gray);
            padding: 0.75rem 1.5rem;
            font-weight: 500;
        }

        .btn-secondary:hover,
        .btn-secondary:focus,
        .btn-secondary:active {
            background-color: #718096 !important;
            border-color: #718096 !important;
        }

        footer {
            background-color: var(--primary);
            color: white;
            padding: 2rem 0;
            font-size: 0.9rem;
        }

        .footer-content {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .footer-links a {
            color: white;
            margin-left: 1.5rem;
            text-decoration: none;
            font-weight: 400;
        }

        .footer-links a:hover {
            text-decoration: underline;
        }

        .step {
            display: none;
        }

        .step.active {
            display: block;
        }

        .label-icon {
            margin-right: 0.5rem;
            color: var(--primary);
            font-size: 1rem;
        }

        #profile-preview {
            max-width: 200px;
            max-height: 200px;
            margin-top: 10px;
            display: none;
        }

        @media (max-width: 768px) {
            .header-container {
                flex-direction: column;
                align-items: flex-start;
                padding: 1rem;
                min-height: 100px;
            }

            .logo-container {
                flex-direction: row;
                align-items: center;
                width: 100%;
                margin-bottom: 0.5rem;
            }

            .logo img {
                height: 80px;
                margin-right: 0.75rem;
            }

            .logo-text h1 {
                font-size: 1.25rem;
            }

            .logo-text p {
                font-size: 0.8rem;
            }

            .header-date {
                position: static;
                text-align: right;
                font-size: 0.75rem;
                width: 100%;
                opacity: 0.8;
            }

            .card-body {
                padding: 1.5rem;
            }

            .footer-content {
                flex-direction: column;
                text-align: center;
            }

            .footer-links {
                margin-top: 1rem;
            }

            .footer-links a {
                margin: 0 0.5rem;
            }
        }

        @media (max-width: 576px) {
            .logo img {
                height: 80px;
            }

            .logo-text h1 {
                font-size: 1.1rem;
            }

            .logo-text p {
                font-size: 0.75rem;
            }

            .header-date {
                font-size: 0.7rem;
            }
        }