:root {
    --primary: #0051A8;
    --primary-light: #3080D0;
    --secondary: #EC4899;
    --bg: #F8FAFC;
    --text: #1E293B;
    --text-light: #64748B;
    --white: #FFFFFF;
    --glass: rgba(255, 255, 255, 0.7);
    --shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --container-max: 1200px;
    --font-main: 'Outfit', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 6rem 0;
}

.bg-light {
    background: linear-gradient(135deg, #F1F5F9 0%, #E2E8F0 100%);
}

/* Header & Nav */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: var(--glass);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    transition: all 0.3s ease;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -1px;
}

.logo span {
    color: var(--secondary);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary);
}

/* Buttons */
.btn-primary, .btn-secondary {
    display: inline-block;
    text-decoration: none;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background: var(--primary);
    color: var(--white) !important;
    border: 2px solid var(--primary);
    box-shadow: 0 4px 15px rgba(0, 81, 168, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 81, 168, 0.4);
    background-color: var(--primary-light);
    border-color: var(--primary-light);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(8px);
    color: var(--primary) !important;
    border: 2px solid var(--primary);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.btn-secondary:hover {
    transform: translateY(-3px);
    background-color: var(--primary);
    color: var(--white) !important;
    box-shadow: 0 8px 25px rgba(0, 81, 168, 0.3);
}

/* Hero Banner Section */
.hero-banner {
    padding: 100px 0 60px;
    background: var(--white);
}

.hero-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.banner-img {
    width: 100%;
    max-width: 1100px;
    height: auto;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.hero-btns-overlay {
    margin-top: 2rem;
    display: flex;
    gap: 1.5rem;
    z-index: 10;
}

@media (max-width: 768px) {
    .hero-banner {
        padding: 80px 0 40px;
    }
    .hero-btns-overlay {
        margin-top: 20px;
        flex-direction: column;
        width: 100%;
        align-items: center;
    }
    .btn-primary, .btn-secondary {
        width: 80%;
        text-align: center;
    }
}

/* Language Switcher Modern Button */
.lang-switch-btn {
    display: flex;
    align-items: center;
    background: rgba(0, 81, 168, 0.05);
    border: 1px solid rgba(0, 81, 168, 0.2);
    border-radius: 50px;
    padding: 6px 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    gap: 8px;
    font-family: var(--font-main);
}

.lang-switch-btn:hover {
    background: rgba(0, 81, 168, 0.1);
    border-color: var(--primary);
}

.lang-label {
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--text-light);
}

.toggle-track {
    width: 36px;
    height: 18px;
    background: #CBD5E1;
    border-radius: 20px;
    position: relative;
    transition: background 0.3s ease;
}

.toggle-knob {
    width: 14px;
    height: 14px;
    background: white;
    border-radius: 50%;
    position: absolute;
    top: 2px;
    left: 2px;
    transition: transform 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Toggle state EN */
[lang="en"] .toggle-track { background: var(--primary); }
[lang="en"] .toggle-knob { transform: translateX(18px); }

/* Fade Transitions */
.fade-transition {
    transition: opacity 0.3s ease-in-out;
}

.hidden-lang {
    opacity: 0;
}

/* Section Common */
.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 2rem;
    color: var(--primary);
}

.centered {
    text-align: center;
}

.max-width {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* Cards & Glassmorphism */
.glass {
    background: var(--glass);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: var(--shadow);
}

.card {
    background: var(--white);
    border-radius: 24px;
    padding: 2rem;
    box-shadow: var(--shadow);
}

.clinical-frame {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--secondary);
    color: var(--white);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Hybrid Core Visual */
.hybrid-core {
    margin-bottom: 4rem;
    padding: 3rem;
    background: linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(241,245,249,0.9) 100%);
}

.core-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.core-box {
    flex: 1;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
}

.core-box.human {
    background: rgba(0, 81, 168, 0.05);
    border: 1px solid var(--primary);
}

.core-box.ai {
    background: rgba(236, 72, 153, 0.05);
    border: 1px solid var(--secondary);
}

.core-box h3 {
    margin-bottom: 1rem;
    color: var(--text);
}

.core-role {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.human .core-role { background: var(--primary); color: var(--white); }
.ai .core-role { background: var(--secondary); color: var(--white); }

/* Authenticity Grid */
.authenticity-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.auth-item {
    background: rgba(255, 255, 255, 0.5);
    padding: 1.5rem;
    border-radius: 16px;
    border: 1px solid rgba(0,0,0,0.05);
    text-align: left;
}

.auth-item h4 {
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.auth-item p {
    font-size: 0.9rem;
    color: var(--text-light);
}

.legal-disclaimer {
    margin-top: 3rem;
    padding: 1.5rem;
    background: #FEF2F2; /* Soft red for warning/important note */
    border-left: 4px solid #EF4444;
    border-radius: 8px;
    text-align: left;
}

.legal-disclaimer p {
    font-size: 0.85rem;
    color: #991B1B;
}

.legal-disclaimer strong {
    color: #7F1D1D;
}

/* Features Grid */
.core-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
}

.pulse {
    width: 20px;
    height: 20px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 0 rgba(0, 81, 168, 0.4);
    animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 81, 168, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 15px rgba(0, 81, 168, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 81, 168, 0); }
}

@media (max-width: 768px) {
    .core-grid { flex-direction: column; }
    .core-divider { height: 60px; width: auto; transform: rotate(90deg); }
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.feature-card {
    text-align: center;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-card .icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

/* Community Stats */
.community-stats {
    display: flex;
    justify-content: space-around;
    padding: 3rem;
}

.stat .number {
    display: block;
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--secondary);
    line-height: 1;
}

.stat p {
    font-weight: 600;
    color: var(--primary);
    margin-top: 0.5rem;
}

/* Ethics List */
.ethics-list {
    list-style: none;
    margin-top: 2rem;
}

.ethics-list li {
    padding: 1rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.ethics-list li:last-child {
    border-bottom: none;
}

/* Footer */
footer {
    background: #0F172A;
    color: var(--white);
    padding: 5rem 0 3rem;
}

.footer-grid {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 3rem;
    margin-bottom: 2rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-icons a {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background: var(--secondary);
    transform: scale(1.1);
}

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

.fade-in {
    animation: fadeIn 1s ease-out forwards;
}

.delay-1 { animation-delay: 0.3s; opacity: 0; }
.delay-2 { animation-delay: 0.6s; opacity: 0; }

/* Responsive */
@media (max-width: 968px) {
    .grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .nav-links {
        display: none;
    }
}
/* Gallery Section Styles */
.gallery-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    gap: 2rem;
    flex-wrap: wrap;
}

.filter-bar {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: var(--white);
    border: 1px solid rgba(0,0,0,0.1);
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    font-family: var(--font-main);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-light);
}

.filter-btn:hover, .filter-btn.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    box-shadow: 0 4px 10px rgba(0, 81, 168, 0.2);
}

.search-bar {
    flex-grow: 1;
    max-width: 400px;
}

#video-search {
    width: 100%;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    border: 1px solid rgba(0,0,0,0.1);
    font-family: var(--font-main);
    outline: none;
    transition: border-color 0.3s ease;
}

#video-search:focus {
    border-color: var(--primary);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
}

.video-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    position: relative;
}

.video-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.video-thumb {
    position: relative;
    aspect-ratio: 9/16;
    overflow: hidden;
    background: #000;
}

.video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.video-card:hover .video-thumb img {
    transform: scale(1.1);
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-card:hover .video-overlay {
    opacity: 1;
}

.play-icon {
    width: 60px;
    height: 60px;
    background: var(--white);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    padding-left: 5px;
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.video-card:hover .play-icon {
    transform: scale(1);
}

.video-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--secondary);
    color: var(--white);
    padding: 0.2rem 0.8rem;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
}

.video-info {
    padding: 1.5rem;
}

.video-info h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.video-info p {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.4;
}

/* Modal Styles */
.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2.5rem;
    color: var(--dash-text-dim);
    cursor: pointer;
    z-index: 100;
    line-height: 1;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.3);
    border-radius: 50%;
}

.close-modal:hover {
    color: var(--magenta);
    transform: rotate(90deg);
    background: rgba(255, 45, 120, 0.1);
}

.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.9);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

/* Professional Modal System */
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    z-index: 100000; /* Super high priority */
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
}

.video-modal.active {
    display: flex;
    opacity: 1;
    visibility: visible;
}

.modal-content-vertical {
    background: #151A23;
    width: 95%;
    max-width: 1000px;
    height: 85vh;
    max-height: 750px;
    border-radius: 24px;
    position: relative;
    overflow: hidden;
    display: flex;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.8), 0 0 20px rgba(255, 45, 120, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-layout {
    display: flex;
    width: 100%;
    height: 100%;
}

.modal-video-container {
    flex: 1;
    background: #000;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

#modal-video {
    max-width: 100%;
    max-height: 100%;
    height: 100%;
    width: auto;
    object-fit: contain; /* CRITICAL: Prevent distortion */
}

.modal-details {
    flex: 1;
    padding: 2.5rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    background: #1C222D;
}

.live-tag {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--magenta);
    color: white;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 800;
    z-index: 10;
}

@media (max-width: 850px) {
    .modal-content-vertical {
        flex-direction: column;
        height: auto;
        max-height: 95vh;
    }
    .modal-layout {
        flex-direction: column;
    }
    .modal-video-container {
        height: 50vh;
    }
    .modal-details {
        padding: 1.5rem;
    }
}

#modal-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--magenta);
    line-height: 1.2;
}

#modal-desc {
    font-size: 0.95rem;
    color: var(--dash-text-dim);
    line-height: 1.6;
}

.capsule-label {
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--magenta);
    letter-spacing: 2px;
    opacity: 0.8;
}

@media (max-width: 850px) {
    .modal-layout {
        flex-direction: column;
    }
    .modal-content-vertical {
        max-height: 95vh;
    }
    #modal-video {
        max-height: 50vh;
    }
    .modal-details {
        border-left: none;
        border-top: 1px solid rgba(255,255,255,0.1);
    }
}

.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 5rem;
    color: var(--text-light);
    font-style: italic;
}

@media (max-width: 768px) {
    .gallery-controls {
        flex-direction: column;
        align-items: stretch;
    }
    .search-bar {
        max-width: none;
    }
}

/* --- Cyber-Clinic Dashboard Styles --- */

:root {
    --dash-bg: #0B0E14;
    --dash-sidebar: #151A23;
    --dash-header: #0F131A;
    --dash-card: #1C222D;
    --magenta: #FF2D78;
    --magenta-glow: rgba(255, 45, 120, 0.4);
    --dash-text: #E2E8F0;
    --dash-text-dim: #94A3B8;
}

.dashboard-body {
    background-color: var(--dash-bg);
    color: var(--dash-text);
    font-family: 'Outfit', sans-serif;
    overflow: hidden;
}

/* Sidebar */
.dashboard-sidebar {
    width: 260px;
    background-color: var(--dash-sidebar);
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    padding: 2rem 0;
    flex-shrink: 0;
    overflow-x: hidden;
}

.sidebar-user {
    padding: 0 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.user-avatar {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    object-fit: cover;
    border: 2px solid var(--magenta);
    box-shadow: 0 0 10px var(--magenta-glow);
}

.user-info {
    display: flex;
    flex-direction: column;
}

.user-name {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--magenta);
}

.user-role {
    font-size: 0.7rem;
    color: var(--dash-text-dim);
    letter-spacing: 1px;
}

.sidebar-nav ul {
    list-style: none;
    padding: 0;
}

.sidebar-nav li {
    margin-bottom: 0.2rem;
}

.sidebar-nav a, .ajustes-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem 2rem;
    text-decoration: none;
    color: var(--dash-text-dim);
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
    white-space: nowrap;
    overflow: hidden;
}

.sidebar-nav .icon {
    width: 24px;
    display: flex;
    justify-content: center;
    font-size: 1.1rem;
}

.sidebar-nav .label {
    flex: 1;
}

.sidebar-nav li.active a, .sidebar-nav a:hover {
    color: var(--white);
    background: linear-gradient(to right, rgba(255, 45, 120, 0.1), transparent);
    border-left-color: var(--magenta);
}

.sidebar-lang {
    padding: 1.5rem 2rem 0;
    display: flex;
    justify-content: center;
}

.sidebar-socials {
    margin-top: auto;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-around;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.sidebar-socials a {
    text-decoration: none;
    font-size: 1.3rem;
    transition: transform 0.3s ease, filter 0.3s ease;
    opacity: 0.7;
}

.sidebar-socials a:hover {
    transform: scale(1.2);
    opacity: 1;
    filter: drop-shadow(0 0 5px var(--magenta));
}

.sidebar-bottom {
    padding-bottom: 1rem;
}

/* Main Area */
.dashboard-main {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.dashboard-header {
    height: 70px;
    background-color: var(--dash-header);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-logo {
    font-family: 'Playfair Display', serif;
    font-weight: 800;
    font-style: italic;
    font-size: 1.4rem;
    letter-spacing: 1px;
    color: var(--white);
}

.header-nav ul {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    margin: 0;
    padding: 0;
}

.header-nav a {
    text-decoration: none;
    color: var(--dash-text-dim);
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    position: relative;
}

.header-nav li.active a, .header-nav a:hover {
    color: var(--magenta);
}

.header-nav li.active a::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--magenta);
    box-shadow: 0 0 8px var(--magenta-glow);
}

.header-actions {
    display: flex;
    gap: 1.5rem;
}

.icon-btn {
    background: none;
    border: none;
    color: var(--dash-text-dim);
    font-size: 1.2rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.icon-btn:hover {
    color: var(--white);
}

/* Dashboard Content */
.dashboard-content {
    flex-grow: 1;
    padding: 2.5rem 3rem;
    overflow-y: auto;
}

.content-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2.5rem;
}

.subtitle {
    display: block;
    color: var(--magenta);
    font-weight: 800;
    font-size: 0.75rem;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.main-title {
    font-size: 2.2rem;
    font-weight: 800;
    margin: 0;
}

.actions-group {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.status-badge {
    background: rgba(16, 185, 129, 0.1);
    color: #10B981;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 800;
    border: 1px solid rgba(16, 185, 129, 0.2);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.status-badge .dot {
    width: 8px;
    height: 8px;
    background: #10B981;
    border-radius: 50%;
    box-shadow: 0 0 5px #10B981;
}

.btn-magenta {
    background: var(--magenta);
    color: var(--white);
    border: none;
    padding: 0.8rem 1.8rem;
    border-radius: 8px;
    font-weight: 800;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-magenta:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px var(--magenta-glow);
}

/* Dashboard Grid */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1.5rem;
}

.dashboard-grid .video-card {
    background: var(--dash-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.dashboard-grid .video-thumb {
    aspect-ratio: 9/16;
}

.dashboard-grid .video-info h3 {
    color: var(--white);
    font-weight: 700;
}

.dashboard-grid .video-info p {
    color: var(--dash-text-dim);
}

.dashboard-grid .video-badge {
    left: 10px;
    right: auto;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255,255,255,0.1);
}

/* Dashboard Footer */
.dashboard-footer {
    height: 80px;
    padding: 0 3rem;
    background: var(--dash-header);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.stats-group {
    display: flex;
    gap: 3rem;
    align-items: center;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.stat-label {
    font-size: 0.65rem;
    font-weight: 800;
    color: var(--dash-text-dim);
    letter-spacing: 1px;
}

.stat-value {
    font-size: 0.9rem;
    font-weight: 800;
}

.stat-value small {
    color: var(--magenta);
    font-size: 0.7rem;
    margin-left: 0.5rem;
}

.progress-bar {
    width: 150px;
    height: 4px;
    background: rgba(255,255,255,0.1);
    border-radius: 2px;
    overflow: hidden;
    margin: 0.2rem 0;
}

.progress {
    height: 100%;
    background: var(--magenta);
    box-shadow: 0 0 8px var(--magenta-glow);
}

.protocol-badge {
    font-size: 0.75rem;
    color: var(--dash-text-dim);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Floating Action Button */
.fab-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--magenta);
    color: var(--white);
    border: none;
    border-radius: 12px;
    font-size: 2rem;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 10px 20px var(--magenta-glow);
    transition: all 0.3s ease;
    z-index: 100;
}

.fab-btn:hover {
    transform: rotate(90deg) scale(1.1);
}

/* Vertical Modal Layout */
.modal-content-vertical {
    width: 95%;
    max-width: 1100px;
    height: 90vh;
    background: var(--dash-bg);
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-layout {
    display: flex;
    height: 100%;
    width: 100%;
}

.modal-video-container {
    flex: 1.2;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.live-tag {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--magenta);
    color: var(--white);
    padding: 0.4rem 1rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 1px;
    z-index: 5;
}

#modal-video {
    height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.modal-details {
    flex: 1;
    padding: 3rem;
    background: var(--dash-sidebar);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    overflow-y: auto;
}

.capsule-label {
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--magenta);
    letter-spacing: 2px;
}

.data-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.data-box, .status-box {
    background: var(--dash-card);
    padding: 1rem;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.05);
}

.data-box .label, .status-box .label {
    display: block;
    font-size: 0.6rem;
    color: var(--dash-text-dim);
    margin-bottom: 0.3rem;
}

.data-box .value, .status-box .value {
    font-weight: 800;
    font-size: 0.9rem;
}

.archive-section h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.archive-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--dash-card);
    padding: 1rem;
    border-radius: 12px;
    margin-bottom: 0.8rem;
}

.item-icon {
    width: 40px;
    height: 40px;
    background: #000;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.item-info .item-title {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
}

.item-info .item-meta {
    font-size: 0.7rem;
    color: var(--dash-text-dim);
}

.full-width {
    width: 100%;
}

