/* 
 * Titan Enrollment Wizard CSS
 * Cyberpunk Aesthetics for Multi-Tenant Registration
 */

#titan-enroll-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

#titan-enroll-modal.active {
    opacity: 1;
    pointer-events: auto;
}

#titan-enroll-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 10, 0, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

#titan-enroll-modal .glass-modal-content {
    position: relative;
    width: 90%;
    max-width: 600px;
    background: rgba(10, 15, 20, 0.85); /* Deep dark cyberpunk slate */
    border: 1px solid rgba(0, 255, 102, 0.2);
    border-radius: 12px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(0, 255, 102, 0.1) inset;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: translateY(20px) scale(0.98);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

#titan-enroll-modal.active .glass-modal-content {
    transform: translateY(0) scale(1);
}

#titan-enroll-close {
    position: absolute;
    top: 15px; 
    right: 15px;
    background: rgba(0, 255, 102, 0.1);
    border: 1px solid rgba(0, 255, 102, 0.3);
    color: var(--neon-green, #00ff00);
    width: 36px; height: 36px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s ease;
}

#titan-enroll-close:hover {
    background: rgba(255, 51, 51, 0.8);
    border-color: #ff3333;
    color: #fff;
    transform: rotate(90deg);
}

#titan-enroll-modal .glass-modal-header {
    padding: 20px 30px;
    border-bottom: 1px solid rgba(0, 255, 102, 0.2);
    display: flex; 
    align-items: center; 
    gap: 15px;
    background: rgba(0, 255, 102, 0.05);
}

#titan-enroll-modal .glass-modal-header h3 {
    margin: 0;
    font-family: monospace;
    font-size: 1.2rem;
    color: #fff;
    letter-spacing: 2px;
}

#titan-enroll-modal .glass-modal-body {
    padding: 30px;
    max-height: 70vh;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--neon-green, #00ff00) rgba(0,0,0,0.5);
}

#titan-enroll-modal .glass-modal-body::-webkit-scrollbar {
    width: 6px;
}

#titan-enroll-modal .glass-modal-body::-webkit-scrollbar-track {
    background: rgba(0,0,0,0.5);
}

#titan-enroll-modal .glass-modal-body::-webkit-scrollbar-thumb {
    background: var(--neon-green, #00ff00);
    border-radius: 3px;
}

/* Animations for step transitions */
#titan-enroll-steps-container > div {
    animation: fadeInStep 0.4s ease forwards;
}

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