/* ============================================
   CloudFile CDN — Ultra Premium Design System
   ============================================ */

/* --- Design Tokens --- */
:root {
    --primary: #6366f1;
    --primary-hover: #4f46e5;
    --primary-glow: rgba(99, 102, 241, 0.35);
    --secondary: #8b5cf6;
    --accent: #06b6d4;
    --accent-2: #22d3ee;
    --success: #10b981;
    --danger: #ef4444;
    --warning: #f59e0b;
    --pink: #ec4899;

    /* Dark Mode (Default) */
    --bg-base: #050508;
    --bg-raised: #0c0c14;
    --bg-overlay: rgba(12, 12, 20, 0.8);
    --bg-card: rgba(18, 18, 30, 0.6);
    --bg-input: rgba(255, 255, 255, 0.05);
    --bg-input-hover: rgba(255, 255, 255, 0.08);
    --border-subtle: rgba(255, 255, 255, 0.06);
    --border-medium: rgba(255, 255, 255, 0.1);
    --border-glow: rgba(99, 102, 241, 0.3);
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --text-tertiary: #64748b;
    --shadow-card: 0 4px 40px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 80px -20px var(--primary-glow);
    --shadow-hover: 0 20px 60px -15px rgba(0, 0, 0, 0.5);
}

/* --- Light Mode Tokens --- */
body.light-mode {
    --bg-base: #f5f7fa;
    --bg-raised: #ffffff;
    --bg-overlay: rgba(255, 255, 255, 0.88);
    --bg-card: rgba(255, 255, 255, 0.7);
    --bg-input: rgba(0, 0, 0, 0.03);
    --bg-input-hover: rgba(0, 0, 0, 0.06);
    --border-subtle: rgba(0, 0, 0, 0.05);
    --border-medium: rgba(0, 0, 0, 0.08);
    --border-glow: rgba(99, 102, 241, 0.2);
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-tertiary: #94a3b8;
    --shadow-card: 0 4px 40px rgba(0, 0, 0, 0.04);
    --shadow-glow: 0 0 80px -20px rgba(99, 102, 241, 0.1);
    --shadow-hover: 0 20px 60px -15px rgba(0, 0, 0, 0.08);
}

/* --- Global --- */
*, *::before, *::after { box-sizing: border-box; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-base);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    transition: background-color 0.5s ease, color 0.5s ease;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* --- Animated Background Mesh --- */
.bg-mesh {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

.bg-mesh .orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.4;
    animation: orbFloat 20s ease-in-out infinite;
}

.bg-mesh .orb-1 {
    width: 600px; height: 600px;
    top: -15%; left: -10%;
    background: var(--primary);
    opacity: 0.12;
    animation-delay: 0s;
}

.bg-mesh .orb-2 {
    width: 500px; height: 500px;
    bottom: -20%; right: -10%;
    background: var(--secondary);
    opacity: 0.1;
    animation-delay: -7s;
}

.bg-mesh .orb-3 {
    width: 350px; height: 350px;
    top: 40%; left: 50%;
    background: var(--accent);
    opacity: 0.06;
    animation-delay: -14s;
}

body.light-mode .bg-mesh .orb { opacity: 0.06; }
body.light-mode .bg-mesh .orb-1 { opacity: 0.05; }

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -40px) scale(1.05); }
    50% { transform: translate(-20px, 20px) scale(0.95); }
    75% { transform: translate(15px, 30px) scale(1.02); }
}

/* --- Grid pattern overlay --- */
.grid-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: -1;
    pointer-events: none;
    background-image: 
        linear-gradient(var(--border-subtle) 1px, transparent 1px),
        linear-gradient(90deg, var(--border-subtle) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
    opacity: 0.4;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--text-primary);
    line-height: 1.15;
}

.text-muted { color: var(--text-secondary) !important; }
.text-tertiary { color: var(--text-tertiary) !important; }

.text-gradient {
    background: linear-gradient(135deg, var(--primary), var(--accent-2), var(--pink));
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 6s ease infinite;
}

.text-gradient-subtle {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* --- Glass Panel --- */
.glass-panel {
    background: var(--bg-card);
    backdrop-filter: blur(32px) saturate(180%);
    -webkit-backdrop-filter: blur(32px) saturate(180%);
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    box-shadow: var(--shadow-card);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.glass-panel-hover:hover {
    border-color: var(--border-glow);
    box-shadow: var(--shadow-glow);
    transform: translateY(-4px);
}

/* --- Navbar --- */
.navbar-glass {
    background: var(--bg-overlay) !important;
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-bottom: 1px solid var(--border-subtle);
    padding: 0.8rem 0;
    transition: all 0.4s ease;
}

.navbar-brand {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-primary) !important;
    letter-spacing: -0.03em;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.brand-icon {
    width: 36px; height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff !important;
    font-size: 1.1rem;
}

.nav-link {
    color: var(--text-secondary) !important;
    font-weight: 500;
    font-size: 0.88rem;
    padding: 0.5rem 0.9rem !important;
    border-radius: 10px;
    transition: all 0.25s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--text-primary) !important;
    background: var(--bg-input);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 3px;
    background: var(--primary);
    border-radius: 100px;
}

.navbar-toggler {
    border: none !important;
    padding: 6px 10px;
}

.navbar-toggler:focus { box-shadow: none !important; }

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(148,163,184,1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        background: var(--bg-raised);
        border-radius: 16px;
        padding: 1rem;
        margin-top: 0.75rem;
        border: 1px solid var(--border-subtle);
        box-shadow: var(--shadow-card);
    }
}

/* --- Buttons --- */
.btn-primary-custom {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border: none;
    color: #fff;
    border-radius: 12px;
    padding: 12px 28px;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.01em;
    transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px var(--primary-glow);
}

.btn-primary-custom::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 200%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.12), transparent);
    transition: left 0.6s ease;
}

.btn-primary-custom:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px var(--primary-glow);
    color: #fff;
}

.btn-primary-custom:hover::before { left: 100%; }

.btn-primary-custom:active {
    transform: translateY(0);
    box-shadow: 0 4px 15px var(--primary-glow);
}

.btn-rose-custom {
    background: linear-gradient(135deg, #f43f5e, #be123c); /* rose-500 to rose-700 red-rose mixed */
    border: none;
    color: #fff !important;
    border-radius: 12px;
    padding: 12px 28px;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.01em;
    transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(244, 63, 94, 0.3);
}

.btn-rose-custom:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(244, 63, 94, 0.45);
    color: #fff !important;
}

.btn-rose-custom:active {
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(244, 63, 94, 0.3);
}

.btn-outline-light {
    color: var(--text-secondary);
    border-color: var(--border-medium);
    border-radius: 12px;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 12px 28px;
    transition: all 0.3s ease;
    background: transparent;
}

.btn-outline-light:hover {
    background: var(--bg-input);
    color: var(--text-primary);
    border-color: var(--border-medium);
    transform: translateY(-2px);
}

/* --- Pill Badge --- */
.badge-glow {
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary);
    border: 1px solid rgba(99, 102, 241, 0.2);
    padding: 0.5rem 1.2rem;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.82rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    backdrop-filter: blur(10px);
}

.badge-glow i { font-size: 0.9rem; }

/* --- Form Controls --- */
.form-control, .input-group-text {
    background: var(--bg-input) !important;
    border: 1px solid var(--border-subtle) !important;
    color: var(--text-primary) !important;
    border-radius: 12px;
    padding: 0.7rem 1rem;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.form-control:hover, .input-group-text:hover {
    background: var(--bg-input-hover) !important;
}

.input-group-text {
    border-right: none !important;
    color: var(--text-tertiary) !important;
}

.input-group .form-control { border-left: none !important; }

.form-control:focus {
    background: var(--bg-input-hover) !important;
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.12), 0 1px 2px rgba(0,0,0,0.1) !important;
    color: var(--text-primary) !important;
}

.form-control::placeholder { color: var(--text-tertiary) !important; }

.form-label {
    color: var(--text-secondary) !important;
    font-weight: 600;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.5rem;
}

.form-check-input {
    background-color: var(--bg-input);
    border-color: var(--border-medium);
    width: 1.1em; height: 1.1em;
}

.form-check-input:checked {
    background-color: var(--primary);
    border-color: var(--primary);
}

.form-check-input:focus { box-shadow: 0 0 0 3px rgba(99,102,241,0.15); }

.form-check-label { color: var(--text-secondary); }

.form-switch .form-check-input {
    width: 2.5em; height: 1.3em;
    border-radius: 100px;
}

/* Fix autofill */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px var(--bg-raised) inset !important;
    -webkit-text-fill-color: var(--text-primary) !important;
    transition: background-color 5000s ease-in-out 0s;
    caret-color: var(--text-primary);
}

/* --- Animations --- */
.fade-in-up {
    opacity: 0;
    transform: translateY(28px);
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeInUp {
    to { opacity: 1; transform: translateY(0); }
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-28px);
    animation: fadeInLeft 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeInLeft {
    to { opacity: 1; transform: translateX(0); }
}

.scale-in {
    opacity: 0;
    transform: scale(0.92);
    animation: scaleIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes scaleIn {
    to { opacity: 1; transform: scale(1); }
}

.float-animation { animation: float 8s ease-in-out infinite; }
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-16px); }
}

.float-animation-slow { animation: float 12s ease-in-out infinite; }

/* Parallax tilt on hover */
.tilt-hover {
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    transform-style: preserve-3d;
    perspective: 1000px;
}

.tilt-hover:hover {
    transform: perspective(1000px) rotateX(2deg) rotateY(-2deg) translateY(-6px);
}

/* Stagger children */
.stagger > *:nth-child(1) { animation-delay: 0.05s; }
.stagger > *:nth-child(2) { animation-delay: 0.1s; }
.stagger > *:nth-child(3) { animation-delay: 0.15s; }
.stagger > *:nth-child(4) { animation-delay: 0.2s; }
.stagger > *:nth-child(5) { animation-delay: 0.25s; }
.stagger > *:nth-child(6) { animation-delay: 0.3s; }

/* Shimmer loading effect */
.shimmer {
    background: linear-gradient(90deg, var(--bg-input) 25%, var(--bg-input-hover) 50%, var(--bg-input) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* --- Theme Toggle --- */
#theme-toggle {
    width: 42px; height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    padding: 0 !important;
    color: var(--text-secondary) !important;
    position: relative;
    overflow: hidden;
}

#theme-toggle::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 12px;
    background: var(--bg-input);
    opacity: 0;
    transition: opacity 0.3s ease;
}

#theme-toggle:hover::before { opacity: 1; }
#theme-toggle:hover { color: var(--text-primary) !important; }

#theme-toggle i {
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: inline-block;
    font-size: 1.15rem;
    position: relative;
    z-index: 1;
}

#theme-toggle:hover i { transform: rotate(25deg) scale(1.15); }

/* --- Upload Area --- */
.upload-area {
    border: 2px dashed var(--border-medium) !important;
    border-radius: 18px !important;
    background: var(--bg-input);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.upload-area::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(99,102,241,0.06) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.upload-area:hover::before { opacity: 1; }

.upload-area:hover {
    border-color: var(--primary) !important;
    background: rgba(99, 102, 241, 0.03);
    transform: translateY(-2px);
}

.upload-area.highlight {
    border-color: var(--primary) !important;
    background: rgba(99, 102, 241, 0.06) !important;
    animation: pulseGlow 2s ease infinite;
}

@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.25); }
    50% { box-shadow: 0 0 0 14px rgba(99, 102, 241, 0); }
}

/* --- Tables --- */
.custom-table { background: transparent !important; }

.custom-table thead th {
    background: transparent !important;
    color: var(--text-tertiary) !important;
    font-weight: 600;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-bottom: 1px solid var(--border-subtle) !important;
    padding: 0.85rem 0.75rem;
}

.custom-table tbody tr { transition: all 0.25s ease; }
.custom-table tbody tr:hover { background: var(--bg-input) !important; }

.custom-table tbody td {
    background: transparent !important;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-subtle) !important;
    padding: 0.85rem 0.75rem;
    vertical-align: middle;
}

/* --- File Icon Badge --- */
.file-icon-badge {
    width: 42px; height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 1.15rem;
    transition: transform 0.2s ease;
}

.file-icon-badge:hover { transform: scale(1.1); }

/* --- Stat Cards --- */
.stat-card {
    padding: 1.35rem;
    border-radius: 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat-card:hover {
    border-color: var(--border-glow);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

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

.stat-value {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.03em;
}

.stat-label {
    font-size: 0.72rem;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 600;
}

.stat-icon {
    width: 40px; height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

/* --- Progress Bar --- */
.progress {
    background: var(--bg-input);
    border-radius: 100px;
    height: 6px;
    overflow: hidden;
}

.progress-bar {
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 100px;
    transition: width 0.4s ease;
}

/* --- Alerts --- */
.alert {
    border-radius: 14px;
    border: none;
    font-size: 0.88rem;
}

/* --- Feature Cards --- */
.feature-card {
    text-align: center;
    padding: 2.25rem 1.75rem;
    border-radius: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-glow);
    box-shadow: var(--shadow-glow);
}

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

.feature-icon {
    width: 60px; height: 60px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon { transform: scale(1.1) rotate(-3deg); }

/* --- Metric Counters --- */
.metric-block {
    text-align: center;
    padding: 1.5rem;
}

.metric-value {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1;
}

.metric-label {
    font-size: 0.82rem;
    color: var(--text-tertiary);
    margin-top: 0.5rem;
    font-weight: 500;
}

/* --- Footer --- */
footer.glass-panel {
    border-radius: 0 !important;
    border-top: 1px solid var(--border-subtle) !important;
    background: var(--bg-overlay);
}

/* --- Focus --- */
.btn-link:focus, .btn-link:active { box-shadow: none !important; outline: none !important; }

/* --- Toast --- */
.toast-custom {
    position: fixed;
    bottom: 2rem; right: 2rem;
    background: var(--bg-raised);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 1rem 1.5rem;
    box-shadow: var(--shadow-card);
    z-index: 9999;
    animation: slideInRight 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.88rem;
    max-width: 380px;
    backdrop-filter: blur(20px);
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(120px) scale(0.95); }
    to { opacity: 1; transform: translateX(0) scale(1); }
}

/* --- Divider --- */
.divider-gradient {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-medium), transparent);
    border: none;
    margin: 0;
}

/* --- Scrollbar --- */
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border-medium); border-radius: 100px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-tertiary); }

/* --- Selection --- */
::selection { background: rgba(99, 102, 241, 0.25); color: var(--text-primary); }

/* --- Search Bar --- */
.search-bar-mobile { width: 100%; max-width: 100%; }
@media (min-width: 768px) { .search-bar-mobile { max-width: 260px; } }

.table-responsive {
    border-radius: 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* --- Responsive --- */
@media (max-width: 767.98px) {
    .display-3 { font-size: 2.1rem !important; }
    .display-5 { font-size: 1.6rem !important; }
    .lead { font-size: 0.95rem !important; }
    .glass-panel { border-radius: 16px; }
    .stat-value { font-size: 1.4rem; }
    .metric-value { font-size: 2rem; }
    .feature-card { padding: 1.75rem 1.25rem; }
}

/* --- Action button styles (dashboard) --- */
.action-btn {
    width: 34px; height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    border: none;
    background: transparent;
    transition: all 0.25s ease;
    font-size: 0.95rem;
}

.action-btn:hover {
    background: var(--bg-input);
    transform: scale(1.1);
}

/* --- Glow dot indicator --- */
.glow-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    display: inline-block;
    animation: dotPulse 2s ease infinite;
}

@keyframes dotPulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 currentColor; }
    50% { opacity: 0.7; box-shadow: 0 0 0 4px transparent; }
}
