/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Background gradient classes */
.fixed {
    position: fixed;
}

.inset-0 {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.-z-10 {
    z-index: -10;
}

.bg-gradient-to-br {
    background: linear-gradient(to bottom right, var(--tw-gradient-stops));
}

.from-black {
    --tw-gradient-from: #000000;
    --tw-gradient-to: rgba(0, 0, 0, 0);
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}

.via-gray-900 {
    --tw-gradient-to: rgba(17, 24, 39, 0);
    --tw-gradient-stops: var(--tw-gradient-from), #111827, var(--tw-gradient-to);
}

.to-black {
    --tw-gradient-to: #000000;
}

.top-20 {
    top: 5rem;
}

.right-20 {
    right: 5rem;
}

.bottom-40 {
    bottom: 10rem;
}

.left-20 {
    left: 5rem;
}

.h-96 {
    height: 24rem;
}

.w-96 {
    width: 24rem;
}

.rounded-full {
    border-radius: 9999px;
}

.bg-white\/5 {
    background-color: rgba(255, 255, 255, 0.05);
}

.blur-3xl {
    filter: blur(64px);
}

/* Floating particles */
.particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -5;
    overflow: hidden;
}

.particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float 20s infinite linear;
    /* Start from bottom of screen to ensure continuous movement */
    bottom: -10px;
}

.particle-1 {
    width: 4px;
    height: 4px;
    --start-x: 10%;
    --end-x: 15%;
    --drift-x: 50px;
    animation-duration: 25s;
    animation-delay: 0s;
}

.particle-2 {
    width: 6px;
    height: 6px;
    --start-x: 80%;
    --end-x: 85%;
    --drift-x: -30px;
    animation-duration: 30s;
    animation-delay: 2s;
}

.particle-3 {
    width: 3px;
    height: 3px;
    --start-x: 20%;
    --end-x: 25%;
    --drift-x: 80px;
    animation-duration: 22s;
    animation-delay: 4s;
}

.particle-4 {
    width: 5px;
    height: 5px;
    --start-x: 70%;
    --end-x: 75%;
    --drift-x: -60px;
    animation-duration: 28s;
    animation-delay: 6s;
}

.particle-5 {
    width: 4px;
    height: 4px;
    --start-x: 15%;
    --end-x: 20%;
    --drift-x: 40px;
    animation-duration: 24s;
    animation-delay: 8s;
}

.particle-6 {
    width: 7px;
    height: 7px;
    --start-x: 85%;
    --end-x: 90%;
    --drift-x: -70px;
    animation-duration: 32s;
    animation-delay: 10s;
}

.particle-7 {
    width: 3px;
    height: 3px;
    --start-x: 25%;
    --end-x: 30%;
    --drift-x: 90px;
    animation-duration: 26s;
    animation-delay: 12s;
}

.particle-8 {
    width: 5px;
    height: 5px;
    --start-x: 75%;
    --end-x: 80%;
    --drift-x: -40px;
    animation-duration: 29s;
    animation-delay: 14s;
}

.particle-9 {
    width: 4px;
    height: 4px;
    --start-x: 50%;
    --end-x: 55%;
    --drift-x: 20px;
    animation-duration: 27s;
    animation-delay: 16s;
}

.particle-10 {
    width: 6px;
    height: 6px;
    --start-x: 30%;
    --end-x: 35%;
    --drift-x: 60px;
    animation-duration: 31s;
    animation-delay: 18s;
}

.particle-11 {
    width: 3px;
    height: 3px;
    --start-x: 90%;
    --end-x: 95%;
    --drift-x: -50px;
    animation-duration: 23s;
    animation-delay: 20s;
}

.particle-12 {
    width: 5px;
    height: 5px;
    --start-x: 5%;
    --end-x: 10%;
    --drift-x: 70px;
    animation-duration: 33s;
    animation-delay: 22s;
}

.particle-13 {
    width: 4px;
    height: 4px;
    --start-x: 60%;
    --end-x: 65%;
    --drift-x: -20px;
    animation-duration: 25s;
    animation-delay: 24s;
}

.particle-14 {
    width: 6px;
    height: 6px;
    --start-x: 40%;
    --end-x: 45%;
    --drift-x: 30px;
    animation-duration: 30s;
    animation-delay: 26s;
}

.particle-15 {
    width: 3px;
    height: 3px;
    --start-x: 10%;
    --end-x: 15%;
    --drift-x: 100px;
    animation-duration: 28s;
    animation-delay: 28s;
}

.particle-16 {
    width: 4px;
    height: 4px;
    --start-x: 45%;
    --end-x: 50%;
    --drift-x: -25px;
    animation-duration: 26s;
    animation-delay: 30s;
}

.particle-17 {
    width: 5px;
    height: 5px;
    --start-x: 35%;
    --end-x: 40%;
    --drift-x: 55px;
    animation-duration: 31s;
    animation-delay: 32s;
}

.particle-18 {
    width: 3px;
    height: 3px;
    --start-x: 65%;
    --end-x: 70%;
    --drift-x: -35px;
    animation-duration: 29s;
    animation-delay: 34s;
}

.particle-19 {
    width: 6px;
    height: 6px;
    --start-x: 25%;
    --end-x: 30%;
    --drift-x: 75px;
    animation-duration: 27s;
    animation-delay: 36s;
}

.particle-20 {
    width: 4px;
    height: 4px;
    --start-x: 85%;
    --end-x: 90%;
    --drift-x: -45px;
    animation-duration: 33s;
    animation-delay: 38s;
}

.particle-21 {
    width: 5px;
    height: 5px;
    --start-x: 5%;
    --end-x: 10%;
    --drift-x: 85px;
    animation-duration: 25s;
    animation-delay: 40s;
}

.particle-22 {
    width: 3px;
    height: 3px;
    --start-x: 55%;
    --end-x: 60%;
    --drift-x: -15px;
    animation-duration: 30s;
    animation-delay: 42s;
}

.particle-23 {
    width: 7px;
    height: 7px;
    --start-x: 35%;
    --end-x: 40%;
    --drift-x: 65px;
    animation-duration: 28s;
    animation-delay: 44s;
}

.particle-24 {
    width: 4px;
    height: 4px;
    --start-x: 75%;
    --end-x: 80%;
    --drift-x: -55px;
    animation-duration: 32s;
    animation-delay: 46s;
}

.particle-25 {
    width: 6px;
    height: 6px;
    --start-x: 15%;
    --end-x: 20%;
    --drift-x: 45px;
    animation-duration: 26s;
    animation-delay: 48s;
}

.particle-26 {
    width: 3px;
    height: 3px;
    --start-x: 95%;
    --end-x: 100%;
    --drift-x: -65px;
    animation-duration: 29s;
    animation-delay: 50s;
}

.particle-27 {
    width: 5px;
    height: 5px;
    --start-x: 45%;
    --end-x: 50%;
    --drift-x: 25px;
    animation-duration: 31s;
    animation-delay: 52s;
}

.particle-28 {
    width: 4px;
    height: 4px;
    --start-x: 25%;
    --end-x: 30%;
    --drift-x: 95px;
    animation-duration: 27s;
    animation-delay: 54s;
}

.particle-29 {
    width: 6px;
    height: 6px;
    --start-x: 85%;
    --end-x: 90%;
    --drift-x: -35px;
    animation-duration: 33s;
    animation-delay: 56s;
}

.particle-30 {
    width: 3px;
    height: 3px;
    --start-x: 15%;
    --end-x: 20%;
    --drift-x: 105px;
    animation-duration: 25s;
    animation-delay: 58s;
}

.particle-31 {
    width: 5px;
    height: 5px;
    --start-x: 65%;
    --end-x: 70%;
    --drift-x: -25px;
    animation-duration: 30s;
    animation-delay: 60s;
}

.particle-32 {
    width: 4px;
    height: 4px;
    --start-x: 25%;
    --end-x: 30%;
    --drift-x: 115px;
    animation-duration: 28s;
    animation-delay: 62s;
}

.particle-33 {
    width: 7px;
    height: 7px;
    --start-x: 75%;
    --end-x: 80%;
    --drift-x: -45px;
    animation-duration: 32s;
    animation-delay: 64s;
}

.particle-34 {
    width: 3px;
    height: 3px;
    --start-x: 45%;
    --end-x: 50%;
    --drift-x: 35px;
    animation-duration: 26s;
    animation-delay: 66s;
}

.particle-35 {
    width: 6px;
    height: 6px;
    --start-x: 85%;
    --end-x: 90%;
    --drift-x: -55px;
    animation-duration: 29s;
    animation-delay: 68s;
}

.particle-36 {
    width: 4px;
    height: 4px;
    --start-x: 15%;
    --end-x: 20%;
    --drift-x: 125px;
    animation-duration: 31s;
    animation-delay: 70s;
}

.particle-37 {
    width: 5px;
    height: 5px;
    --start-x: 55%;
    --end-x: 60%;
    --drift-x: 15px;
    animation-duration: 27s;
    animation-delay: 72s;
}

.particle-38 {
    width: 3px;
    height: 3px;
    --start-x: 25%;
    --end-x: 30%;
    --drift-x: 135px;
    animation-duration: 33s;
    animation-delay: 74s;
}

.particle-39 {
    width: 6px;
    height: 6px;
    --start-x: 75%;
    --end-x: 80%;
    --drift-x: -65px;
    animation-duration: 25s;
    animation-delay: 76s;
}

.particle-40 {
    width: 4px;
    height: 4px;
    --start-x: 45%;
    --end-x: 50%;
    --drift-x: 45px;
    animation-duration: 30s;
    animation-delay: 78s;
}

.particle-41 {
    width: 5px;
    height: 5px;
    --start-x: 15%;
    --end-x: 20%;
    --drift-x: 145px;
    animation-duration: 28s;
    animation-delay: 80s;
}

.particle-42 {
    width: 3px;
    height: 3px;
    --start-x: 65%;
    --end-x: 70%;
    --drift-x: -35px;
    animation-duration: 32s;
    animation-delay: 82s;
}

.particle-43 {
    width: 7px;
    height: 7px;
    --start-x: 25%;
    --end-x: 30%;
    --drift-x: 155px;
    animation-duration: 26s;
    animation-delay: 84s;
}

.particle-44 {
    width: 4px;
    height: 4px;
    --start-x: 55%;
    --end-x: 60%;
    --drift-x: 5px;
    animation-duration: 29s;
    animation-delay: 86s;
}

.particle-45 {
    width: 6px;
    height: 6px;
    --start-x: 85%;
    --end-x: 90%;
    --drift-x: -75px;
    animation-duration: 31s;
    animation-delay: 88s;
}

.particle-46 {
    width: 3px;
    height: 3px;
    --start-x: 35%;
    --end-x: 40%;
    --drift-x: 165px;
    animation-duration: 27s;
    animation-delay: 90s;
}

.particle-47 {
    width: 5px;
    height: 5px;
    --start-x: 75%;
    --end-x: 80%;
    --drift-x: -85px;
    animation-duration: 33s;
    animation-delay: 92s;
}

.particle-48 {
    width: 4px;
    height: 4px;
    --start-x: 25%;
    --end-x: 30%;
    --drift-x: 175px;
    animation-duration: 25s;
    animation-delay: 94s;
}

.particle-49 {
    width: 6px;
    height: 6px;
    --start-x: 55%;
    --end-x: 60%;
    --drift-x: -5px;
    animation-duration: 30s;
    animation-delay: 96s;
}

.particle-50 {
    width: 3px;
    height: 3px;
    --start-x: 85%;
    --end-x: 90%;
    --drift-x: -95px;
    animation-duration: 28s;
    animation-delay: 98s;
}

@keyframes float {
    0% {
        transform: translateY(0px) translateX(0px) rotate(0deg);
        opacity: 0;
        left: var(--start-x, 10%);
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) translateX(var(--drift-x, 100px)) rotate(360deg);
        opacity: 0;
        left: var(--end-x, 20%);
    }
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: transparent;
    min-height: 100vh;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

@keyframes gradientAnimation {
    0% { background-position: 0% 50% }
    50% { background-position: 100% 50% }
    100% { background-position: 0% 50% }
}

/* Dashboard Container */
.dashboard-container {
    min-height: 100vh;
    padding: 0;
    position: relative;
}

/* Dashboard Header */
.dashboard-header {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.header-content h1 {
    font-size: 1.875rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}

.dashboard-subtitle {
    color: #a0a0a0;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

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

/* Search Container */
.search-container {
    position: relative;
}

.search-icon {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: #6b7280;
    font-size: 0.875rem;
}

.search-input {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    padding: 0.5rem 0.75rem 0.5rem 2.5rem;
    color: #ffffff;
    font-size: 0.875rem;
    width: 16rem;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.search-input::placeholder {
    color: #6b7280;
}

.search-input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Controls Group */
.controls-group {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.control-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.control-item label {
    font-size: 0.75rem;
    color: #a0a0a0;
    font-weight: 500;
    white-space: nowrap;
}

.control-select {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.375rem;
    padding: 0.75rem 1rem;
    color: #ffffff;
    font-size: 1rem;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    min-width: 150px;
}

.control-select:focus {
    outline: none;
    border-color: #3b82f6;
}

/* Control Buttons */
.control-btn {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.375rem;
    padding: 0.75rem 1rem;
    color: #a0a0a0;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all 0.2s ease;
}

.control-btn:hover {
    background: rgba(0, 0, 0, 0.6);
    border-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.control-btn.primary {
    background: #3b82f6;
    border-color: #3b82f6;
    color: #ffffff;
}

.control-btn.primary:hover {
    background: #2563eb;
    border-color: #2563eb;
}

/* Custom Date Range */
.custom-date-range {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
    padding: 0.75rem;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.375rem;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.date-input {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.375rem;
    padding: 0.375rem 0.75rem;
    color: #ffffff;
    font-size: 0.875rem;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.date-input:focus {
    outline: none;
    border-color: #3b82f6;
}

.custom-date-range span {
    color: #ffffff;
    font-weight: 500;
    font-size: 0.875rem;
}

/* Stats Section */
.stats-section {
    padding: 2rem;
}

.section-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 1rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
}

/* Stat Cards */
.stat-card {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.75rem;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 16px 0 rgba(0, 0, 0, 0.2);
    transition: all 0.2s ease;
}

.stat-card:hover {
    background: rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.stat-content {
    flex: 1;
}

.stat-label {
    font-size: 0.875rem;
    color: #a0a0a0;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.stat-value {
    font-size: 1.875rem;
    font-weight: 700;
    color: #ffffff;
}

.stat-subtitle {
    font-size: 0.875rem;
    color: #a0a0a0;
    margin: 0.25rem 0 0 0;
    font-weight: 500;
}

.stat-icon {
    color: #3b82f6;
    font-size: 1.5rem;
    margin-left: 1rem;
}

/* Tabs Container */
.tabs-container {
    padding: 0 2rem 2rem;
}

.tabs-list {
    display: flex;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    padding: 0.25rem;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.tab-trigger {
    background: transparent;
    border: none;
    border-radius: 0.375rem;
    padding: 0.5rem 1rem;
    color: #a0a0a0;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
    flex: 1;
    justify-content: center;
}

.tab-trigger:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
}

.tab-trigger.active {
    background: #3b82f6;
    color: #ffffff;
}

.tab-trigger.active:hover {
    background: #2563eb;
}

/* Tab Content */
.tab-content {
    display: none;
    padding: 0 1rem;
}

.tab-content.active {
    display: block;
}

/* Content Grid */
.content-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: 1fr;
}

.content-grid .content-card.large {
    grid-column: span 2;
}

/* Add spacing between Recent Advertisements and Performance Statistics */
.content-grid .content-card.large:nth-child(2) {
    margin-top: 1.5rem;
}

/* Add spacing between the two large cards in the overview tab */
#overview .content-card.large + .content-card.large {
    margin-top: 1.5rem;
}

/* Add spacing between Recent Advertisements and Performance Statistics cards */
#overview .content-grid + .content-card.large {
    margin-top: 1.5rem;
}

.content-grid .content-card.full-width {
    grid-column: 1 / -1;
}

.content-card.centered {
    width: 100%;
}

@media (min-width: 1024px) {
    .content-grid {
        grid-template-columns: 2fr 1fr;
    }
    
    /* Metrics tab specific grid for 6 tiles */
    #metrics .content-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(2, 1fr);
    }
}

/* Content Cards */
.content-card {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.75rem;
    box-shadow: 0 4px 16px 0 rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.card-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
}

.card-description {
    font-size: 0.875rem;
    color: #a0a0a0;
    margin: 0;
}

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

.card-action-btn {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.375rem;
    padding: 0.375rem 0.75rem;
    color: #a0a0a0;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all 0.2s ease;
}

.card-action-btn:hover {
    background: rgba(0, 0, 0, 0.6);
    border-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.card-content {
    padding: 1.5rem;
}

/* Data Table */
.table-container {
    overflow-x: auto;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.data-table thead {
    background: rgba(0, 0, 0, 0.6);
}

.data-table th {
    padding: 0.75rem;
    text-align: left;
    color: #a0a0a0;
    font-weight: 500;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.data-table td {
    padding: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

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

/* Stats List */
.stats-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

.stat-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.stat-name {
    font-size: 0.875rem;
    color: #a0a0a0;
}

.stat-number {
    font-size: 0.875rem;
    font-weight: 600;
    color: #ffffff;
}

/* Progress Bar */
.progress-bar {
    width: 100%;
    height: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 0.25rem;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: #3b82f6;
    border-radius: 0.25rem;
    transition: width 0.3s ease;
}

/* Card Footer */
.card-footer {
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 1rem;
}

.action-btn {
    width: 100%;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.375rem;
    padding: 0.5rem 0.75rem;
    color: #a0a0a0;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all 0.2s ease;
}

.action-btn:hover {
    background: rgba(0, 0, 0, 0.6);
    border-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

/* Metric Display */
.metric-display {
    text-align: center;
    padding: 1rem 0;
}

.metric-value {
    font-size: 2.25rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.metric-label {
    font-size: 0.875rem;
    color: #a0a0a0;
}

/* Analytics Grid */
.chart-container {
    width: 100%;
    height: 400px;
    position: relative;
    margin-top: 1rem;
}

.analytics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.analytics-item h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 1rem;
}

.analytics-chart {
    height: 200px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #a0a0a0;
    font-size: 0.875rem;
}

/* Status Badges */
.status-active {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.status-paused {
    background: rgba(251, 146, 60, 0.2);
    color: #fb923c;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid rgba(251, 146, 60, 0.3);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.modal-content {
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.75rem;
    margin: 5% auto;
    padding: 0;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-header h3 {
    color: #ffffff;
    font-size: 1.125rem;
    font-weight: 600;
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    color: #a0a0a0;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.375rem;
    transition: all 0.2s ease;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.modal-body {
    padding: 1.5rem;
}

.modal-body p {
    color: #a0a0a0;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .dashboard-header {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    
    .header-controls {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start; /* Push controls to the left */
    }
    
    .controls-group {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start; /* Push controls to the left */
    }
    
    /* Mobile button layout - left align refresh and clear cache buttons */
    .header-controls .control-btn {
        flex: none;
        justify-content: flex-start;
        min-width: 120px;
        align-self: flex-start; /* Ensure buttons align to the left */
    }
    
    /* Mobile tabs layout - fix tab selection overlap */
    .tabs-list {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.25rem; /* Reduce gap to prevent overlap */
    }
    
    .tab-trigger {
        flex: 1;
        min-width: 70px; /* Reduce min-width */
        max-width: 100px; /* Reduce max-width */
        font-size: 0.8rem; /* Smaller font */
        padding: 0.5rem 0.25rem; /* Reduce padding */
        text-align: center;
        margin: 0 0.125rem; /* Add small margin for separation */
    }
    
    .tab-trigger i {
        display: none; /* Hide icons on mobile to save space */
    }
    
    /* Ensure active tab doesn't overlap */
    .tab-trigger.active {
        z-index: 1; /* Ensure active tab is on top */
        position: relative;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
    }
    
    .content-grid .content-card.large {
        grid-column: span 1;
    }
    
    .analytics-grid {
        grid-template-columns: 1fr;
    }
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #3b82f6;
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* No Data State */
.no-data {
    text-align: center;
    padding: 3rem 1.5rem;
    color: #a0a0a0;
}

.no-data i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.no-data p {
    font-size: 1rem;
    margin: 0;
}

/* No Agent Selected Message */
.no-agent-card {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.75rem;
    padding: 3rem 2rem;
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
}

.no-agent-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.no-agent-icon {
    font-size: 3rem;
    color: #3b82f6;
    margin-bottom: 1rem;
}

.no-agent-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
}

.no-agent-description {
    font-size: 1rem;
    color: #a0a0a0;
    margin: 0;
    line-height: 1.5;
}

/* Daily Bugle Modal Styles */
.daily-bugle-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    overflow: auto;
}

.daily-bugle-modal .modal-content {
    max-width: 95vw;
    max-height: 90vh;
    width: 95vw;
    height: 90vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    margin: 2vh auto;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.75rem;
    padding: 0;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3);
}

.daily-bugle-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    max-height: 100%;
}

.daily-bugle-modal .modal-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-height: 0;
}

.daily-bugle-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 0.5rem;
    flex-wrap: wrap;
}

.daily-bugle-controls .date-range-selector {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.daily-bugle-controls .date-range-selector label {
    color: #ffffff;
    font-weight: 500;
    white-space: nowrap;
}

.date-range-display {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-bottom: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 0.375rem;
    min-width: 200px;
}

.date-range-display #dateRangeText,
.date-range-display #bugleDateRangeText {
    color: #3b82f6;
    font-weight: 600;
    font-size: 0.875rem;
    margin: 0;
}

.date-range-display #dateRangeDates,
.date-range-display #bugleDateRangeDates {
    color: #a0a0a0;
    font-size: 0.75rem;
    margin: 0;
    font-style: italic;
}

.active-ads-note {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #10b981;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.5rem 0.75rem;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 0.375rem;
    white-space: nowrap;
}

.active-ads-note i {
    font-size: 1rem;
}

.daily-bugle-table-container {
    flex: 1;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 0;
    max-height: calc(100% - 120px); /* Account for header and controls */
}

.daily-bugle-table-wrapper {
    flex: 1;
    overflow: auto;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem 0.5rem 0 0;
    background: rgba(0, 0, 0, 0.2);
    border-bottom: none;
    min-height: 0;
    max-height: 100%;
}

.daily-bugle-pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0 0 0.5rem 0.5rem;
    border-top: none;
    gap: 1rem;
    flex-wrap: wrap;
    flex-shrink: 0;
}

.pagination-info {
    color: #a0a0a0;
    font-size: 0.875rem;
    white-space: nowrap;
}

.pagination-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pagination-btn {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: #3b82f6;
    padding: 0.5rem 0.75rem;
    border-radius: 0.375rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
}

.pagination-btn:hover:not(:disabled) {
    background: rgba(59, 130, 246, 0.2);
    border-color: rgba(59, 130, 246, 0.5);
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    color: #6b7280;
}

.page-numbers {
    color: #ffffff;
    font-weight: 500;
    padding: 0 0.75rem;
    white-space: nowrap;
}

.pagination-size {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pagination-size label {
    color: #a0a0a0;
    font-size: 0.875rem;
    white-space: nowrap;
}

.pagination-size .control-select {
    min-width: 80px;
}

.daily-bugle-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
    min-width: 1200px;
}

.daily-bugle-table thead {
    position: sticky;
    top: 0;
    background: rgba(59, 130, 246, 0.1);
    border-bottom: 2px solid rgba(59, 130, 246, 0.3);
}

.daily-bugle-table th {
    padding: 0.75rem 0.5rem;
    text-align: left;
    font-weight: 600;
    color: #ffffff;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    white-space: nowrap;
    min-width: 100px;
}

.daily-bugle-table th:last-child {
    border-right: none;
}

.daily-bugle-table td {
    padding: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    color: #e5e7eb;
    vertical-align: top;
}

.daily-bugle-table td:last-child {
    border-right: none;
}

.daily-bugle-table tbody tr:hover {
    background: rgba(59, 130, 246, 0.1);
}

.daily-bugle-table .agent-name {
    font-weight: 600;
    color: #3b82f6;
    min-width: 120px;
}

.daily-bugle-table .ad-name {
    max-width: 200px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.daily-bugle-table .status-active {
    color: #10b981;
    font-weight: 500;
}

.daily-bugle-table .status-paused {
    color: #f59e0b;
    font-weight: 500;
}

.daily-bugle-table .status-deleted {
    color: #ef4444;
    font-weight: 500;
}

.daily-bugle-table .numeric {
    text-align: right;
    font-family: 'Courier New', monospace;
}

.daily-bugle-table .currency {
    text-align: right;
    font-family: 'Courier New', monospace;
    color: #10b981;
}

.daily-bugle-table .percentage {
    text-align: right;
    font-family: 'Courier New', monospace;
    color: #3b82f6;
}

.loading-message {
    text-align: center;
    color: #a0a0a0;
    font-style: italic;
    padding: 2rem;
}

.no-data-message {
    text-align: center;
    color: #a0a0a0;
    font-style: italic;
    padding: 2rem;
}

/* Mobile responsiveness for Daily Bugle */
@media (max-width: 768px) {
    .daily-bugle-modal {
        overflow: hidden;
    }
    
    .daily-bugle-modal .modal-content {
        max-width: 100vw;
        max-height: 100vh;
        width: 100vw;
        height: 100vh;
        margin: 0;
        border-radius: 0;
    }
    
    .daily-bugle-controls {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }
    
    .daily-bugle-controls .date-range-selector {
        justify-content: space-between;
    }
    
    .active-ads-note {
        justify-content: center;
        text-align: center;
    }
    
    .daily-bugle-table {
        font-size: 0.75rem;
        min-width: 800px;
    }
    
    .daily-bugle-table th,
    .daily-bugle-table td {
        padding: 0.375rem 0.25rem;
    }
    
    .daily-bugle-pagination {
        flex-direction: column;
        gap: 0.75rem;
        align-items: stretch;
    }
    
    .pagination-controls {
        justify-content: center;
    }
    
    .pagination-size {
        justify-content: center;
    }
}

/* Agent Form Styles */
.agent-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

.form-group label {
    color: #ffffff;
    font-size: 0.875rem;
    font-weight: 500;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.375rem;
    background: rgba(0, 0, 0, 0.4);
    color: #ffffff;
    font-size: 1rem;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    transition: all 0.2s ease;
}

.form-input::placeholder {
    color: #6b7280;
}

.form-input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
    background: rgba(0, 0, 0, 0.6);
}

.form-input:invalid {
    border-color: #ef4444;
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 1rem;
}

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

/* Success/Error Messages */
.form-message {
    padding: 0.75rem 1rem;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 500;
    margin-top: 1rem;
    display: none;
}

.form-message.success {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #10b981;
}

.form-message.error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

/* Loading state for form */
.form-loading {
    opacity: 0.6;
    pointer-events: none;
}

.form-loading .control-btn {
    position: relative;
}

.form-loading .control-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 1rem;
    height: 1rem;
    margin: -0.5rem 0 0 -0.5rem;
    border: 2px solid transparent;
    border-top: 2px solid #ffffff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* To Do List Modal Styles */
.todo-list-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    overflow: auto;
}

.todo-list-modal .modal-content {
    max-width: 90vw;
    max-height: 90vh;
    width: 90vw;
    height: 90vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    margin: 2vh auto;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.75rem;
    padding: 0;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3);
}

.todo-list-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    max-height: 100%;
}

.todo-list-modal .modal-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    min-height: 0;
    max-height: calc(90vh - 120px); /* Account for header and padding */
}

/* Todo Add Button Container */
.todo-add-button-container {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.todo-add-button-container .control-btn {
    min-width: 200px;
    font-size: 1rem;
    padding: 1rem 2rem;
}

/* Todo Add Section */
.todo-add-section {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.todo-add-section h4 {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 1rem 0;
}

.todo-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.todo-form .form-group {
    margin: 0;
}

.todo-form .form-actions {
    margin: 0;
    justify-content: flex-start;
}

/* Todo Statistics */
.todo-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 0.5rem;
}

.todo-stats .stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.25rem;
}

.todo-stats .stat-label {
    font-size: 0.75rem;
    color: #a0a0a0;
    font-weight: 500;
}

.todo-stats .stat-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: #3b82f6;
}

/* Todo Lists Container */
.todo-lists-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    min-height: 300px;
    max-height: 400px;
    overflow-y: auto;
}

.todo-section {
    display: flex;
    flex-direction: column;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    overflow: hidden;
}

.todo-section h4 {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.todo-list {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
    max-height: 350px;
    min-height: 200px;
}

/* Todo Item */
.todo-item {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.375rem;
    padding: 1rem;
    margin-bottom: 0.75rem;
    transition: all 0.2s ease;
}

.todo-item:hover {
    background: rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.2);
}

.todo-item.completed {
    opacity: 0.7;
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.3);
}

.todo-item-header {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.todo-checkbox {
    width: 1.25rem;
    height: 1.25rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 0.25rem;
    background: transparent;
    cursor: pointer;
    flex-shrink: 0;
    margin-top: 0.125rem;
    transition: all 0.2s ease;
}

.todo-checkbox:checked {
    background: #3b82f6;
    border-color: #3b82f6;
}

.todo-checkbox:checked::after {
    content: '✓';
    color: white;
    font-size: 0.75rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.todo-content {
    flex: 1;
    min-width: 0;
}

.todo-title {
    color: #ffffff;
    font-size: 0.875rem;
    font-weight: 600;
    margin: 0 0 0.25rem 0;
    word-wrap: break-word;
}

.todo-title.completed {
    text-decoration: line-through;
    color: #a0a0a0;
}

.todo-description {
    color: #a0a0a0;
    font-size: 0.75rem;
    margin: 0;
    line-height: 1.4;
    word-wrap: break-word;
}

.todo-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
    font-size: 0.75rem;
    color: #6b7280;
}

.todo-date {
    font-style: italic;
}

.todo-actions {
    display: flex;
    gap: 0.5rem;
    margin-left: auto;
}

.todo-action-btn {
    background: none;
    border: none;
    color: #a0a0a0;
    font-size: 0.875rem;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 0.25rem;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
}

.todo-action-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.todo-action-btn.edit:hover {
    color: #3b82f6;
}

.todo-action-btn.delete:hover {
    color: #ef4444;
}

/* Edit Todo Modal */
.edit-todo-modal {
    display: none;
    position: fixed;
    z-index: 1100;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.edit-todo-modal .modal-content {
    max-width: 500px;
    width: 90%;
    margin: 10% auto;
}

/* Empty State */
.todo-empty {
    text-align: center;
    padding: 2rem;
    color: #a0a0a0;
}

.todo-empty i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    opacity: 0.5;
}

.todo-empty p {
    font-size: 0.875rem;
    margin: 0;
}

/* Mobile Responsiveness for Todo List */
@media (max-width: 768px) {
    .todo-list-modal .modal-content {
        max-width: 100vw;
        max-height: 100vh;
        width: 100vw;
        height: 100vh;
        margin: 0;
        border-radius: 0;
    }
    
    .todo-list-modal .modal-body {
        max-height: calc(100vh - 120px);
        padding: 1rem;
    }
    
    .todo-lists-container {
        grid-template-columns: 1fr;
        gap: 1rem;
        min-height: 250px;
        max-height: 300px;
    }
    
    .todo-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .todo-item-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .todo-actions {
        margin-left: 0;
        align-self: flex-end;
    }
    
    .todo-add-button-container .control-btn {
        min-width: 150px;
        padding: 0.75rem 1.5rem;
    }
} 
