:root {
    --primary-color: #002D56; /* UCA Navy Blue */
    --secondary-color: #004B8D;
    --accent-color: #D4AF37; /* Gold/Yellow accent */
    --text-color: #333;
    --light-gray: #f8f9fa;
    --border-color: #e0e0e0;
    --white: #ffffff;
    --success-color: #28a745;
    --font-family: 'Inter', sans-serif;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
        --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
        --radius-md: 12px;
        --radius-lg: 16px;
}

body {
    font-family: var(--font-family);
    background-color: var(--light-gray);
    color: var(--text-color);
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.main-header {
    background-color: var(--white);
    padding: 1rem 0;
    box-shadow: var(--shadow-sm);
}

.logo-img {
    height: 48px;
}

.container {
    max-width: 700px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.main-content {
    flex: 1;
    padding: 3rem 0;
        display: flex;
        align-items: center;
}

.form-container {
    width: 100%;
}

/* Progress Bar (Dots Style) */
.progress-bar {
    display: flex;
    justify-content: center;
        gap: 0.75rem;
        margin-top: 2rem;
        order: 2;
        /* Move to bottom if flex container allows, otherwise handle in HTML */
}

.progress-bar .step {
    width: 10px;
        height: 10px;
    border-radius: 50%;
    background: #CBD5E0;
        color: transparent;
        /* Hide numbers */
        border: none;
        padding: 0;
    transition: all 0.3s ease;
}

.progress-bar .step.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

.progress-bar .line {
    display: none;
        /* Hide lines for dot style */
}

/* Form Steps */
.form-step {
    display: none;
    animation: fadeIn 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.form-step.active {
    display: block;
}

@keyframes fadeIn {
    from {
            opacity: 0;
            transform: translateY(20px);
        }
    to { opacity: 1; transform: translateY(0); }
}

h2 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 2rem;
        text-align: center;
        font-weight: 700;
}

.subtitle {
    color: #666;
    margin-bottom: 2.5rem;
        text-align: center;
        font-size: 1.1rem;
}

/* Form Groups */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group.full-width {
    grid-column: span 2;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #4A5568;
        font-size: 0.95rem;
}

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
    width: 100%;
    padding: 0.875rem 1rem;
        border: 1px solid #E2E8F0;
        border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.2s ease;
    box-sizing: border-box;
    background: var(--white);
        color: #2D3748;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(0, 75, 141, 0.1);
}

/* Buttons */
.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 99px;
        /* Pill shape */
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 1.1rem;
        min-width: 160px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    box-shadow: 0 4px 6px rgba(0, 45, 86, 0.2);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
        box-shadow: 0 6px 12px rgba(0, 45, 86, 0.25);
}

.btn-secondary {
    background-color: transparent;
        color: #718096;
        padding: 0.75rem 1.5rem;
}

.btn-secondary:hover {
    color: var(--primary-color);
        background-color: #F7FAFC;
}

.btn-success {
    background-color: var(--success-color);
    color: var(--white);
}

.form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
        margin-top: 3rem;
}

.form-actions.right {
    justify-content: flex-end;
}

/* Tabs */
.tabs {
    display: flex;
    gap: 0.5rem;
        margin-bottom: 2rem;
        background: #EDF2F7;
        padding: 0.25rem;
        border-radius: 99px;
        width: fit-content;
        margin-left: auto;
        margin-right: auto;
}

.tab-btn {
    padding: 0.75rem 2rem;
        background: transparent;
        border: none;
        border-radius: 99px;
    cursor: pointer;
    font-weight: 600;
    color: #718096;
        transition: all 0.2s ease;
}

.tab-btn.active {
    background: var(--primary-color);
    color: var(--white);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.tab-content {
    display: none;
    animation: fadeIn 0.3s ease;
}

.tab-content.active {
    display: block;
}

/* Career Grid */
.careers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1rem;
    max-height: 500px;
    overflow-y: auto;
    padding: 0.5rem;
}

.career-card {
    display: flex;
    align-items: center;
    padding: 1rem;
        border: 1px solid #E2E8F0;
        border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.2s ease;
    background: var(--white);
}

.career-card:hover {
    border-color: var(--secondary-color);
    background: #F8FAFC;
        transform: translateY(-2px);
        box-shadow: var(--shadow-sm);
}

.career-card input {
    margin-right: 1rem;
        width: 1.2rem;
        height: 1.2rem;
}

/* Radio Grid (Identification) */
.radio-grid {
    display: flex;
        flex-direction: column;
    gap: 1rem;
    max-width: 500px;
        margin: 0 auto;
}

.radio-card {
    display: flex;
    align-items: center;
    padding: 1.5rem;
    border: 2px solid transparent;
        /* Transparent border for smooth hover */
        border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all 0.2s ease;
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.radio-card:hover {
    border-color: #E2E8F0;
    transform: translateY(-2px);
        box-shadow: var(--shadow-md);
    }
    
    .radio-card input[type="radio"] {
        display: none;
        /* Hide default radio */
    }
.radio-card.active {
    border-color: var(--primary-color);
    background: #F8FAFC;
}

/* Icon container for radio cards - Needs HTML update to work fully */
.radio-card-icon {
    width: 48px;
    height: 48px;
    background: #EBF5FF;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.25rem;
    margin-right: 1.25rem;
}

.radio-card span {
    font-weight: 600;
    font-size: 1.1rem;
    color: #2D3748;
}

/* Rating */
.rating-container {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.stars {
    display: flex;
    flex-direction: row-reverse;
    gap: 1rem;
        background: var(--white);
        padding: 1rem 2rem;
        border-radius: 99px;
        box-shadow: var(--shadow-sm);
}

.stars input {
    display: none;
}

.stars label {
    font-size: 2.5rem;
        color: #CBD5E0;
    cursor: pointer;
    transition: all 0.2s ease;
}

.stars input:checked ~ label,
.stars label:hover,
.stars label:hover ~ label {
    color: #FFD700;
        /* Gold */
        transform: scale(1.1);
}

/* Success Message */
.success-message {
    text-align: center;
    padding: 4rem 1rem;
}

.success-icon {
    font-size: 5rem;
    color: var(--success-color);
    margin-bottom: 2rem;
        animation: scaleIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }
    
    @keyframes scaleIn {
        from {
            transform: scale(0);
        }
    
        to {
            transform: scale(1);
        }
}

.main-footer {
    text-align: center;
    padding: 2rem;
        color: #A0AEC0;
        font-size: 0.875rem;
        margin-top: auto;
}

@media (max-width: 600px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .form-group.full-width {
        grid-column: span 1;
    }
                .container {
                    padding: 0 1rem;
                }
        
                h2 {
                    font-size: 1.75rem;
                }
}
