/* ===================================================================
   GMAIL CLEANUP - DASHBOARD STYLES
   Based on clean-up-panel design
   =================================================================== */

/* Import fonts and styleguide */
@import url("styleguide.css");
@import url("globals.css");

/* ===================================================================
   CSS Variables
   =================================================================== */
:root {
    --bg-main: #f5f7fb;
    --bg-card: #ffffff;
    --border-light: #e6e8f0;
    --text-primary: #283166;
    --text-secondary: #6b7280;
    --accent-blue: #2968ff;
    --accent-red: #ff5656;
    --accent-orange-bg: #fff5eb;
    --accent-orange-border: #ffd9b3;
    --header-height: 80px;
    --filter-width: 500px;
    --gap: 30px;
    --border-radius: 16px;
    --border-radius-sm: 8px;
}

/* ===================================================================
   Base Layout
   =================================================================== */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    background-color: var(--bg-main);
    font-family: "Neue Haas Grotesk Display Pro-65Medium", Helvetica, Arial, sans-serif;
    color: var(--text-primary);
}

/* Auth Screen */
.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.auth-card {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    padding: 48px;
    text-align: center;
    max-width: 400px;
    width: 100%;
    border: 1px solid var(--border-light);
}

.auth-card h1 {
    color: var(--text-primary);
    font-size: 24px;
    margin-bottom: 12px;
}

.auth-card p {
    color: var(--text-secondary);
    margin-bottom: 24px;
}

/* ===================================================================
   Main Dashboard Layout
   =================================================================== */
.dashboard-layout {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
.dashboard-header {
    background: var(--bg-card);
    border-bottom: 1px solid var(--border-light);
    height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 var(--gap);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.header-logo .logo-icon {
    background-color: var(--accent-blue);
    border-radius: 8px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 32px 32px 32px #28316614, 16px 16px 16px #28316614, 8px 8px 8px #28316614, 4px 4px 4px #2831660a, 2px 2px 2px #28316614, inset 1px 1px 0px #ffffff66;
}

.header-logo .logo-icon img {
    width: 40px;
    height: 40px;
}

.header-logo .logo-text {
    font-family: "Neue Haas Grotesk Display Pro-75Bold", Helvetica, sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
}

.header-user {
    display: flex;
    align-items: center;
    gap: 16px;
}

.user-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

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

.user-name {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-primary);
}

.user-email {
    font-size: 12px;
    color: var(--text-secondary);
}

.logout-btn {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.logout-btn:hover {
    opacity: 1;
}

.logout-btn img {
    width: 24px;
    height: 24px;
}

/* Header Menu */
.header-menu {
    display: flex;
    gap: 10px;
}

.menu-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: background-color 0.2s;
    font-size: 16px;
}

.menu-item.active {
    background-color: var(--accent-blue);
    color: white;
}

.menu-item:not(.active):hover {
    background-color: #f0f4ff;
}

.menu-item img {
    width: 24px;
    height: 24px;
}

/* ===================================================================
   Content Area - Two Column Layout
   =================================================================== */
.dashboard-content {
    display: flex;
    gap: var(--gap);
    padding: var(--gap);
    flex: 1;
    align-items: flex-start;
}

/* Filter Panel (Left) */
.filter-panel {
    width: var(--filter-width);
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius);
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex-shrink: 0;
    position: sticky;
    top: calc(var(--header-height) + var(--gap));
    max-height: calc(100vh - var(--header-height) - var(--gap) * 2);
    overflow-y: auto;
}

/* Results Panel (Right) */
.results-panel {
    flex: 1;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius);
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 0;
}

/* ===================================================================
   Filter Panel Components
   =================================================================== */
.filter-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.filter-title {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
}

.filter-title img {
    width: 32px;
    height: 32px;
}

.filter-title h2 {
    font-family: "Neue Haas Grotesk Display Pro-75Bold", Helvetica, sans-serif;
    font-size: 18px;
    font-weight: 700;
    margin: 0;
}

.clear-all-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background-color: #fff0f0;
    border-radius: var(--border-radius-sm);
    border: none;
    cursor: pointer;
    color: var(--accent-red);
    font-size: 16px;
    font-weight: 500;
}

.clear-all-btn:hover {
    background-color: #ffe0e0;
}

.clear-all-btn img {
    width: 24px;
    height: 24px;
}

/* Step Sections */
.step-header {
    display: flex;
    align-items: center;
    gap: 10px;
}

.step-number {
    width: 32px;
    height: 32px;
    background-color: #e6f0ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 500;
    color: var(--accent-blue);
}

.step-title {
    font-family: "Neue Haas Grotesk Display Pro-75Bold", Helvetica, sans-serif;
    font-size: 18px;
    font-weight: 700;
}

.optional-badge {
    background-color: var(--border-light);
    padding: 5px 10px;
    border-radius: 40px;
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 400;
}

/* Radio Buttons Grid */
.radio-buttons-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.radio-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 15px;
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: all 0.2s;
    width: calc(50% - 10px);
    text-align: center;
}

.radio-card:hover {
    border-color: var(--accent-blue);
    background-color: #f8faff;
}

.radio-card.active {
    border-color: var(--accent-blue);
    background-color: #f0f5ff;
}

.radio-card img {
    width: 24px;
    height: 24px;
}

.radio-card .card-title {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-primary);
}

.radio-card .card-desc {
    font-size: 12px;
    color: var(--text-secondary);
}

/* Chips (Year/Size selectors) */
.chips-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 15px;
}

.chip {
    padding: 11px 15px;
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    font-size: 13px;
    color: var(--text-secondary);
    transition: all 0.2s;
    background: var(--bg-card);
}

.chip:hover {
    border-color: var(--accent-blue);
    color: var(--text-primary);
}

.chip.active {
    border-color: var(--accent-blue);
    background-color: #f0f5ff;
    color: var(--accent-blue);
}

/* User Labels Section */
.labels-divider {
    height: 1px;
    background: var(--border-light);
    margin: 20px 0;
}

.labels-header {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.label-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: var(--bg-card);
    border: 1.5px solid var(--border-light);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.label-chip:hover {
    border-color: var(--accent-blue);
    background: #f8faff;
}

.label-chip.active {
    background: var(--accent-blue);
    color: white;
    border-color: var(--accent-blue);
}

.label-count {
    font-size: 11px;
    color: var(--text-secondary);
    font-weight: 400;
}

.label-chip.active .label-count {
    color: rgba(255, 255, 255, 0.8);
}


/* Chip with icon */
.chip-icon {
    width: 16px;
    height: 16px;
    margin-right: 6px;
    vertical-align: middle;
}

/* Section Clear Button */
.section-clear-btn {
    margin-left: auto;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    opacity: 0.5;
    transition: opacity 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.section-clear-btn:hover {
    opacity: 1;
}

.section-clear-btn img {
    width: 16px;
    height: 16px;
    filter: invert(45%) sepia(15%) saturate(300%) hue-rotate(190deg);
}

/* Progress Bar */
.progress-container {
    width: 100%;
    max-width: 300px;
    margin-bottom: 16px;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background-color: var(--border-light);
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--accent-blue), #5a8fff);
    border-radius: 4px;
    transition: width 0.2s ease-out;
}

.progress-text {
    margin-top: 8px;
    font-size: 14px;
    color: var(--text-secondary);
    text-align: center;
}

/* Date Range Input */
.date-range-label {
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: 10px;
}

.date-range-input {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 15px;
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    margin-top: 10px;
}

.date-range-input .value {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    color: var(--text-primary);
}

.date-range-input img {
    width: 24px;
    height: 24px;
}

/* Size Custom Input */
.size-custom-row {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.size-input {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 15px;
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius-sm);
    font-size: 15px;
    color: var(--text-primary);
    cursor: pointer;
}

.size-input img {
    width: 24px;
    height: 24px;
}

/* Info Message */
.info-message {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 15px;
    background-color: #f0f5ff;
    border-radius: var(--border-radius-sm);
    font-size: 14px;
    color: var(--text-primary);
}

.info-message img {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 2px;
}

/* Search Button */
.search-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    background-color: var(--accent-blue);
    border-radius: var(--border-radius-sm);
    border: none;
    cursor: pointer;
    color: white;
    font-size: 16px;
    font-weight: 500;
    width: 100%;
    box-shadow: 32px 32px 32px #28316614, 16px 16px 16px #28316614, 8px 8px 8px #28316614, 4px 4px 4px #2831660a, 2px 2px 2px #28316614, inset 1px 1px 0px #ffffff66;
    transition: background-color 0.2s;
}

.search-btn:hover {
    background-color: #1a5ae8;
}

.search-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.search-btn img {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1);
}

/* ===================================================================
   Results Panel Components
   =================================================================== */
.results-header {
    display: flex;
    align-items: center;
    gap: 30px;
}

.results-title {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
}

.results-title img {
    width: 32px;
    height: 32px;
}

.results-title h2 {
    font-family: "Neue Haas Grotesk Display Pro-75Bold", Helvetica, sans-serif;
    font-size: 18px;
    font-weight: 700;
    margin: 0;
}

.results-count {
    padding: 11px 15px;
    background-color: var(--accent-orange-bg);
    border: 1px solid var(--accent-orange-border);
    border-radius: var(--border-radius-sm);
    font-size: 12px;
    color: var(--text-secondary);
}

/* Custom Sort Dropdown */
.custom-sort-dropdown {
    position: relative;
}

.sort-trigger {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    font-family: inherit;
    font-size: 14px;
    color: var(--text-primary);
    transition: all 0.2s ease;
    -webkit-appearance: none;
    appearance: none;
}

.sort-trigger:hover {
    border-color: var(--accent-blue);
}

.sort-trigger:focus {
    outline: none;
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(41, 104, 255, 0.1);
}

.sort-label {
    color: var(--text-secondary);
    font-weight: 500;
}

.sort-value {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
}

.sort-icon {
    font-size: 14px;
    line-height: 1;
}

.sort-chevron {
    margin-left: 4px;
    color: var(--text-secondary);
    transition: transform 0.2s ease;
}

.custom-sort-dropdown.open .sort-chevron {
    transform: rotate(180deg);
}

.sort-options {
    position: absolute;
    top: calc(100% + 4px);
    right: 0;
    min-width: 200px;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius-sm);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.2s ease;
    z-index: 100;
}

.custom-sort-dropdown.open .sort-options {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sort-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    cursor: pointer;
    font-size: 14px;
    color: var(--text-primary);
    transition: background-color 0.15s ease;
}

.sort-option:first-child {
    border-radius: var(--border-radius-sm) var(--border-radius-sm) 0 0;
}

.sort-option:last-child {
    border-radius: 0 0 var(--border-radius-sm) var(--border-radius-sm);
}

.sort-option:hover {
    background-color: #f0f5ff;
}

.sort-option.active {
    background-color: #e8f0ff;
    color: var(--accent-blue);
    font-weight: 500;
}

.sort-option .sort-icon {
    font-size: 16px;
}


/* Select All Panel */
.select-all-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 15px;
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius-sm);
}

.select-all-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.select-all-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.checkbox {
    width: 16px;
    height: 16px;
    border: 1px solid var(--text-secondary);
    border-radius: 2px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.checkbox.checked {
    background-color: var(--accent-blue);
    border-color: var(--accent-blue);
}

.checkbox.checked img {
    width: 12px;
    height: 8px;
}

.select-all-label {
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
}

.selected-count {
    padding: 11px 15px;
    background-color: var(--accent-orange-bg);
    border: 1px solid var(--accent-orange-border);
    border-radius: var(--border-radius-sm);
    font-size: 12px;
    color: var(--text-secondary);
}

.delete-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background-color: var(--accent-red);
    border-radius: var(--border-radius-sm);
    border: none;
    cursor: pointer;
    color: white;
    font-size: 16px;
    font-weight: 500;
    box-shadow: 32px 32px 32px #28316614, 16px 16px 16px #28316614, 8px 8px 8px #28316614, 4px 4px 4px #2831660a, 2px 2px 2px #28316614, inset 1px 1px 0px #ffffff66;
    transition: background-color 0.2s;
}

.delete-btn:hover {
    background-color: #e04545;
}

.delete-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.delete-btn img {
    width: 24px;
    height: 24px;
}

/* Email Items List */
.email-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.email-item {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 15px;
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: all 0.2s;
}

.email-item:hover {
    border-color: #c0d0ff;
    background-color: #fafbff;
}

.email-item.selected {
    border-color: var(--accent-blue);
    background-color: #f0f5ff;
}

.email-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.email-sender {
    flex: 1;
    font-size: 16px;
    font-weight: 500;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.email-date {
    font-size: 12px;
    color: var(--text-secondary);
    white-space: nowrap;
}

.email-subject {
    font-size: 13px;
    color: var(--text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.email-meta {
    display: flex;
    align-items: center;
    gap: 10px;
}

.email-size {
    font-size: 13px;
    color: var(--text-secondary);
}

.email-label {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    color: var(--text-primary);
}

.email-label img {
    width: 16px;
    height: 16px;
}

/* Empty State */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
    color: var(--text-secondary);
}

.empty-state-icon {
    font-size: 48px;
    margin-bottom: 16px;
    opacity: 0.5;
}

.empty-state h3 {
    font-size: 18px;
    color: var(--text-primary);
    margin: 0 0 8px;
}

.empty-state p {
    font-size: 14px;
    margin: 0;
}

/* Loading State */
.loading-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--border-light);
    border-top-color: var(--accent-blue);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ===================================================================
   Modal Styles
   =================================================================== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    padding: 30px;
    max-width: 500px;
    width: 90%;
}

.modal-header {
    font-family: "Neue Haas Grotesk Display Pro-75Bold", Helvetica, sans-serif;
    font-size: 20px;
    margin-bottom: 16px;
}

.modal-body {
    margin-bottom: 24px;
}

.warning-box {
    background-color: #fff5f5;
    border: 1px solid #ffcccc;
    border-radius: var(--border-radius-sm);
    padding: 15px;
    margin-top: 16px;
}

.warning-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--accent-red);
    margin-bottom: 8px;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

.btn {
    padding: 12px 24px;
    border-radius: var(--border-radius-sm);
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.2s;
}

.btn-secondary {
    background-color: var(--border-light);
    color: var(--text-primary);
}

.btn-secondary:hover {
    background-color: #d1d5e0;
}

.btn-primary {
    background-color: var(--accent-blue);
    color: white;
}

.btn-primary:hover {
    background-color: #1a5ae8;
}

.btn-danger {
    background-color: var(--accent-red);
    color: white;
}

.btn-danger:hover {
    background-color: #e04545;
}

/* ===================================================================
   Success Modal
   =================================================================== */
.success-modal-content {
    text-align: center;
    padding: 40px;
}

.success-icon {
    font-size: 64px;
    margin-bottom: 20px;
    animation: successBounce 0.5s ease;
}

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

    50% {
        transform: scale(1.2);
    }

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

.success-title {
    font-family: "Neue Haas Grotesk Display Pro-75Bold", Helvetica, sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 30px;
}

.success-body {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 30px;
}

.success-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.success-stat .stat-number {
    font-size: 32px;
    font-weight: 700;
    color: #22c55e;
}

.success-stat .stat-label {
    font-size: 14px;
    color: var(--text-secondary);
}

.success-modal-content .btn-primary {
    padding: 14px 40px;
    font-size: 16px;
    font-weight: 600;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    border: none;
}

.success-modal-content .btn-primary:hover {
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.4);
}

/* ===================================================================
   Floating Action Bar
   =================================================================== */
.floating-action-bar {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    z-index: 900;
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.floating-action-bar.visible {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.floating-action-content {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 16px 24px;
    background: var(--accent-red);
    border-radius: 50px;
    box-shadow: 0 10px 40px rgba(255, 86, 86, 0.4), 0 4px 12px rgba(0, 0, 0, 0.15);
}

.floating-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    color: white;
}

.floating-count {
    font-size: 16px;
    font-weight: 600;
}

.floating-size {
    font-size: 13px;
    opacity: 0.9;
}

.floating-delete-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: white;
    border-radius: 30px;
    border: none;
    cursor: pointer;
    color: var(--accent-red);
    font-size: 16px;
    font-weight: 600;
    transition: transform 0.2s, box-shadow 0.2s;
}

.floating-delete-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.floating-delete-btn img {
    width: 20px;
    height: 20px;
    filter: invert(42%) sepia(93%) saturate(1352%) hue-rotate(331deg) brightness(99%) contrast(108%);
}

/* ===================================================================
   Responsive
   =================================================================== */
@media screen and (max-width: 1200px) {
    .dashboard-content {
        flex-direction: column;
    }

    .filter-panel {
        width: 100%;
        position: static;
    }

    .radio-buttons-grid {
        gap: 10px;
    }

    .radio-card {
        width: calc(50% - 5px);
    }
}

@media screen and (max-width: 768px) {
    .dashboard-header {
        padding: 0 15px;
        height: auto;
        flex-wrap: wrap;
        gap: 10px;
        padding: 15px;
    }

    .header-menu {
        order: 3;
        width: 100%;
        justify-content: center;
    }

    .dashboard-content {
        padding: 15px;
        gap: 15px;
    }

    .filter-panel,
    .results-panel {
        padding: 20px;
    }

    .radio-card {
        width: 100%;
    }

    .select-all-panel {
        flex-wrap: wrap;
        gap: 10px;
    }

    .email-sender {
        max-width: 200px;
    }
}