@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Tamil:wght@300;400;600;700;800&family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary: #75080c;
    --primary-light: #9c151b;
    --primary-rgb: 117, 8, 12;
    --secondary: #ffd21f;
    --secondary-dark: #dcae00;
    --secondary-rgb: 255, 210, 31;
    --dark: #121212;
    --light-bg: #fffbf2;
    --card-bg: #ffffff;
    --text: #2c2c2c;
    --text-muted: #6b6b6b;
    --border: #f0e6cf;
    --success: #198754;
    --info: #0d6efd;
    --warning: #ffc107;
    --danger: #dc3545;
    --radius: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow: 0 10px 30px rgba(117, 8, 12, 0.05), 0 1px 3px rgba(0, 0, 0, 0.02);
    --shadow-hover: 0 20px 40px rgba(117, 8, 12, 0.1), 0 1px 10px rgba(0, 0, 0, 0.05);
}

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

body {
    font-family: 'Outfit', 'Noto Sans Tamil', sans-serif;
    background: linear-gradient(135deg, var(--light-bg) 0%, #ffffff 100%);
    color: var(--text);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    line-height: 1.6;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: rgba(var(--primary-rgb), 0.05);
}
::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary-light);
}

/* Topbar Header */
.topbar {
    background: linear-gradient(135deg, var(--primary) 0%, #460406 100%);
    color: #ffffff;
    padding: 15px 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    border-bottom: 4px solid var(--secondary);
    position: sticky;
    top: 0;
    z-index: 100;
}

.brand {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: #ffffff;
}

.logo-container {
    width: 60px;
    height: 60px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-svg {
    width: 100%;
    height: 100%;
}

.brand-text h1 {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 0.5px;
    line-height: 1.2;
    background: linear-gradient(to right, #ffffff, #ffeeb8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.brand-text p {
    font-size: 12px;
    color: var(--secondary);
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-top: 2px;
}

nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

nav a {
    color: #ffffff;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
    border: 1px solid transparent;
}

nav a:hover, nav a.active {
    background: rgba(255, 255, 255, 0.1);
    color: var(--secondary);
    border: 1px solid rgba(var(--secondary-rgb), 0.2);
}

/* WhatsApp Nav Link - Circular Animated Button */
nav a.whatsapp-btn {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: #ffffff !important;
    border: 1px solid rgba(37, 211, 102, 0.4);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin-right: 12px; /* Right spacing breathing room */
    transition: var(--transition);
    animation: whatsappPulse 2s infinite;
}

nav a.whatsapp-btn:hover {
    background: linear-gradient(135deg, #128c7e 0%, #25d366 100%);
    transform: translateY(-2px) scale(1.1);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.5);
    border-color: rgba(37, 211, 102, 0.6);
}

nav a.whatsapp-btn svg {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-right: 0 !important;
}

nav a.whatsapp-btn:hover svg {
    transform: rotate(15deg) scale(1.15);
}

@keyframes whatsappPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Main Layout Container */
.container {
    width: min(1200px, 94%);
    margin: 40px auto;
    flex: 1;
}

/* Hero Section */
.hero {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 30px;
    align-items: center;
    margin-bottom: 40px;
}

.hero-welcome {
    padding-right: 20px;
}

.hero-welcome h2 {
    font-size: 42px;
    line-height: 1.15;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 20px;
}

.hero-welcome p {
    color: var(--text-muted);
    font-size: 18px;
    margin-bottom: 30px;
    font-weight: 400;
}

/* Cards & Styling */
.card {
    background: var(--card-bg);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary);
    opacity: 0;
    transition: var(--transition);
}

.card.highlight::before {
    opacity: 1;
}

.badge {
    display: inline-block;
    background: rgba(var(--secondary-rgb), 0.15);
    color: #8c6a00;
    padding: 6px 14px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    border: 1px solid rgba(var(--secondary-rgb), 0.3);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: #ffffff;
    padding: 12px 26px;
    border-radius: 12px;
    border: none;
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(117, 8, 12, 0.2);
    gap: 8px;
}

.btn:hover {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    box-shadow: 0 6px 20px rgba(117, 8, 12, 0.3);
    transform: translateY(-1px);
}

.btn:active {
    transform: translateY(0);
}

.btn.secondary {
    background: #ffffff;
    color: var(--primary);
    border: 2px solid var(--primary);
    box-shadow: none;
}

.btn.secondary:hover {
    background: rgba(var(--primary-rgb), 0.05);
    color: var(--primary-light);
}

.btn.accent {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
    color: var(--dark);
    box-shadow: 0 4px 15px rgba(255, 210, 31, 0.25);
    font-weight: 800;
}

.btn.accent:hover {
    background: linear-gradient(135deg, var(--secondary-dark) 0%, var(--secondary) 100%);
    box-shadow: 0 6px 20px rgba(255, 210, 31, 0.35);
}

.btn.danger {
    background: var(--danger);
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.2);
}

.btn.danger:hover {
    background: #b21f2d;
    box-shadow: 0 6px 20px rgba(220, 53, 69, 0.3);
}

.btn.sm {
    padding: 6px 12px;
    font-size: 12px;
    border-radius: 6px;
}

/* Statistics Grid */
.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    text-align: center;
    background: var(--card-bg);
    border-radius: var(--radius);
    padding: 24px 15px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 38px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 5px;
    line-height: 1;
}

.stat-card.pending .stat-number { color: #b27a00; }
.stat-card.progress .stat-number { color: var(--info); }
.stat-card.resolved .stat-number { color: var(--success); }
.stat-card.rejected .stat-number { color: var(--danger); }

.stat-label {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Forms & Fields */
.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.field.full {
    grid-column: 1 / -1;
}

label {
    font-weight: 600;
    font-size: 14px;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 5px;
}

input, select, textarea {
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: 10px;
    font-size: 15px;
    font-family: inherit;
    color: var(--text);
    background: #ffffff;
    transition: var(--transition);
    outline: none;
}

select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg fill='%2375080c' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 20px;
    padding-right: 40px !important;
    cursor: pointer;
}

select:focus {
    border-color: var(--primary-light);
    box-shadow: 0 0 0 4px rgba(var(--primary-rgb), 0.1);
    background-color: #fffdf9;
    background-image: url("data:image/svg+xml;utf8,<svg fill='%239c151b' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 14l5-5 5 5z'/></svg>");
}

input:focus, textarea:focus {
    border-color: var(--primary-light);
    box-shadow: 0 0 0 4px rgba(var(--primary-rgb), 0.1);
    background: #fffdf9;
}

textarea {
    min-height: 120px;
    resize: vertical;
}

/* Alerts & Notifications */
.alert {
    padding: 16px 20px;
    border-radius: 12px;
    margin-bottom: 24px;
    font-weight: 600;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid transparent;
}

.alert.success {
    background-color: #e8f5e9;
    color: #1b5e20;
    border-color: #c8e6c9;
}

.alert.error {
    background-color: #ffebee;
    color: #c62828;
    border-color: #ffcdd2;
}

.tracking-highlight {
    background: var(--secondary);
    color: var(--dark);
    padding: 4px 10px;
    border-radius: 6px;
    font-weight: 800;
    font-family: monospace;
    letter-spacing: 0.5px;
    font-size: 16px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Data Tables */
.table-wrap {
    overflow-x: auto;
    background: var(--card-bg);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

th, td {
    padding: 16px 20px;
    font-size: 14px;
}

th {
    background: rgba(var(--primary-rgb), 0.03);
    color: var(--primary);
    font-weight: 700;
    border-bottom: 2px solid var(--border);
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.5px;
}

tr {
    border-bottom: 1px solid rgba(var(--primary-rgb), 0.05);
    transition: var(--transition);
}

tr:hover {
    background: rgba(var(--secondary-rgb), 0.04);
}

tr:last-child {
    border-bottom: none;
}

/* Status Pill Badges */
.status {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status.Pending {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeeba;
}

.status.InProgress {
    background: #cce5ff;
    color: #004085;
    border: 1px solid #b8daff;
}

.status.Resolved {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.status.Rejected {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Timeline Layout */
.timeline {
    position: relative;
    max-width: 600px;
    margin: 40px auto;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 5px;
    bottom: 5px;
    width: 3px;
    background: var(--border);
}

.timeline-item {
    position: relative;
    margin-bottom: 30px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-marker {
    position: absolute;
    left: -35px;
    top: 4px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--border);
    border: 4px solid var(--card-bg);
    box-shadow: 0 0 0 3px var(--border);
    transition: var(--transition);
}

.timeline-item.active .timeline-marker {
    background: var(--primary);
    box-shadow: 0 0 0 3px var(--primary);
}

.timeline-item.completed .timeline-marker {
    background: var(--success);
    box-shadow: 0 0 0 3px var(--success);
}

.timeline-content {
    background: var(--card-bg);
    padding: 16px 20px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.timeline-title {
    font-weight: 700;
    font-size: 16px;
    color: var(--primary);
    margin-bottom: 4px;
}

.timeline-date {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 8px;
}

.timeline-desc {
    font-size: 14px;
    color: var(--text);
}

/* Admin Dashboard Layout */
.admin-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 30px;
    min-height: 80vh;
}

.admin-sidebar {
    background: linear-gradient(180deg, var(--primary) 0%, #3d0204 100%);
    border-radius: var(--radius);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    box-shadow: var(--shadow);
    color: #ffffff;
    align-self: start;
    border-bottom: 4px solid var(--secondary);
}

.admin-sidebar h3 {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--secondary);
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: 600;
    border-radius: 8px;
    transition: var(--transition);
    background: transparent;
    border: none;
    text-align: left;
    width: 100%;
    cursor: pointer;
    font-family: inherit;
    font-size: 14px;
}

.sidebar-btn:hover, .sidebar-btn.active {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: inset 3px 0 0 var(--secondary);
}

.admin-main {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.adminbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.adminbar h2 {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary);
}

/* Admin Tabs Panels */
.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.4s ease-out;
}

/* Filter Bar */
.filter-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    background: var(--card-bg);
    padding: 15px 20px;
    border-radius: 12px;
    border: 1px solid var(--border);
    margin-bottom: 10px;
    box-shadow: var(--shadow);
}

.filter-bar a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 14px;
    padding: 6px 14px;
    border-radius: 6px;
    transition: var(--transition);
    background: rgba(var(--primary-rgb), 0.02);
    border: 1px solid var(--border);
}

.filter-bar a:hover, .filter-bar a.active {
    color: var(--primary);
    background: rgba(var(--primary-rgb), 0.08);
    border-color: rgba(var(--primary-rgb), 0.2);
}

.filter-bar .search-box {
    margin-left: auto;
    display: flex;
    gap: 8px;
}

.filter-bar .search-box input {
    padding: 6px 12px;
    font-size: 13px;
    border-radius: 6px;
    width: 200px;
}

/* Footer style */
footer {
    background: #171717;
    color: #a0a0a0;
    text-align: center;
    padding: 30px 20px;
    border-top: 4px solid var(--primary);
    margin-top: auto;
    font-size: 14px;
}

footer p {
    margin-bottom: 8px;
}

footer a {
    color: var(--secondary);
    text-decoration: none;
    font-weight: 600;
}

footer a:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* UI details view styling */
.detail-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 30px;
}

.detail-card {
    padding: 24px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px dashed var(--border);
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-label {
    font-weight: 700;
    color: var(--primary);
}

.detail-value {
    color: var(--text);
    max-width: 60%;
    text-align: right;
    word-break: break-all;
}

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

/* Portfolio & Showcase Styles */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 25px;
}
.portfolio-card {
    background: var(--card-bg);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
}
.portfolio-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-5px);
}
.portfolio-img {
    height: 160px;
    background: linear-gradient(135deg, var(--primary) 0%, #3d0204 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    font-size: 44px;
    position: relative;
    border-bottom: 3px solid var(--secondary);
}
.portfolio-body {
    padding: 20px;
}
.portfolio-tag {
    display: inline-block;
    background: rgba(25, 135, 84, 0.1);
    color: var(--success);
    padding: 4px 10px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 11px;
    text-transform: uppercase;
    margin-bottom: 10px;
}
.portfolio-title {
    font-size: 18px;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 8px;
}
.portfolio-desc {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.5;
}

/* About Grid */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

/* Responsive Media Queries */
@media (max-width: 900px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-welcome {
        padding-right: 0;
    }
    
    .hero-welcome h2 {
        font-size: 32px;
    }
    
    .admin-layout {
        grid-template-columns: 1fr;
    }
    
    .admin-sidebar {
        flex-direction: row;
        overflow-x: auto;
        padding: 12px;
        white-space: nowrap;
    }
    
    .admin-sidebar h3 {
        display: none;
    }
    
    .sidebar-btn {
        padding: 10px 14px;
        font-size: 13px;
        width: auto;
    }
    
    .form-grid, .detail-grid, .about-grid {
        grid-template-columns: 1fr;
    }
    
    .topbar {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    nav {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* Premium Media Attachments UI */
.media-card {
    background: #fafafa;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    margin-top: 15px;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.02);
}
.media-tabs {
    display: flex;
    border-bottom: 2px solid var(--border);
    gap: 5px;
    margin-bottom: 20px;
    overflow-x: auto;
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}
.media-tabs::-webkit-scrollbar {
    display: none; /* Hide scrollbar for Chrome, Safari, Opera */
}
.media-tab-btn {
    background: transparent;
    border: none;
    padding: 10px 20px;
    font-weight: 700;
    font-size: 14px;
    color: var(--text-muted);
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: var(--transition);
    white-space: nowrap;
}
.media-tab-btn:hover {
    color: var(--primary);
}
.media-tab-btn.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

/* Responsive Media Attachments styling for narrow screens */
@media (max-width: 620px) {
    .tab-lang-en {
        display: none;
    }
    .media-tab-btn {
        padding: 8px 12px;
        font-size: 13px;
    }
    .media-card {
        padding: 15px;
    }
}
.media-panel {
    display: none;
    animation: fadeIn 0.3s ease-out;
}
.media-panel.active {
    display: block;
}
.media-upload-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}
.media-upload-box {
    background: #ffffff;
    border: 2px dashed var(--border);
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow);
}
.media-upload-box:hover {
    border-color: var(--primary-light);
    background: rgba(117, 8, 12, 0.02);
    transform: translateY(-1px);
}
.media-upload-box input[type="file"] {
    display: none;
}
.media-upload-label {
    display: block;
    cursor: pointer;
}
.media-icon {
    font-size: 24px;
    margin-bottom: 8px;
    display: block;
}
.recorder-container {
    text-align: center;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 30px 20px;
    box-shadow: var(--shadow);
}
.rec-btn {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: none;
    background: var(--primary);
    color: white;
    font-size: 24px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(117, 8, 12, 0.3);
    transition: var(--transition);
}
.rec-btn:hover {
    transform: scale(1.05);
}
.rec-btn.recording {
    background: var(--danger);
    animation: recPulse 1.5s infinite;
    box-shadow: 0 6px 20px rgba(220, 53, 69, 0.4);
}
.rec-timer {
    font-size: 22px;
    font-weight: 800;
    font-family: monospace;
    color: var(--primary);
    margin: 15px 0;
}
.video-preview-window {
    width: 100%;
    max-width: 480px;
    height: 270px;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    margin: 0 auto 15px;
    border: 2px solid var(--border);
    box-shadow: var(--shadow);
}
@keyframes recPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.4);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(220, 53, 69, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(220, 53, 69, 0);
    }
}
