/* 
 * cr8OS Manifestation Modal
 * Ultra-high fidelity glassmorphism for interactive deployments
 */

.manifest-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(3, 0, 15, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    margin: 0;
    padding: 20px;
    box-sizing: border-box;
}

.manifest-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.manifest-window {
    width: 90%;
    max-width: 900px;
    height: 600px;
    background: rgba(15, 15, 25, 0.7);
    backdrop-filter: blur(80px) saturate(180%);
    -webkit-backdrop-filter: blur(80px) saturate(180%);
    border-radius: 32px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 
        0 40px 100px rgba(0, 0, 0, 0.6),
        inset 0 1px 1px rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: scale(0.95) translateY(20px);
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.manifest-overlay.active .manifest-window {
    transform: scale(1) translateY(0);
}

.manifest-header {
    padding: 24px 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.manifest-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.manifest-status-dot {
    width: 10px;
    height: 10px;
    background: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 10px #10b981;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
    100% { opacity: 1; transform: scale(1); }
}

.manifest-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    font-size: 24px;
    cursor: pointer;
    transition: color 0.3s;
}

.manifest-close:hover {
    color: #fff;
}

.manifest-body {
    flex: 1;
    padding: 32px;
    display: flex;
    gap: 32px;
    overflow: hidden;
}

.manifest-terminal {
    flex: 2;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 16px;
    padding: 24px;
    font-family: 'JetBrains Mono', 'Courier New', monospace;
    font-size: 14px;
    color: #a5f3fc;
    overflow-y: auto;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.manifest-telemetry {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.telemetry-item {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.telemetry-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 8px;
}

.telemetry-value {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
}

.manifest-progress-container {
    height: 4px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 2px;
    margin-top: 12px;
    overflow: hidden;
}

.manifest-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #0ea5e9, #22d3ee);
    width: 0%;
    transition: width 0.3s ease;
}

.manifest-footer {
    padding: 24px 32px;
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: flex-end;
    gap: 16px;
}

.btn-manifest-action {
    padding: 12px 24px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
}

.btn-primary {
    background: #0ea5e9;
    border: none;
    color: #fff;
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.3);
}

.btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
