/* assets/css/career-console.css */
/* Phase 12: Unique Aurora Glassmorphism Aesthetic */

.career-section {
    position: relative;
    padding: 100px 0;
    min-height: 80vh;
    display: flex;
    align-items: center;
    background-color: var(--primary-color);
    overflow: hidden;
    z-index: 1;
}

/* Animated Aurora Background */
.aurora-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: 0;
}

.aurora-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    animation: floatOrb 20s infinite ease-in-out alternate;
}

.aurora-orb-1 {
    top: -10%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, var(--accent-saffron), transparent 70%);
    animation-delay: 0s;
}

.aurora-orb-2 {
    bottom: -20%;
    right: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, var(--accent-gold), transparent 70%);
    animation-delay: -5s;
    animation-duration: 25s;
}

.aurora-orb-3 {
    top: 40%;
    left: 60%;
    width: 40vw;
    height: 40vw;
    background: radial-gradient(circle, #00B4DB, transparent 70%);
    /* Subtle cool tone for contrast */
    animation-delay: -10s;
    animation-duration: 30s;
    opacity: 0.3;
}

@keyframes floatOrb {
    0% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(5%, 10%) scale(1.1);
    }

    100% {
        transform: translate(-5%, -5%) scale(0.9);
    }
}

/* Glass Container Wrapper */
.career-container {
    position: relative;
    z-index: 2;
    width: 100%;
}

/* The Main Glass Panel */
.glass-console {
    background: rgba(6, 17, 33, 0.55);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border-radius: 32px;
    padding: 4rem;
    position: relative;
}

/* Form Panel Override */
.form-panel {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
}

.form-panel-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 2rem;
    margin-bottom: 2.5rem;
}

/* Typographic Overrides for Dark Glass Theme */
.glass-console h2,
.glass-console h3,
.glass-console h4,
.glass-console h5 {
    color: #ffffff;
    letter-spacing: -1px;
}

.glass-console .text-primary {
    color: #ffffff !important;
}

.glass-console .text-muted {
    color: rgba(255, 255, 255, 0.6) !important;
}

.glass-console .btn-back-entry {
    color: rgba(255, 255, 255, 0.7) !important;
    background: rgba(255, 255, 255, 0.05);
    padding: 8px 20px !important;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.glass-console .btn-back-entry:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff !important;
}

/* Modern Unique Cards */
.talent-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 3rem 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.talent-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(180deg, rgba(212, 175, 55, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.talent-card:hover {
    transform: translateY(-12px);
    border-color: rgba(212, 175, 55, 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.talent-card:hover::before {
    opacity: 1;
}

.talent-icon-wrapper {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    transform: rotate(45deg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
}

.talent-icon-wrapper i {
    transform: rotate(-45deg);
    font-size: 2rem;
    color: var(--accent-saffron);
}

.talent-card:hover .talent-icon-wrapper {
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-saffron));
    border-color: transparent;
    border-radius: 50%;
    transform: rotate(0deg);
}

.talent-card:hover .talent-icon-wrapper i {
    transform: rotate(0deg);
    color: #fff;
}

/* Step Views */
.career-step-view {
    display: none;
    animation: scaleFade 0.5s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

.career-step-view.active {
    display: block;
}

@keyframes scaleFade {
    from {
        opacity: 0;
        transform: scale(0.98) translateY(10px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Horizontal Progress Dots */
.career-progress-bar {
    display: flex;
    gap: 15px;
    margin-bottom: 3.5rem;
    justify-content: center;
}

.career-progress-step {
    width: 40px;
    height: 4px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.career-progress-step.active {
    width: 60px;
    background: var(--accent-gold);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.4);
}

/* Modern Pill Inputs */
.form-control,
.form-select {
    background: rgba(0, 0, 0, 0.4) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #fff !important;
    border-radius: 12px !important;
    padding: 16px 20px !important;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
    background: rgba(0, 0, 0, 0.5) !important;
    border-color: var(--accent-gold) !important;
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.15) !important;
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.6) !important;
}

.form-select option {
    background: var(--primary-color);
    color: #fff;
}

/* Elegant Checkboxes & Radios */
.skill-checkbox-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.skill-label {
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 40px;
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.skill-label:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.skill-checkbox:checked+.skill-label {
    background: var(--accent-saffron);
    border-color: var(--accent-saffron);
    color: #fff;
    font-weight: 600;
    box-shadow: 0 6px 15px rgba(255, 143, 0, 0.3);
}

.radio-card-label {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 24px;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    transition: all 0.3s ease;
}

.radio-card-label:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.2);
}

.radio-card-input:checked+.radio-card-label {
    background: rgba(212, 175, 55, 0.1);
    border-color: var(--accent-gold);
    color: #fff;
    transform: scale(1.02);
}

.radio-card-input:checked+.radio-card-label::before {
    display: none;
}

/* Remove old icon */

/* Abstract Result Box */
.result-panel {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
}

.result-panel::before {
    display: none;
}

.result-card-glass {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 24px;
    padding: 4rem;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.result-card-glass::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

.result-data-block {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    backdrop-filter: blur(5px);
}

.btn-cyber-submit {
    /* Map to native modern button */
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-saffron));
    color: #fff;
    font-weight: 700;
    border: none;
    border-radius: 30px;
    padding: 16px 32px;
    font-size: 1.1rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(255, 143, 0, 0.3);
}

.btn-cyber-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(255, 143, 0, 0.4);
}

@media (max-width: 991px) {
    .glass-console {
        padding: 2.5rem;
        border-radius: 24px;
    }

    .result-card-glass {
        padding: 2.5rem;
    }
}

@media (max-width: 768px) {
    .aurora-orb {
        filter: blur(50px);
    }

    .glass-console {
        padding: 2rem 1.5rem;
    }
}