/* Audit Presentation Mode - Cyberpunk Style */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&family=Roboto:wght@300;400;700&display=swap');

:root {
    --pres-bg-color: #050505;
    --pres-card-bg: #111111;
    --pres-text-main: #ffffff;
    --pres-neon-blue: #00f3ff;
    --pres-neon-pink: #ff0055;
    --pres-neon-green: #00ff9d;
    --pres-neon-purple: #bd00ff;
    --pres-grid-line: rgba(255, 255, 255, 0.05);
}

#presentation-modal .phone-container {
    width: 100%;
    height: 100%;
    background-color: var(--pres-bg-color);
    position: relative;
    box-shadow: 0 0 50px rgba(189, 0, 255, 0.2);
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
    border: 1px solid #333;
    scrollbar-width: none;
    font-family: 'Roboto', sans-serif;
    color: var(--pres-text-main);
}

#presentation-modal .phone-container::-webkit-scrollbar {
    display: none;
}

#presentation-modal .bg-grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(var(--pres-grid-line) 1px, transparent 1px),
        linear-gradient(90deg, var(--pres-grid-line) 1px, transparent 1px);
    background-size: 30px 30px;
    pointer-events: none;
    z-index: 0;
    /* Ensure it covers the whole scrollable area or stays fixed */
    height: 100%;
    /* If fixed inside container */
}

#presentation-modal .slide {
    height: 100%;
    width: 100%;
    scroll-snap-align: start;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    padding: 20px;
    overflow: hidden;
    border-bottom: 1px solid #222;
    background: radial-gradient(circle at center, rgba(20, 20, 20, 0) 0%, rgba(0, 0, 0, 0.9) 100%);
}

#presentation-modal h1,
#presentation-modal h2 {
    font-family: 'Orbitron', sans-serif;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 15px;
}

#presentation-modal h1 {
    font-size: 1.5rem;
    color: var(--pres-text-main);
    text-shadow: 0 0 10px var(--pres-neon-purple);
    line-height: 1.2;
    margin-bottom: 0;
}

#presentation-modal h2 {
    font-size: 1.1rem;
    color: var(--pres-neon-blue);
    letter-spacing: 2px;
    margin-bottom: 0;
}

#presentation-modal p {
    color: #ccc;
    text-align: center;
    font-size: 0.9rem;
    line-height: 1.5;
    max-width: 90%;
    margin-bottom: 0px;
}

#presentation-modal .pres-note {
    font-size: 0.8rem;
    font-style: italic;
    opacity: 0.8;
}

#presentation-modal .logo-placeholder {
    width: 70px;
    height: 70px;
    border-radius: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    box-shadow: 0 0 20px rgba(220, 39, 67, 0.5);
    font-size: 2.5rem;
    color: white;
    font-family: 'Orbitron';
}

#presentation-modal .etechal-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    border: 1px solid var(--pres-text-main);
    padding: 5px 10px;
    font-size: 0.6rem;
    font-family: 'Orbitron';
    background: rgba(0, 0, 0, 0.5);
}

#presentation-modal .stat-big {
    font-size: 3rem;
    font-family: 'Orbitron';
    font-weight: 900;
    margin: 5px 0;
    line-height: 1;
}

#presentation-modal .stat-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #888;
    margin-top: -10px;
}

#presentation-modal .score-good {
    color: var(--pres-neon-green);
    text-shadow: 0 0 10px var(--pres-neon-green);
}

#presentation-modal .score-mid {
    color: #ffe600;
    text-shadow: 0 0 10px #ffe600;
}

#presentation-modal .score-bad {
    color: var(--pres-neon-pink);
    text-shadow: 0 0 10px var(--pres-neon-pink);
}

#presentation-modal .chart-container {
    width: 100%;
    height: 220px;
    position: relative;
    margin-bottom: 15px;
}

#presentation-modal .icon-box {
    font-size: 3.5rem;
    margin-bottom: 5px;
}

#presentation-modal .btn-cta {
    margin-top: 10px;
    padding: 10px 25px;
    border: 2px solid var(--pres-neon-blue);
    color: var(--pres-neon-blue);
    font-family: 'Orbitron';
    text-decoration: none;
    text-transform: uppercase;
    font-weight: bold;
    box-shadow: 0 0 10px var(--pres-neon-blue);
    background: transparent;
    cursor: pointer;
    font-size: 0.9rem;
}

#presentation-modal .slide-footer {
    position: absolute;
    bottom: 20px;
    right: 20px;
    font-size: 0.7rem;
    opacity: 0.5;
}

/* Animación Scanner */
#presentation-modal .scanner-line {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--pres-neon-purple);
    box-shadow: 0 0 15px var(--pres-neon-purple);
    animation: scan 3s infinite linear;
    opacity: 0.6;
    pointer-events: none;
    z-index: 2;
}

@keyframes scan {
    0% {
        top: 0%;
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        top: 100%;
        opacity: 0;
    }
}

/* Gauge Veredicto */
#presentation-modal .gauge-wrapper {
    position: relative;
    width: 110px;
    height: 55px;
    border-radius: 55px 55px 0 0;
    background: #333;
    overflow: hidden;
    margin: 20px 0;
}

#presentation-modal .gauge-fill {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--pres-neon-pink) 0%, #ffe600 50%, var(--pres-neon-green) 100%);
    transform-origin: center top;
    transform: rotate(180deg);
}

#presentation-modal .gauge-needle {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 4px;
    height: 50px;
    background: #fff;
    transform-origin: bottom center;
    transform: rotate(-45deg);
}