/* Modern Glassmorphism & Gradient UI for KACST Visual Pollution Platform */
:root {
    --primary: #667eea;
    --secondary: #764ba2;
    --accent: #ff6b6b;
    --green: #10b981;
    --blue: #2563eb;
    --purple: #a21caf;
    --gradient: linear-gradient(120deg, #667eea 0%, #764ba2 100%);
    --gradient-accent: linear-gradient(90deg, #43e97b 0%, #38f9d7 100%);
    --glass-bg: rgba(30, 34, 54, 0.55);
    --glass-blur: 18px;
    --modal-bg: rgba(30, 34, 54, 0.75);
    --shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.25);
    --font-main: 'Inter', 'Segoe UI', Arial, sans-serif;
    --text-primary: #ffffff;
    --text-secondary: #e0e7ff;
    --text-muted: #b3b3e6;
    --border-color: rgba(255, 255, 255, 0.12);
    --input-bg: rgba(255, 255, 255, 0.08);
    --input-border: rgba(255, 255, 255, 0.15);
    --input-focus: rgba(102, 126, 234, 0.3);
}

body {
    font-family: var(--font-main);
    background: linear-gradient(rgba(20, 20, 40, 0.7), rgba(20, 20, 40, 0.7)), url('./images/lBG_2.jpg') no-repeat center center fixed;
    background-size: cover;
    min-height: 100vh;
    color: #fff;
    margin: 0;
    transition: background 0.5s;
}

    body.modern-tickets-bg {
        background: linear-gradient(rgba(20, 20, 40, 0.8), rgba(20, 20, 40, 0.8)), url('./images/lBG_2.jpg') no-repeat center center fixed;
        background-size: cover;
        min-height: 100vh;
        font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
        color: #fff;
    }

.modern-tickets-container {
    margin: 3rem auto 2rem auto;
    max-width: 1200px;
    border-radius: 2rem;
    box-shadow: 0 12px 48px 0 rgba(31, 38, 135, 0.25), 0 1.5px 0 0 #38f9d7;
    padding: 2.5rem 2rem 2rem 2rem;
    background: rgba(40, 44, 70, 0.75);
    position: relative;
}

.modern-tickets-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    border-left: 6px solid #38f9d7;
    padding-left: 1.5rem;
    margin-bottom: 2.5rem;
    background: rgba(56, 249, 215, 0.04);
    border-radius: 1.2rem 1.2rem 0 0;
    box-shadow: 0 4px 24px 0 rgba(56, 249, 215, 0.08);
}

    .modern-tickets-header .header-icon {
        font-size: 2.5rem;
        color: #38f9d7;
        margin-right: 1.2rem;
        background: rgba(56, 249, 215, 0.10);
        border-radius: 1rem;
        width: 3.5rem;
        height: 3.5rem;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 2px 16px #38f9d733;
    }

    .modern-tickets-header .header-text h1 {
        font-size: 2.2rem;
        font-weight: 800;
        background: linear-gradient(90deg, #a5b4fc 0%, #38f9d7 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        margin-bottom: 0.3rem;
    }

.gradient-bar {
    height: 5px;
    width: 120px;
    background: linear-gradient(90deg, #43e97b 0%, #38f9d7 100%);
    border-radius: 3px;
    margin: 0.5rem 0 1rem 0;
}

.modern-tickets-controls {
    margin-bottom: 2.5rem;
    padding: 1.5rem 1rem;
    border-radius: 1.2rem;
    background: rgba(56, 249, 215, 0.07);
    box-shadow: 0 2px 16px 0 rgba(56, 249, 215, 0.08);
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    align-items: flex-end;
    justify-content: space-between;
}

.modern-tickets-filters {
    display: flex;
    gap: 1.2rem;
    flex-wrap: wrap;
    align-items: flex-end;
}

    .modern-tickets-filters .filter-group {
        display: flex;
        flex-direction: column;
        gap: 0.3rem;
        min-width: 140px;
    }

    .modern-tickets-filters label {
        color: #38f9d7;
        font-weight: 600;
        font-size: 1rem;
    }

    .modern-tickets-filters select,
    .modern-tickets-filters input[type="text"] {
        background: rgba(255,255,255,0.08);
        border: 1.5px solid rgba(56, 249, 215, 0.18);
        border-radius: 0.7rem;
        color: #fff;
        padding: 0.5rem 1rem;
        font-size: 1rem;
        outline: none;
        transition: border 0.2s;
    }

        .modern-tickets-filters select:focus,
        .modern-tickets-filters input[type="text"]:focus {
            border-color: #38f9d7;
        }

.modern-tickets-sort {
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.modern-tickets-table-container {
    margin-top: 1.5rem;
    border-radius: 1.2rem;
    box-shadow: 0 8px 32px 0 rgba(56, 249, 215, 0.10);
    border: 2px solid rgba(56, 249, 215, 0.13);
    overflow-x: auto;
    background: rgba(40, 44, 70, 0.85);
}

.modern-tickets-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 1.08rem;
    background: transparent;
}

    .modern-tickets-table th, .modern-tickets-table td {
        padding: 1.1rem 0.7rem;
        text-align: left;
    }

    .modern-tickets-table th {
        background: rgba(56, 249, 215, 0.10);
        color: #38f9d7;
        font-weight: 700;
        border-bottom: 2px solid #38f9d7;
    }

    .modern-tickets-table tbody tr {
        transition: background 0.18s, box-shadow 0.18s;
        border-radius: 0.7rem;
    }

        .modern-tickets-table tbody tr:hover {
            background: rgba(56, 249, 215, 0.08);
            box-shadow: 0 2px 12px #38f9d733;
        }

.ticket-actions .btn-icon {
    background: rgba(56, 249, 215, 0.10);
    border: none;
    border-radius: 0.7rem;
    color: #38f9d7;
    font-size: 1.1rem;
    margin: 0 0.2rem;
    padding: 0.5rem 0.7rem;
    transition: background 0.18s, color 0.18s, box-shadow 0.18s;
    cursor: pointer;
    box-shadow: 0 1px 4px #38f9d722;
}

    .ticket-actions .btn-icon:hover {
        background: linear-gradient(90deg, #43e97b 0%, #38f9d7 100%);
        color: #fff;
        box-shadow: 0 4px 16px #38f9d7aa;
    }

.no-tickets {
    text-align: center;
    padding: 3rem 1rem;
    color: #b3b3e6;
    background: rgba(56, 249, 215, 0.04);
    border-radius: 1.2rem;
    margin-top: 2rem;
    box-shadow: 0 2px 12px #38f9d722;
}

/* Modal floating effect for ticket details */
.ticket-modal {
    box-shadow: 0 16px 64px 0 rgba(56, 249, 215, 0.18), 0 2px 8px #38f9d733;
    border: 2px solid #38f9d7;
    background: rgba(40, 44, 70, 0.98);
    max-width: 700px;
    width: 95vw;
    padding: 2.5rem 2rem 2rem 2rem;
    border-radius: 1.5rem;
    position: relative;
    margin: 0 auto;
}

    .ticket-modal.close-btn {
        position: absolute;
        top: 1rem;
        right: 1rem;
        z-index: 2000;
        background: rgba(255,107,107,0.2);
        border: none;
        border-radius: 50%;
        width: 40px;
        height: 40px;
        color: #ff6b6b;
        font-size: 1.2rem;
        cursor: pointer;
        transition: background 0.2s;
        box-shadow: 0 2px 8px rgba(0,0,0,0.15);
        display: flex;
        align-items: center;
        justify-content: center;
    }

        .ticket-modal.close-btn:hover {
            background: #38f9d7;
            color: #fff;
        }

.ticket-details h2 {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(90deg, #a5b4fc 0%, #38f9d7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.7rem;
}

.ticket-details .ticket-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.2rem;
}

.ticket-details .ticket-meta {
    display: flex;
    gap: 0.7rem;
    align-items: center;
}

.ticket-details .ticket-info {
    margin-bottom: 1.2rem;
}

.ticket-details .info-item {
    margin-bottom: 0.7rem;
}

    .ticket-details .info-item strong {
        color: #38f9d7;
        font-weight: 700;
    }

.ticket-details .detection-info {
    background: rgba(56, 249, 215, 0.08);
    border: 1.5px solid rgba(56, 249, 215, 0.18);
    border-radius: 1rem;
    padding: 1rem 1.2rem;
    margin-bottom: 1.2rem;
}

.ticket-details .detected-elements {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
}

.ticket-details .detected-element {
    background: linear-gradient(90deg, #43e97b 0%, #38f9d7 100%);
    color: #fff;
    padding: 0.5rem 1.1rem;
    border-radius: 1.2rem;
    font-weight: 600;
    font-size: 1rem;
    box-shadow: 0 2px 8px #38f9d733;
}

.ticket-details .ticket-images {
    margin-top: 1.5rem;
}

    .ticket-details .ticket-images h3 {
        color: #38f9d7;
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }

.ticket-details .image-grid {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.ticket-details .image-item {
    flex: 1;
    min-width: 220px;
    text-align: center;
}

    .ticket-details .image-item img {
        max-width: 100%;
        border-radius: 1rem;
        box-shadow: 0 2px 12px #38f9d733;
        margin-bottom: 0.5rem;
    }

/* Glassmorphism Card */
.glass {
    background: var(--glass-bg);
    box-shadow: var(--shadow);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border-radius: 1.5rem;
    border: 1.5px solid rgba(255,255,255,0.12);
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 2.5rem;
    position: sticky;
    top: 0;
    z-index: 100;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 10;
}

.navbar-left {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.logo {
    height: 48px;
    width: 48px;
    border-radius: 12px;
    background: #fff;
    object-fit: contain;
}

.brand {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: #fff;
    margin-right: 0.5rem;
}

.brand-sub {
    font-size: 1.1rem;
    font-weight: 600;
    color: #b3b3e6;
    margin-left: 1.2rem;
}

.navbar-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-section {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

#ticketsIcon {
    background: rgba(102,126,234,0.2);
    border: 1px solid rgba(102,126,234,0.3);
    transition: all 0.2s;
}

    #ticketsIcon:hover {
        background: rgba(102,126,234,0.3);
        transform: scale(1.05);
    }

    #ticketsIcon.active {
        background: rgba(56,249,215,0.2);
        border-color: rgba(56,249,215,0.5);
        color: #38f9d7;
    }

/* Hero Section */
.hero-section {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.hero-glass {
    max-width: 700px;
    margin: 3rem auto 2rem auto;
    padding: 3rem 2.5rem 2.5rem 2.5rem;
    text-align: center;
    border-radius: 2rem;
    background: rgba(40, 44, 70, 0.65);
    box-shadow: 0 8px 40px 0 rgba(31, 38, 135, 0.25);
    position: relative;
}

.hero-icon {
    font-size: 2.8rem;
    color: #a5b4fc;
    background: rgba(102,126,234,0.12);
    border-radius: 1rem;
    width: 3.5rem;
    height: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.2rem auto;
    box-shadow: 0 2px 16px #2563eb33;
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 800;
    background: linear-gradient(90deg, #a5b4fc 0%, #38f9d7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.7rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #e0e7ff;
    margin-bottom: 2.2rem;
    font-weight: 500;
}

.hero-actions {
    display: flex;
    gap: 1.2rem;
    justify-content: center;
}

/* Buttons */

.btn {
    padding: 0.85rem 2.1rem;
    border: none;
    border-radius: 1.2rem;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.25s;
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 12px 0 rgba(102,126,234,0.10);
}

    .btn.gradient {
        background: linear-gradient(90deg, #43e97b 0%, #38f9d7 100%);
        color: #fff;
        box-shadow: 0 4px 20px #38f9d755;
    }

        .btn.gradient:hover {
            background: linear-gradient(90deg, #38f9d7 0%, #43e97b 100%);
            transform: translateY(-2px) scale(1.04);
            box-shadow: 0 8px 32px #38f9d7aa;
        }

    .btn.primary {
        background: var(--primary);
        color: #fff;
    }

        .btn.primary:hover {
            background: var(--secondary);
            color: #fff;
        }

    .btn.accent {
        background: var(--accent);
        color: #fff;
    }

        .btn.accent:hover {
            background: #ff3b3b;
        }

    .btn.glass {
        background: rgba(255,255,255,0.12);
        color: #fff;
        border: 1.5px solid rgba(255,255,255,0.18);
        backdrop-filter: blur(8px);
    }

        .btn.glass:hover {
            background: rgba(255,255,255,0.22);
            color: #fff;
            transform: scale(1.04);
        }

.icon-btn {
    background: rgba(255,255,255,0.10);
    border: none;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.3rem;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}

    .icon-btn:hover {
        background: rgba(255,255,255,0.18);
        transform: scale(1.08);
    }

/* Close Button */
.close-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    color: #fff;
    background: none;
    border Shorthand property for setting border width, style, and color. Learn more Don't show : none; font-size: 1.2rem;
}

    .close-btn:hover {
        background: rgba(255,107,107,0.3);
    }

/* Upload Section */
.upload-section {
    padding: 0 2rem;
}

.upload-area {
    background: rgba(255,255,255,0.10);
    border: 2.5px dashed #38f9d7;
    border-radius: 1.2rem;
    padding: 2.5rem 1.5rem 2.5rem 1.5rem;
    text-align: center;
    margin-bottom: 4rem;
    cursor: pointer;
    transition: border-color 0.3s, background 0.3s, box-shadow 0.2s;
    position: relative;
    box-shadow: 0 2px 12px #38f9d733;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

    .upload-area:hover, .upload-area.dragover {
        border-color: #43e97b;
        background: rgba(67,233,123,0.08);
        box-shadow: 0 4px 24px #43e97b33;
    }

.upload-icon {
    font-size: 2.8rem;
    color: #43e97b;
    margin-bottom: 1.1rem;
}

.upload-text {
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.3rem;
}

.upload-link {
    color: #38f9d7;
    text-decoration: underline;
    cursor: pointer;
    font-weight: 600;
}

.upload-support {
    font-size: 0.9rem;
    color: #b3b3e6;
    margin-top: 0.5rem;
}

/* Preview Container */
.preview-container {
    display: flex;
    gap: 2.5rem;
    justify-content: center;
    align-items: flex-start;
    margin: 2rem 0 1.5rem 0;
}

.image-container {
    background: transparent !important;
    box-shadow: none !important;
    border-radius: 1.5rem;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 340px;
    max-width: 420px;
    position: relative;
    border: none;
}

.preview-title {
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 1.1rem;
    letter-spacing: 0.2px;
    display: block;
    text-align: left;
    color: #10b981;
}

    .preview-title.blue {
        color: #38bdf8;
    }

    .preview-title.green {
        color: #10b981;
    }

.preview-img {
    width: 100%;
    max-width: 380px;
    max-height: 320px;
    border-radius: 1.2rem;
    object-fit: cover;
    box-shadow: none;
    margin-bottom: 0.5rem;
    background: #e5e7eb;
    border: none;
}

.media-type-icon {
    display: none;
}

.action-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.btn {
    font-size: 1.15rem;
    font-weight: 600;
    border-radius: 0.8rem;
    padding: 0.9rem 1.1rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    border: none;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

    .btn.gradient {
        background: linear-gradient(90deg, #43e97b 0%, #38f9d7 100%);
        color: #fff;
    }

    .btn.accent {
        background: #fb7185;
        color: #fff;
    }

    .btn.glass {
        background: #f3f4f6;
        color: #222;
    }

    .btn.gradient:hover, .btn.accent:hover {
        filter: brightness(0.95);
        box-shadow: 0 4px 24px rgba(56, 249, 215, 0.10);
    }

@media (max-width: 900px) {
    .preview-container {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }

    .image-container {
        min-width: 220px;
        max-width: 98vw;
    }

    .action-buttons {
        flex-direction: column;
        gap: 1rem;
    }
}

.preview-title .preview-icon {
    font-size: 1.3em;
    margin-right: 0.4em;
    color: #38f9d7;
    filter: drop-shadow(0 2px 8px #38f9d7aa);
}

.preview-title.green {
    color: #10b981;
}

.preview-title.blue {
    color: #2563eb;
}

.preview-img:hover {
    transform: scale(1.04) rotate(-1deg);
    box-shadow: 0 24px 64px rgba(102, 126, 234, 0.25), 0 8px 32px #38f9d733;
    border-color: #38f9d7;
}

.image-container::before {
    display: none !important;
}

/* Overlay icon for image/video */
.image-container .media-type-icon {
    position: absolute;
    top: 18px;
    right: 18px;
    font-size: 1.5em;
    color: #2563eb;
    background: rgba(255,255,255,0.18);
    border-radius: 50%;
    padding: 0.35em 0.45em;
    box-shadow: 0 2px 8px #2563eb33;
    z-index: 3;
    pointer-events: none;
    transition: background 0.2s;
}

.image-container:hover .media-type-icon {
    background: #38f9d7;
    color: #fff;
}

@keyframes fadeInScale {
    0% {
        opacity: 0;
        transform: scale(0.92);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.bounding-boxes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.detected-elements {
    background: rgba(255,255,255,0.10);
    border-radius: 1rem;
    padding: 1.5rem;
    margin-top: 1.5rem;
    box-shadow: 0 2px 12px rgba(102,126,234,0.15);
}

.element-badge {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    margin: 0.25rem;
    display: inline-block;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 2px 8px rgba(102,126,234,0.3);
}

/* Action Buttons */
.action-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
    flex-wrap: wrap;
}

/* Ticket Actions */
.ticket-actions {
    display: flex;
    gap: 0.8rem;
    margin-top: 1.2rem;
    flex-wrap: wrap;
}

    .ticket-actions .btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
        border-radius: 0.8rem;
        transition: all 0.2s;
    }

        .ticket-actions .btn:hover {
            transform: translateY(-1px);
            box-shadow: 0 4px 12px rgba(0,0,0,0.15);
        }

.btn.delete {
    background: #ef4444 !important;
    color: white !important;
}

    .btn.delete:hover {
        background: #dc2626 !important;
    }

.btn.print {
    background: #667eea !important;
    color: white !important;
}

    .btn.print:hover {
        background: #5a67d8 !important;
    }

/* Modal Styles */
.modal {
    /* Remove background image from here */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0,0,0,0.5);
    backdrop-filter: blur(8px);
    transition: background 0.4s;
}

.modal-content {
    position: relative;
    background: rgba(30, 34, 54, 0.85);
    border-radius: 1.2rem;
    overflow: visible;
    z-index: 1001;
}

    .modal-content::before {
        content: '';
        position: absolute;
        inset: 0;
        z-index: 0;
        background: url('./images/Screenshot 2025-07-10 172532.png') center center/cover no-repeat;
        opacity: 0.35;
        filter: blur(2px) brightness(0.7);
    }

    .modal-content > * {
        position: relative;
        z-index: 1;
    }

    .modal-content.bg-popup-image {
        /* Remove background from here, move to light mode only */
    }

        .modal-content.bg-popup-image::before {
            /* Remove overlay from here, move to light mode only */
        }

        .modal-content.bg-popup-image > * {
            /* Remove z-index from here, move to light mode only */
        }

body.light-mode .modal-content.bg-popup-image {
    background: url('./images/lBG_2.jpg') no-repeat center center;
    background-size: cover;
}

    body.light-mode .modal-content.bg-popup-image::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        right: 0;
        bottom: 0;
        background: rgba(30, 34, 54, 0.60);
        z-index: 0;
        border-radius: 1.5rem;
    }

    body.light-mode .modal-content.bg-popup-image > * {
        position: relative;
        z-index: 1;
    }

.video-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    z-index: 1;
    overflow: visible;
}

    .video-container video {
        width: 100%;
        border-radius: 0.7rem;
    }

/* Auth Modal */
.auth-modal {
    background: rgba(40, 44, 70, 0.95);
    border-radius: 1.5rem;
    padding: 2.5rem;
    max-width: 480px;
    width: 90%;
    position: relative;
    box-shadow: 0 8px 40px rgba(0,0,0,0.3);
}

.auth-header {
    margin-bottom: 2rem;
}

.auth-logo {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem auto;
    font-size: 1.5rem;
    color: #fff;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.3);
}

.auth-title {
    text-align: center;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    background: linear-gradient(90deg, #a5b4fc 0%, #38f9d7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.auth-subtitle {
    text-align: center;
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 0;
    font-weight: 400;
}

.auth-options {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    justify-content: center;
}

.auth-option-btn {
    flex: 1;
    max-width: 150px;
    padding: 0.8rem 1.2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

    .auth-option-btn.active {
        background: rgba(102, 126, 234, 0.2);
        border-color: rgba(102, 126, 234, 0.5);
        color: #a5b4fc;
        transform: scale(1.02);
    }

    .auth-option-btn i {
        font-size: 1.2rem;
    }

    .auth-option-btn span {
        font-size: 0.9rem;
        font-weight: 600;
    }

.auth-form {
    display: none;
    flex-direction: column;
    gap: 1.2rem;
}

    .auth-form .form-group {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }

    .auth-form input {
        padding: 1rem 1.2rem;
        border: 2px solid var(--input-border);
        border-radius: 0.8rem;
        background: var(--input-bg);
        color: var(--text-primary);
        font-size: 1rem;
        transition: all 0.3s ease;
        backdrop-filter: blur(8px);
    }

        .auth-form input:focus {
            outline: none;
            border-color: var(--input-focus);
            background: rgba(255, 255, 255, 0.12);
            box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
        }

        .auth-form input::placeholder {
            color: var(--text-muted);
        }

    .auth-form button {
        background: #2563eb;
        color: #fff;
        padding: 1rem;
        border: none;
        border-radius: 0.8rem;
        font-weight: 700;
        cursor: pointer;
        transition: background 0.2s;
    }

        .auth-form button:hover {
            background: #1d4ed8;
        }

/* Verification Form Styles */
.verification-info {
    text-align: center;
    margin-bottom: 2rem;
}

    .verification-info i {
        font-size: 3rem;
        color: #38f9d7;
        margin-bottom: 1rem;
        display: block;
    }

    .verification-info h3 {
        font-size: 1.5rem;
        font-weight: 700;
        color: var(--text-primary);
        margin-bottom: 0.5rem;
    }

    .verification-info p {
        color: var(--text-secondary);
        font-size: 0.95rem;
        line-height: 1.5;
    }

.verification-input {
    margin-bottom: 1.5rem;
}

    .verification-input input {
        text-align: center;
        font-size: 1.2rem;
        font-weight: 600;
        letter-spacing: 0.2rem;
        font-family: 'Courier New', monospace;
    }

.verification-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

    .verification-actions .btn {
        flex: 1;
        max-width: 140px;
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
    }

/* Password strength indicator */
.password-strength {
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

    .password-strength.weak {
        color: #ff6b6b;
    }

    .password-strength.medium {
        color: #ffa726;
    }

    .password-strength.strong {
        color: #38f9d7;
    }

/* Form validation styles */
.form-error {
    color: #ff6b6b;
    font-size: 0.85rem;
    margin-top: 0.3rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.form-success {
    color: #38f9d7;
    font-size: 0.85rem;
    margin-top: 0.3rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

@media (max-width: 900px) {
    .hero-glass {
        padding: 2rem 1rem;
    }

    .preview-container {
        flex-direction: column;
        align-items: center;
        gap: 1.2rem;
    }

    .preview-title {
        text-align: center;
        width: 100%;
    }

    .upload-section {
        padding: 0 1rem;
    }
}

@media (max-width: 600px) {
    .navbar {
        flex-direction: column;
        gap: 0.7rem;
        padding: 1rem 0.5rem;
    }

    .brand-sub {
        display: none;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-glass {
        padding: 1.2rem 0.5rem;
    }

    .modal-content {
        padding: 1.2rem 0.5rem;
    }
}



/* --- Ticket Form Modern Styles --- */
.ticket-form {
    max-width: 900px;
    margin: 2.5rem auto 2rem auto;
    background: rgba(40, 44, 70, 0.85);
    border-radius: 1.5rem;
    box-shadow: 0 8px 40px #2563eb22;
    padding: 2.5rem 2rem 2rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.form-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.form-section {
    flex: 1 1 320px;
    background: rgba(255,255,255,0.08);
    border-radius: 1.2rem;
    box-shadow: 0 2px 12px #2563eb11;
    padding: 2rem 1.5rem 1.5rem 1.5rem;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

    .form-section h3 {
        font-size: 1.25rem;
        font-weight: 800;
        color: #38f9d7;
        margin-bottom: 1.2rem;
        letter-spacing: 0.5px;
    }

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.2rem;
}

    .form-group label {
        font-weight: 700;
        color: #fff;
        font-size: 1.05rem;
        margin-bottom: 0.2rem;
    }

    .form-group input,
    .form-group textarea,
    .form-group select {
        font-family: 'Inter', Arial, sans-serif;
        font-size: 1.08rem;
        padding: 0.95rem 1.1rem;
        border-radius: 0.9rem;
        border: 1.5px solid #a5b4fc;
        background: rgba(255,255,255,0.13);
        color: #fff;
        transition: border 0.2s, background 0.2s;
        margin-bottom: 0.1rem;
        box-shadow: 0 1px 6px #2563eb11;
        /*        width: 260px;*/
    }

        .form-group input:focus,
        .form-group textarea:focus,
        .form-group select:focus {
            outline: none;
            border-color: #38f9d7;
            background: rgba(255,255,255,0.18);
        }

    .form-group textarea {
        min-height: 110px;
        resize: vertical;
    }

.form-row {
    display: flex;
    gap: 1.2rem;
}

@media (max-width: 900px) {
    .form-grid {
        flex-direction: column;
        gap: 1.2rem;
    }

    .form-section {
        padding: 1.2rem 0.7rem;
    }
}

#loc {
    width: 300px;
}

/* Upload Area Modern */
.upload-area {
    background: rgba(255,255,255,0.10);
    border: 2.5px dashed #38f9d7;
    border-radius: 1.2rem;
    padding: 2.5rem 1.5rem 2.5rem 1.5rem;
    text-align: center;
    margin-bottom: 4rem;
    cursor: pointer;
    transition: border-color 0.3s, background 0.3s, box-shadow 0.2s;
    position: relative;
    box-shadow: 0 2px 12px #38f9d733;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

    .upload-area:hover, .upload-area.dragover {
        border-color: #43e97b;
        background: rgba(67,233,123,0.08);
        box-shadow: 0 4px 24px #43e97b33;
    }

.upload-icon {
    font-size: 2.8rem;
    color: #43e97b;
    margin-bottom: 1.1rem;
}

.upload-area h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #23233a;
    margin-bottom: 0.3rem;
}

.upload-area p {
    font-size: 1.05rem;
    color: #b3b3e6;
    margin-bottom: 0.2rem;
}

.file-preview {
    background: rgba(255,255,255,0.13);
    border-radius: 1rem;
    box-shadow: 0 2px 8px #2563eb11;
    padding: 1.2rem 1rem;
    margin-top: 1rem;
}

.preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

    .preview-header h4 {
        margin: 0;
        color: #38f9d7;
        font-size: 1.05rem;
    }

.remove-file {
    background: rgba(255, 107, 107, 0.18);
    border: 1.5px solid #ff6b6b;
    color: #ff6b6b;
    padding: 0.5rem;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}

    .remove-file:hover {
        background: #ff6b6b;
        color: #fff;
        transform: scale(1.08);
    }

.preview-content img,
.preview-content video {
    max-width: 100%;
    border-radius: 0.7rem;
    box-shadow: 0 2px 8px #2563eb22;
    margin-bottom: 0.5rem;
}

.preview-content p {
    margin: 0.25rem 0;
    font-size: 0.98rem;
    color: #b3b3e6;
}

.detections-display {
    background: rgba(255,255,255,0.10);
    border-radius: 1rem;
    padding: 1.2rem 1rem;
    margin-top: 1rem;
    box-shadow: 0 2px 8px #38f9d733;
}

.detection-summary {
    background: rgba(255,255,255,0.08);
    border-radius: 0.8rem;
    padding: 1rem;
    margin-top: 1rem;
    box-shadow: 0 2px 8px #2563eb11;
}

.form-actions {
    display: flex;
    gap: 1.2rem;
    justify-content: center;
    margin-top: 2rem;
    flex-wrap: wrap;
}

    .form-actions .btn {
        min-width: 140px;
    }

@media (max-width: 600px) {
    .ticket-form {
        padding: 1.2rem 0.5rem;
    }

    .form-section {
        padding: 0.7rem 0.2rem;
    }

    .form-actions {
        flex-direction: column;
        gap: 0.7rem;
    }
}

/* Priority Colors */
.priority-low {
    background: #10b981 !important;
    color: rgb(18, 17, 17) !important;
}

.priority-medium {
    background: #f59e0b !important;
    color: rgb(19, 19, 19) !important;
}

.priority-high {
    background: #ef4444 !important;
    color: rgb(11, 11, 11) !important;
}

.priority-urgent {
    background: #dc2626 !important;
    color: rgb(13, 13, 13) !important;
}



/* Image Display Improvements */
.image-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0.5rem 0;
}

    .image-wrapper img {
        max-width: 100%;
        max-height: 350px;
        object-fit: contain;
        border-radius: 1.2rem;
        box-shadow: 0 12px 40px rgba(102, 126, 234, 0.25);
        display: block;
        visibility: visible;
        opacity: 1;
        transition: all 0.4s ease;
        border: 2px solid rgba(255, 255, 255, 0.1);
        background: rgba(255, 255, 255, 0.05);
        backdrop-filter: blur(10px);
    }

        .image-wrapper img:hover {
            transform: scale(1.03);
            box-shadow: 0 20px 60px rgba(102, 126, 234, 0.4);
            border-color: rgba(56, 249, 215, 0.4);
        }

.detection-images {
    margin: 1.5rem 0;
    padding: 1rem;
    background: rgba(255,255,255,0.05);
    border-radius: 1rem;
    border: 1px solid rgba(255,255,255,0.1);
}

.image-comparison {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 2rem;
    flex-wrap: wrap;
}

.image-container {
    text-align: center;
    flex: 1;
    min-width: 250px;
    max-width: 350px;
}

    .image-container h4 {
        margin-bottom: 0.8rem;
        color: #38f9d7;
        font-size: 1rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

/* Ensure images are always visible */
.preview-img,
#originalPreview,
#processedPreview,
#beforeImage,
#afterImage {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    max-width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
    border-radius: 1.2rem !important;
    box-shadow: 0 12px 40px rgba(102, 126, 234, 0.25) !important;
    transition: all 0.4s ease !important;
    border: 2px solid rgba(255, 255, 255, 0.1) !important;
    background: rgba(255, 255, 255, 0.05) !important;
    backdrop-filter: blur(10px) !important;
}

    .preview-img:hover,
    #originalPreview:hover,
    #processedPreview:hover,
    #beforeImage:hover,
    #afterImage:hover {
        transform: scale(1.03) !important;
        box-shadow: 0 20px 60px rgba(102, 126, 234, 0.4) !important;
        border-color: rgba(56, 249, 215, 0.4) !important;
    }

@media (max-width: 768px) {
    .image-comparison {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }

    .image-container {
        max-width: 100%;
    }

    .image-wrapper img {
        max-height: 250px;
    }
}

.vision-logo {
    height: 44px;
    width: auto;
    margin-left: 1.2rem;
    margin-right: 0.2rem;
    object-fit: contain;
    vertical-align: middle;
    background: none;
    border-radius: 0.5rem;
    box-shadow: none;
    transition: filter 0.2s;
}

@media (max-width: 600px) {
    .vision-logo {
        height: 32px;
        margin-left: 0.5rem;
    }
}

.footer-section {
    position: relative;
    width: 100%;
    min-height: 120px;
    background: rgba(40,44,70,0.92);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2rem;
    z-index: 5;
}

    .footer-section .vision-bg-logo {
        position: absolute;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100%;
        min-height: 80px;
        z-index: 0;
        pointer-events: none;
        background: url('./images/Screenshot 2025-07-10 172532.png') repeat-x center center/auto 80%;
        opacity: 0.13;
        animation: vision-move 30s linear infinite;
    }

.footer-content {
    position: relative;
    z-index: 2;
    color: #fff;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 500;
    padding: 2.5rem 1rem 2.5rem 1rem;
}

.footer-bg-logo {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 220px;
    height: 220px;
    transform: translate(-50%, -50%);
    background: url('./images/Screenshot 2025-07-10 172532.png') center center/contain no-repeat;
    opacity: 0.13;
    z-index: 1;
    pointer-events: none;
    animation: rotateLogo 18s linear infinite;
}

@keyframes rotateLogo {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@media (max-width: 600px) {
    .footer-bg-logo {
        width: 120px;
        height: 120px;
    }

    .footer-content {
        font-size: 0.98rem;
        padding: 1.5rem 0.5rem 1.5rem 0.5rem;
    }
}

.navbar {
    position: relative;
    z-index: 10;
    overflow: hidden;
}

.vision-bg-logo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    background: url('./images/Screenshot 2025-07-10 172532.png') repeat-x center center/contain;
    opacity: 0.18;
    animation: vision-move-header 18s linear infinite;
}

@keyframes vision-move-header {
    0% {
        background-position-x: 100%;
    }

    100% {
        background-position-x: -100%;
    }
}


@media (max-width: 900px) {
    .vision-bg-logo {
        min-height: 60px;
        background-size: auto 60%;
    }
}

@media (max-width: 600px) {
    .vision-bg-logo {
        min-height: 40px;
        background-size: auto 40%;
    }
}

/* Ticket Form Styles */
.ticket-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 2rem 0;
}

.ticket-option {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem;
    text-align: left;
    justify-content: flex-start;
}

    .ticket-option i {
        font-size: 1.2rem;
        width: 24px;
    }

.ticket-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.ticket-preview {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    padding: 1.5rem;
    margin: 1.5rem 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.preview-item {
    margin-bottom: 1rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

    .preview-item:last-child {
        border-bottom: none;
    }

    .preview-item strong {
        color: #38f9d7;
        margin-right: 0.5rem;
    }

.auth-form textarea {
    width: 100%;
    padding: 1rem 1.2rem;
    border: 2px solid var(--input-border);
    border-radius: 0.8rem;
    background: var(--input-bg);
    color: var(--text-primary);
    font-size: 1rem;
    font-family: inherit;
    resize: vertical;
    min-height: 80px;
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
}

    .auth-form textarea:focus {
        outline: none;
        border-color: var(--input-focus);
        background: rgba(255, 255, 255, 0.12);
        box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    }

.auth-form select {
    width: 100%;
    padding: 1rem 1.2rem;
    border: 2px solid var(--input-border);
    border-radius: 0.8rem;
    background: var(--input-bg);
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
    cursor: pointer;
}

    .auth-form select:focus {
        outline: none;
        border-color: var(--input-focus);
        background: rgba(255, 255, 255, 0.12);
        box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    }

    .auth-form select option {
        background: #1e1e2e;
        color: var(--text-primary);
        padding: 0.5rem;
    }

/* Tickets Page Styles */
.tickets-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.tickets-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.header-content {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.header-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #fff;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.3);
}

.header-text h1 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    background: linear-gradient(90deg, #a5b4fc 0%, #38f9d7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.header-text p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.tickets-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    margin-bottom: 2rem;
    gap: 1rem;
}

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

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

    .filter-group label {
        font-size: 0.9rem;
        font-weight: 600;
        color: var(--text-secondary);
    }

    .filter-group select,
    .filter-group input {
        padding: 0.5rem 1rem;
        border: 2px solid var(--input-border);
        border-radius: 0.5rem;
        background: var(--input-bg);
        color: var(--text-primary);
        font-size: 0.9rem;
        min-width: 150px;
    }

        .filter-group select.active,
        .filter-group input.active {
            background: #181a2a !important;
            color: #fff !important;
            border-color: #38f9d7 !important;
        }

        .filter-group select:focus,
        .filter-group input:focus {
            background: #181a2a !important;
            color: #fff !important;
            border-color: #38f9d7 !important;
        }

.sort-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

    .sort-controls label {
        font-size: 0.9rem;
        font-weight: 600;
        color: var(--text-secondary);
    }

    .sort-controls select {
        padding: 0.5rem 1rem;
        border: 2px solid var(--input-border);
        border-radius: 0.5rem;
        background: var(--input-bg);
        color: var(--text-primary);
        font-size: 0.9rem;
    }

.tickets-table-container {
    overflow-x: auto;
    border-radius: 1rem;
}

.tickets-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

    .tickets-table th {
        background: rgba(102, 126, 234, 0.1);
        color: var(--text-primary);
        font-weight: 700;
        padding: 1rem;
        text-align: unset;
        border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    }

    .tickets-table td {
        padding: 1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        color: var(--text-secondary);
    }

    .tickets-table tr:hover {
        background: rgba(255, 255, 255, 0.02);
    }

.ticket-id {
    font-weight: 600;
    color: #38f9d7;
}

.ticket-title {
    font-weight: 600;
    color: var(--text-primary);
    max-width: 200px;
}

.priority-badge,
.status-badge {
    padding: 0.3rem 0.8rem;
    border-radius: 1rem;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
}

.priority-low {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.priority-medium {
    background: rgba(245, 158, 11, 0.2);
    color: #f59e0b;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.priority-high {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.priority-urgent {
    background: rgba(124, 58, 237, 0.2);
    color: #7c3aed;
    border: 1px solid rgba(124, 58, 237, 0.3);
}

.status-pending {
    background: rgba(245, 158, 11, 0.2);
    color: #f59e0b;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.status-in-progress {
    background: rgba(59, 130, 246, 0.2);
    color: #3b82f6;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.status-resolved {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.status-closed {
    background: rgba(107, 114, 128, 0.2);
    color: #6b7280;
    border: 1px solid rgba(107, 114, 128, 0.3);
}

.ticket-actions {
    display: flex;
    gap: 0.5rem;
}

.btn-icon {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 0.5rem;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s;
}

    .btn-icon:hover {
        background: rgba(255, 255, 255, 0.2);
        color: var(--text-primary);
        transform: scale(1.1);
    }

.no-tickets {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-secondary);
}

    .no-tickets i {
        font-size: 4rem;
        color: #38f9d7;
        margin-bottom: 1rem;
    }

    .no-tickets h3 {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
        color: var(--text-primary);
    }

    .no-tickets p {
        margin-bottom: 2rem;
    }

/* Ticket Form Page Styles */
.ticket-form-container {
    max-width: 800px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.ticket-form-header {
    text-align: center;
    margin-bottom: 3rem;
}

    .ticket-form-header .header-icon {
        margin: 0 auto 1.5rem auto;
    }

    .ticket-form-header h1 {
        font-size: 2.5rem;
        font-weight: 800;
        margin-bottom: 1rem;
        background: linear-gradient(90deg, #a5b4fc 0%, #38f9d7 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

    .ticket-form-header p {
        color: var(--text-secondary);
        font-size: 1.1rem;
    }

.ticket-form {
    padding: 2.5rem;
}

    .ticket-form .form-section {
        margin-bottom: 2.5rem;
    }

        .ticket-form .form-section h3 {
            font-size: 1.3rem;
            font-weight: 700;
            color: #38f9d7;
            margin-bottom: 1.5rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

            .ticket-form .form-section h3 i {
                font-size: 1.1rem;
            }

.media-preview {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

    .media-preview .preview-item {
        text-align: center;
    }

        .media-preview .preview-item h4 {
            margin-bottom: 1rem;
            color: var(--text-primary);
            font-weight: 600;
        }

        .media-preview .preview-item img {
            max-width: 100%;
            max-height: 250px;
            border-radius: 1rem;
            box-shadow: 0 8px 32px rgba(102, 126, 234, 0.25);
            transition: all 0.3s ease;
            border: 2px solid rgba(255, 255, 255, 0.1);
            background: rgba(255, 255, 255, 0.05);
            object-fit: contain;
        }

            .media-preview .preview-item img:hover {
                transform: scale(1.05);
                box-shadow: 0 12px 40px rgba(102, 126, 234, 0.4);
                border-color: rgba(56, 249, 215, 0.4);
            }

/* Ticket Modal Styles */
.ticket-modal {
    max-width: 600px;
    width: 90%;
}

.ticket-details {
    padding: 1rem 0;
}

    .ticket-details .ticket-header {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        margin-bottom: 2rem;
        gap: 1rem;
    }

        .ticket-details .ticket-header h2 {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--text-primary);
            margin: 0;
        }

.ticket-meta {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.ticket-info {
    margin-bottom: 2rem;
}

.info-item {
    margin-bottom: 1.5rem;
}

    .info-item strong {
        color: #38f9d7;
        display: block;
        margin-bottom: 0.5rem;
    }

    .info-item p {
        color: var(--text-secondary);
        line-height: 1.5;
    }

.ticket-images {
    margin-top: 2rem;
}

    .ticket-images h3 {
        color: var(--text-primary);
        margin-bottom: 1rem;
    }

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

.image-item {
    text-align: center;
}

    .image-item h4 {
        margin-bottom: 0.5rem;
        color: var(--text-secondary);
        font-size: 0.9rem;
    }

    .image-item img {
        max-width: 100%;
        border-radius: 1rem;
        box-shadow: 0 8px 32px rgba(102, 126, 234, 0.2);
        transition: all 0.3s ease;
        border: 2px solid rgba(255, 255, 255, 0.1);
        background: rgba(255, 255, 255, 0.05);
    }

        .image-item img:hover {
            transform: scale(1.05);
            box-shadow: 0 12px 40px rgba(102, 126, 234, 0.3);
            border-color: rgba(56, 249, 215, 0.3);
        }

/* Responsive Design */
@media (max-width: 768px) {
    .tickets-controls {
        flex-direction: column;
        align-items: stretch;
    }

    .filters {
        flex-direction: column;
        gap: 1rem;
    }

    .filter-group select,
    .filter-group input {
        min-width: auto;
    }

    .tickets-table {
        font-size: 0.85rem;
    }

        .tickets-table th,
        .tickets-table td {
            padding: 0.5rem;
        }

    .ticket-title {
        max-width: 120px;
    }

    .media-preview {
        grid-template-columns: 1fr;
    }

    .image-grid {
        grid-template-columns: 1fr;
    }
}

.password-toggle {
    position: absolute;
    right: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #a5b4fc;
    font-size: 1.1rem;
    z-index: 2;
}

    .password-toggle:hover {
        color: #38f9d7;
    }

.password-match-status {
    margin-top: -0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

/* View Controls */
.view-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.view-toggle {
    display: flex;
    gap: 0.5rem;
}

    .view-toggle .btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
        border-radius: 0.8rem;
        transition: all 0.3s ease;
    }

        .view-toggle .btn.active {
            background: linear-gradient(90deg, #43e97b 0%, #38f9d7 100%);
            color: #fff;
            box-shadow: 0 4px 20px #38f9d755;
            transform: scale(1.05);
        }

        .view-toggle .btn:not(.active) {
            background: rgba(255, 255, 255, 0.08);
            color: #e0e7ff;
            border: 1px solid rgba(255, 255, 255, 0.15);
        }

            .view-toggle .btn:not(.active):hover {
                background: rgba(255, 255, 255, 0.12);
                transform: translateY(-1px);
            }

        .view-toggle .btn:disabled {
            opacity: 0.5;
            cursor: not-allowed;
            transform: none;
        }

.user-info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.2rem;
}

.user-name {
    font-weight: 600;
    color: #38f9d7;
    font-size: 0.9rem;
}

.user-role {
    font-size: 0.8rem;
    color: #9ca3af;
    background: rgba(56, 249, 215, 0.1);
    padding: 0.2rem 0.6rem;
    border-radius: 0.4rem;
    border: 1px solid rgba(56, 249, 215, 0.2);
}

@media (max-width: 768px) {
    .view-controls {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }

    .view-toggle {
        justify-content: center;
    }

    .user-info {
        align-items: center;
    }
}

/* Detection Elements Styles */
.detection-info {
    background: rgba(56, 249, 215, 0.1);
    padding: 1.5rem;
    border-radius: 1rem;
    margin: 1.5rem 0;
    border: 1px solid rgba(56, 249, 215, 0.2);
}

    .detection-info h3 {
        color: #38f9d7;
        margin-bottom: 1rem;
        font-size: 1.2rem;
        font-weight: 600;
    }

.detected-elements {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.detected-element {
    background: rgba(56, 249, 215, 0.2);
    color: #fff;
    padding: 0.6rem 1rem;
    border-radius: 0.8rem;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid rgba(56, 249, 215, 0.3);
    transition: all 0.3s ease;
}

    .detected-element:hover {
        background: rgba(56, 249, 215, 0.3);
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(56, 249, 215, 0.3);
    }

@media (max-width: 768px) {
    .detected-elements {
        gap: 0.5rem;
    }

    .detected-element {
        font-size: 0.8rem;
        padding: 0.5rem 0.8rem;
    }
}

/* Detection Classes Filter Styles */
.detection-filter {
    margin-top: 2rem;
    padding: 1.5rem;
}

.classes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.class-checkbox {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 1rem;
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    color: #e0e7ff;
}

    .class-checkbox:hover {
        background: rgba(255, 255, 255, 0.12);
        border-color: rgba(56, 249, 215, 0.3);
        transform: translateY(-2px);
    }

    .class-checkbox.selected {
        background: rgba(56, 249, 215, 0.2);
        border-color: rgba(56, 249, 215, 0.5);
        color: #38f9d7;
    }

    .class-checkbox input[type="checkbox"] {
        width: 18px;
        height: 18px;
        accent-color: #38f9d7;
        cursor: pointer;
    }

.filter-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

    .filter-actions .btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }

@media (max-width: 768px) {
    .classes-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 0.8rem;
    }

    .class-checkbox {
        padding: 0.6rem 0.8rem;
        font-size: 0.9rem;
    }
}

/* Class Selection Modal Styles */
.class-selection-modal {
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    padding: 2rem;
}

.class-selection-header {
    text-align: center;
    margin-bottom: 2rem;
}

.class-selection-logo {
    font-size: 2.5rem;
    color: #38f9d7;
    background: rgba(56, 249, 215, 0.12);
    border-radius: 1rem;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem auto;
    box-shadow: 0 2px 16px rgba(56, 249, 215, 0.3);
}

.class-selection-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
    background: linear-gradient(90deg, #a5b4fc 0%, #38f9d7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.class-selection-subtitle {
    font-size: 1rem;
    color: #b3b3e6;
    margin: 0;
    font-weight: 500;
}

.class-selection-modal .classes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.class-selection-modal .class-checkbox {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 0.8rem;
    padding: 1rem;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 500;
}

    .class-selection-modal .class-checkbox:hover {
        background: rgba(56, 249, 215, 0.1);
        border-color: rgba(56, 249, 215, 0.3);
        transform: translateY(-1px);
    }

    .class-selection-modal .class-checkbox.selected {
        background: rgba(56, 249, 215, 0.15);
        border-color: rgba(56, 249, 215, 0.5);
        color: #38f9d7;
    }

    .class-selection-modal .class-checkbox input[type="checkbox"] {
        width: 1.2rem;
        height: 1.2rem;
        accent-color: #38f9d7;
    }

.class-selection-modal .filter-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

    .class-selection-modal .filter-actions .btn {
        padding: 0.7rem 1.5rem;
        font-size: 1rem;
    }

@media (max-width: 768px) {
    .class-selection-modal {
        padding: 1.5rem;
        max-height: 85vh;
    }

        .class-selection-modal .classes-grid {
            grid-template-columns: 1fr;
            gap: 0.6rem;
        }

        .class-selection-modal .filter-actions {
            flex-direction: column;
            gap: 0.8rem;
        }

            .class-selection-modal .filter-actions .btn {
                width: 100%;
            }
}

#demoModal .close-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 2000;
    background: rgba(255,107,107,0.2);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    color: #ff6b6b;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background 0.2s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
}

#demoModal .video-container {
    background: transparent !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 auto !important;
    max-width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}

    #demoModal .video-container iframe,
    #demoModal .video-container video {
        border-radius: 1.2rem;
        box-shadow: none !important;
        border: none !important;
        background: #181a2a;
        width: 100%;
        max-width: 640px;
        min-height: 320px;
        min-width: 320px;
        aspect-ratio: 16/9;
        display: block;
    }

#demoModal {
    background: rgba(24, 26, 42, 0.85) !important;
    /* إزالة أي صورة أو تأثير خلفي */
}

    #demoModal .modal-content::before {
        display: none !important;
    }

.preview-title,
.preview-title.blue,
.preview-title .preview-icon {
    display: none !important;
}

/* تحسين تصميم قوائم select في النماذج */
.form-group select {
    background: rgba(255,255,255,0.13);
    color: #fff;
    border: 1.5px solid #a5b4fc;
    border-radius: 1.1rem;
    padding: 1.1rem 1.2rem;
    font-size: 1.08rem;
    font-weight: 600;
    box-shadow: 0 2px 12px #38f9d733;
    transition: border 0.2s, background 0.2s, box-shadow 0.2s;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

    .form-group select:focus {
        border-color: #38f9d7;
        background: rgba(56,249,215,0.10);
        color: #38f9d7;
        /*        box-shadow: 0 4px 24px #38f9d7aa;*/
    }

    .form-group select option {
        background: #23233a;
        color: #38f9d7;
        font-weight: 500;
        border-radius: 0.7rem;
    }

/* تحسين مظهر المربع الأبيض حول مجموعة Priority & Category */
.form-section {
    background: rgba(24,26,42,0.85);
    border-radius: 1.2rem;
    box-shadow: 0 4px 32px #38f9d722;
    border: 1.5px solid #38f9d733;
    padding: 2rem 1.5rem 1.5rem 1.5rem;
    margin-bottom: 2rem;
}

    /* تحسين عنوان القسم */
    .form-section h3 {
        color: #38f9d7;
        font-weight: 800;
        font-size: 1.25rem;
        margin-bottom: 1.2rem;
        letter-spacing: 0.5px;
        display: flex;
        align-items: center;
        gap: 0.7rem;
    }

/* تخصيص قائمة الخيارات المنسدلة */
.form-group select {
    border-radius: 1.1rem; /* للمربع الخارجي */
    /* ... باقي التنسيقات ... */
}

    /* تخصيص القائمة المنسدلة نفسها (كروم وإيدج) */
    .form-group select:focus {
        border-radius: 0rem;
        /* يمكنك زيادة القيمة حسب رغبتك */
    }

    /* تخصيص الخيارات نفسها */
    .form-group select option {
        border-radius: 0rem;
        /* هذا يعمل أحياناً في بعض المتصفحات */
    }

    /* زيادة border-radius على القائمة المنسدلة للـ select (يدعم كروم/إيدج وبعض المتصفحات) */
    .form-group select:focus {
        border-radius: 0rem;
    }

    .form-group select option {
        border-radius: 0rem;
    }

/* Admin Dashboard Styles */
.admin-container {
    max-width: 1400px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.admin-header {
    background: linear-gradient(120deg, #23243a 60%, #38f9d7 100%);
    box-shadow: 0 8px 32px 0 rgba(56, 249, 215, 0.18), 0 2px 8px #38f9d733;
    border: 2px solid #38f9d7;
    border-radius: 1.5rem;
    padding: 2.5rem 2rem;
    margin-bottom: 2.5rem;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.admin-header .header-icon {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 4px 20px #38f9d7aa;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    color: #fff;
}

.admin-header .header-text h1 {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(90deg, #a5b4fc 0%, #38f9d7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.admin-header .header-text p {
    color: #e0e7ff;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.admin-stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.stat-item {
    background: linear-gradient(135deg, #667eea 0%, #38f9d7 100%);
    color: #fff;
    border-radius: 1rem;
    box-shadow: 0 2px 12px #38f9d7aa;
    padding: 1.2rem 2rem;
    min-width: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    border: 2px solid #38f9d7;
}

.stat-item i {
    font-size: 1.5rem;
    color: #fff;
}

.stat-item span {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
}

.stat-item label {
    font-size: 1rem;
    color: #e0e7ff;
    font-weight: 600;
}

.admin-controls {
    background: linear-gradient(90deg, #23243a 60%, #38f9d7 100%);
    box-shadow: 0 2px 16px 0 #38f9d7aa;
    border-radius: 1.2rem;
    border: 2px solid #38f9d7;
    padding: 1.5rem;
    margin-bottom: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.search-section {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
}

.filter-select, .search-input {
    background: rgba(255,255,255,0.10);
    border: 2px solid #38f9d7;
    border-radius: 0.8rem;
    color: #fff;
    font-size: 1rem;
    min-width: 150px;
    outline: none;
    transition: border 0.2s;
    padding: 0.8rem 1.2rem;
}

.filter-select:focus, .search-input:focus {
    border-color: #764ba2;
}

.admin-actions .btn {
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    border-radius: 0.8rem;
    box-shadow: 0 2px 8px #38f9d7aa;
    font-weight: 700;
    transition: all 0.2s;
}

.admin-actions .btn.gradient {
    background: linear-gradient(90deg, #43e97b 0%, #38f9d7 100%);
    color: #fff;
}

.admin-actions .btn.accent {
    background: #ef4444;
    color: #fff;
}

.admin-actions .btn.glass {
    background: rgba(255,255,255,0.12);
    color: #fff;
    border: 1.5px solid #38f9d7;
}

.admin-actions .btn:hover {
    filter: brightness(1.1);
    box-shadow: 0 4px 16px #38f9d7aa;
}

.tickets-table-container {
    background: rgba(40, 44, 70, 0.95);
    border-radius: 1.2rem;
    box-shadow: 0 8px 40px #2563eb22;
    border: 2px solid #38f9d7;
    padding: 1.5rem;
    overflow-x: auto;
}

.tickets-table {
    width: 100%;
    border-collapse: collapse;
    color: #fff;
    font-size: 1rem;
    background: transparent;
}

.tickets-table th {
    background: linear-gradient(90deg, #667eea 0%, #38f9d7 100%);
    color: #fff;
    font-weight: 700;
    padding: 1rem;
    border-bottom: 2px solid #38f9d7;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tickets-table td {
    padding: 1rem;
    border-bottom: 1px solid #38f9d7;
    vertical-align: middle;
}

.tickets-table tr:hover {
    background: rgba(56, 249, 215, 0.10);
    transition: background 0.2s;
}

.tickets-table tr.selected {
    background: rgba(102, 126, 234, 0.15);
}

.priority-badge {
    padding: 0.3rem 0.8rem;
    border-radius: 1rem;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 2px solid #fff;
}

.priority-low {
    background: #10b981 !important;
    color: #fff !important;
    border-color: #10b981 !important;
}

.priority-medium {
    background: #f59e0b !important;
    color: #fff !important;
    border-color: #f59e0b !important;
}

.priority-high {
    background: #ef4444 !important;
    color: #fff !important;
    border-color: #ef4444 !important;
}

.priority-urgent {
    background: #a855f7 !important;
    color: #fff !important;
    border-color: #a855f7 !important;
}

.status-badge {
    padding: 0.3rem 0.8rem;
    border-radius: 1rem;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 2px solid #fff;
}

.status-pending {
    background: #f59e0b !important;
    color: #fff !important;
    border-color: #f59e0b !important;
}

.status-in-progress {
    background: #3b82f6 !important;
    color: #fff !important;
    border-color: #3b82f6 !important;
}

.status-resolved {
    background: #10b981 !important;
    color: #fff !important;
    border-color: #10b981 !important;
}

.status-closed {
    background: #6b7280 !important;
    color: #fff !important;
    border-color: #6b7280 !important;
}

.tickets-table .btn-icon {
    background: linear-gradient(90deg, #667eea 0%, #38f9d7 100%);
    color: #fff;
    border: none;
    border-radius: 0.7rem;
    font-size: 1.1rem;
    margin: 0 0.2rem;
    padding: 0.5rem 0.7rem;
    transition: background 0.18s, color 0.18s, box-shadow 0.18s;
    cursor: pointer;
    box-shadow: 0 1px 4px #38f9d722;
}

.tickets-table .btn-icon:hover {
    background: #ef4444;
    color: #fff;
    box-shadow: 0 4px 16px #ef4444aa;
}

.tickets-table .btn-icon.delete-btn {
    background: #ef4444;
    color: #fff;
}

.tickets-table .btn-icon.delete-btn:hover {
    background: #b91c1c;
}

.modal-content.glass {
    background: linear-gradient(120deg, #23243a 60%, #38f9d7 100%);
    border-radius: 1.2rem;
    box-shadow: 0 8px 32px #38f9d7aa;
    border: 2px solid #38f9d7;
    padding: 2rem 2.5rem;
    max-width: 420px;
    width: 95vw;
}

.modal-header h2 {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.modal-header h2 i {
    color: #f59e0b;
}

.modal-actions .btn {
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    border-radius: 0.8rem;
    font-weight: 700;
}

.delete-count {
    background: rgba(239, 68, 68, 0.1);
    border: 2px solid #ef4444;
    border-radius: 0.8rem;
    padding: 1rem;
    text-align: center;
    color: #ef4444;
    font-weight: 600;
    font-size: 1.1rem;
}

.delete-count span {
    font-size: 1.5rem;
    font-weight: 800;
    color: #ef4444;
}

.no-tickets {
    background: linear-gradient(120deg, #23243a 60%, #38f9d7 100%);
    color: #fff;
    border-radius: 1.2rem;
    box-shadow: 0 2px 12px #38f9d7aa;
    padding: 3rem 1rem;
    margin-top: 2rem;
    text-align: center;
}
