﻿/* MaxRepTracker Calendar - Bundled Stylesheet */
/* This file is auto-generated by bundling all CSS modules. */
/* Source: assets/css/modules/ */

/* =========================================
   1. VARIABLES & GLOBAL RULES
   ========================================= */
/* MaxRepTracker Calendar - Variables & Global Rules */

/* Global MRT Tap Highlight Reset */
[class^="mrt-"],
[class*=" mrt-"] {
    -webkit-tap-highlight-color: transparent;
}

:root {
    --mrt-calendar-bg: #ffffff;
    --mrt-calendar-border: #e0e0e0;
    --mrt-calendar-accent: #6c5ce7;
    --mrt-calendar-text: #333333;
    --mrt-calendar-day-bg: #f4f2eb;
    --mrt-calendar-workout: #00d2d3;
    --mrt-calendar-today: #feca57;
    --mrt-calendar-glass-blur: 15px;
}

/* Prevent horizontal scroll when bottom sheet is open */
body.mrt-sheet-open {
    overflow: hidden !important;
}

/* =========================================
   2. LAYOUT COMPONENTS
   ========================================= */
/* MaxRepTracker Calendar - Layout Components */

.mrt-calendar-container {
    background: var(--mrt-calendar-bg);
    border: 1px solid var(--mrt-calendar-border);
    border-radius: 20px;
    padding: 24px;
    color: var(--mrt-calendar-text);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    max-width: 600px;
    margin: 20px auto;
    font-family: "Inter", "Outfit", sans-serif;
}

.mrt-calendar-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: #64748b;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-family: "Inter", "Outfit", sans-serif;
    line-height: normal;
}

.mrt-calendar-label span {
    color: inherit;
    font-weight: inherit;
    font-size: inherit;
    font-family: inherit;
    text-transform: inherit;
    letter-spacing: inherit;
}

.mrt-calendar-label svg {
    color: #0082fc;
    flex-shrink: 0;
}

.mrt-calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.mrt-calendar-header h2 {
    margin: 0;
    font-size: 0.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, #a29bfe, #6c5ce7);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.mrt-calendar-btn {
    background: none;
    border: none;
    color: #667eea;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px 10px;
    transition:
        color 0.3s ease,
        transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    opacity: 0.7;
    flex-shrink: 0;
}

.mrt-calendar-btn:hover {
    color: #764ba2;
    transform: scale(1.2);
    opacity: 1;
    background: none !important;
}

.mrt-calendar-btn:active {
    transform: scale(1.1);
    background: none !important;
}

.mrt-calendar-btn:focus {
    color: #764ba2;
    transform: scale(1.2);
    opacity: 1;
    background: none !important;
}

/* Responsive navigation */
@media screen and (max-width: 768px) {
    .mrt-calendar-btn {
        font-size: 1.3rem;
        padding: 5px 8px;
    }
}

@media screen and (max-width: 480px) {
    .mrt-calendar-btn {
        font-size: 1.2rem;
        padding: 4px 6px;
    }
}

/* Toggle Header Styles */
.mrt-calendar-toggle {
    cursor: pointer;
    position: relative;
}

.mrt-calendar-toggle-icon {
    color: #667eea;
    font-size: 0.8rem;
    transition: transform 0.3s ease;
    margin-left: 8px;
}

.mrt-calendar-collapsed .mrt-calendar-toggle-icon {
    transform: rotate(-90deg);
}

/* Current Week Preview (shown when collapsed) */
.mrt-calendar-current-week {
    display: none;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
    margin-bottom: 12px;
}

.mrt-calendar-collapsed .mrt-calendar-current-week {
    display: grid;
}

/* Collapsible Content */
.mrt-calendar-collapsible {
    max-height: 2000px;
    opacity: 1;
    overflow: hidden;
    transition:
        max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        opacity 0.3s ease,
        padding 0.4s ease,
        margin 0.4s ease;
    /* Extra breathing room for glows and scale animations without clipping */
    padding: 16px;
    margin: -16px;
}

.mrt-calendar-collapsed .mrt-calendar-collapsible {
    max-height: 0;
    opacity: 0;
    pointer-events: none;
    padding-top: 0;
    padding-bottom: 0;
    margin-top: 0;
    margin-bottom: 0;
}

/* Ensure no clipping when fully expanded */
.mrt-calendar-container:not(.mrt-calendar-collapsed) .mrt-calendar-collapsible {
    overflow: visible;
}

/* Adjust padding when collapsed */
.mrt-calendar-collapsed {
    padding-bottom: 16px;
}

/* =========================================
   3. GRID & DAY CELLS
   ========================================= */
/* MaxRepTracker Calendar - Grid & Day Cells */

.mrt-calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    font-weight: 600;
    font-size: 0.8rem;
    color: #888888;
    margin-bottom: 12px;
}

.mrt-calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
}

.mrt-day {
    aspect-ratio: 1/1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--mrt-calendar-day-bg);
    border-radius: 12px;
    font-size: 0.9rem;
    cursor: pointer; /* Changed to pointer as most days have some interaction now */
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid transparent;
    position: relative;
    color: var(--mrt-calendar-text);
}

.mrt-day:hover:not(.mrt-day-other-month):not(.mrt-day-workout) {
    background: #eeeeee;
    transform: scale(1.02);
}

.mrt-day-other-month {
    opacity: 0.25;
    cursor: default;
}

.mrt-day-today {
    border: 2px solid var(--mrt-calendar-today);
    font-weight: 800;
    color: var(--mrt-calendar-accent);
    /* Use box-shadow for the outer ring to free up ::before for icons */
    box-shadow: 0 0 0 2px rgba(254, 202, 87, 0.4);
    position: relative;
    z-index: 1;
}

/* Support icons on today's date */
.mrt-day-today:not(.mrt-day-note)::before {
    content: none;
}

.mrt-day-workout {
    background: linear-gradient(135deg, #00d2d3, #01a3a4);
    color: white !important;
    font-weight: 800;
    box-shadow:
        0 8px 16px -4px rgba(0, 210, 211, 0.4),
        0 4px 8px -2px rgba(0, 210, 211, 0.2);
    position: relative;
    z-index: 1;
    border: none !important;
}

.mrt-day-workout:hover,
.mrt-day-workout:active {
    background: linear-gradient(135deg, #00d2d3, #01a3a4) !important;
    color: white !important;
    transform: translateY(-4px) scale(1.1) !important;
    box-shadow:
        0 15px 30px -8px rgba(0, 210, 211, 0.7),
        0 10px 20px -6px rgba(0, 210, 211, 0.4);
    z-index: 2;
    border: none !important;
}

.mrt-workout-dot {
    display: none;
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background: white;
    border-radius: 50%;
}

.mrt-day-workout .mrt-workout-dot {
    display: block;
}

.mrt-day-reminder {
    border: 1.5px solid var(--mrt-calendar-accent);
    color: var(--mrt-calendar-accent);
    position: relative;
    cursor: pointer;
}

.mrt-day-reminder::after {
    content: "";
    position: absolute;
    top: 2px; /* Moved up from 3px to align with note icon optically */
    right: 3px;
    width: 10px;
    height: 10px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23feca57'%3E%3Cpath d='M12 22c1.1 0 2-.9 2-2h-4a2 2 0 0 0 2 2zm6-6v-5c0-3.07-1.64-5.64-4.5-6.32V4c0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5v.68C7.63 5.36 6 7.92 6 11v5l-2 2v1h16v-1l-2-2z'%3E%3C/path%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    z-index: 2;
}

.mrt-day-reminder.mrt-day-workout {
    background: linear-gradient(135deg, #00d2d3, #01a3a4);
    border: none !important;
    color: white;
}

.mrt-day-today.mrt-day-reminder {
    border: 2px solid var(--mrt-calendar-accent);
    box-shadow: 0 0 0 2px rgba(108, 92, 231, 0.2);
}

.mrt-day-reminder-silenced {
    border-color: rgba(108, 92, 231, 0.2) !important;
    color: rgba(108, 92, 231, 0.4) !important;
}

.mrt-day-reminder-silenced::after {
    filter: grayscale(1);
}

html.maxreptracker-dark-mode-enabled .mrt-day-reminder-silenced {
    background: rgba(255, 255, 255, 0.02) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
}

/* Note indicator - top-left position to avoid conflict with reminder (top-right) and workout (bottom-center) */
.mrt-day-note {
    position: relative;
    cursor: pointer;
}

.mrt-day-note::before {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 10px;
    height: 10px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23e74c3c'%3E%3Cpath d='M16 9V4l1-1V2H7v1l1 1v5c0 3.39-2 4-2 6h5v7l1 1 1-1v-7h5c0-2-2-2.61-2-6z'%3E%3C/path%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    z-index: 2;
}

/* Note + Workout: adjust icon color for visibility on dark background */
.mrt-day-note.mrt-day-workout::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M16 9V4l1-1V2H7v1l1 1v5c0 3.39-2 4-2 6h5v7l1 1 1-1v-7h5c0-2-2-2.61-2-6z'%3E%3C/path%3E%3C/svg%3E");
}

/* Ensure indicators are layered correctly */
.mrt-day-note.mrt-day-reminder::before,
.mrt-day-note.mrt-day-workout.mrt-day-reminder::before {
    display: block;
}

/* Dark Mode Styles */
html.maxreptracker-dark-mode-enabled .mrt-day {
    background: rgba(255, 255, 255, 0.08) !important;
    color: var(--maxreptracker-dark-text, #ffffff) !important;
}

html.maxreptracker-dark-mode-enabled
    .mrt-day:hover:not(.mrt-day-other-month):not(.mrt-day-workout) {
    background: rgba(255, 255, 255, 0.15) !important;
}

html.maxreptracker-dark-mode-enabled .mrt-day-today {
    border: 2px solid var(--mrt-calendar-today, #feca57) !important;
    background: rgba(254, 202, 87, 0.15) !important;
    box-shadow:
        0 0 0 2px rgba(254, 202, 87, 0.3),
        0 0 20px rgba(254, 202, 87, 0.4),
        0 0 8px rgba(254, 202, 87, 0.2) !important;
}

html.maxreptracker-dark-mode-enabled .mrt-calendar-weekdays {
    color: rgba(255, 255, 255, 0.6);
}

html.maxreptracker-dark-mode-enabled .mrt-day-reminder {
    background: rgba(108, 92, 231, 0.2) !important;
    border-color: rgba(108, 92, 231, 0.5) !important;
}

html.maxreptracker-dark-mode-enabled .mrt-day-workout {
    background: linear-gradient(135deg, #00d2d3, #01a3a4) !important;
    border: none !important;
    color: white !important;
}

/* Shimmer Loading Effect */
/* Modern Shimmer Loading Effect - Performance Optimized */
@keyframes mrt-shimmer-slide {
    0% {
        transform: translateX(-100%) skewX(-15deg);
    }
    100% {
        transform: translateX(100%) skewX(-15deg);
    }
}

.mrt-calendar-loading .mrt-day {
    position: relative;
    overflow: hidden;
    background: #e2e8f0; /* Modern slate-200 base */
    color: transparent !important;
    border-color: transparent !important;
    pointer-events: none;
    background-image: none;
    border-radius: 12px;
}

/* Clear any conflicting icons */
.mrt-calendar-loading .mrt-day::after {
    content: none !important;
    display: none !important;
}

/* High-Performance Composite Layer Animation */
.mrt-calendar-loading .mrt-day::before {
    content: "" !important;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.6) 50%,
        transparent 100%
    );
    transform: translateX(-100%) skewX(-15deg);
    animation: mrt-shimmer-slide 1.5s infinite cubic-bezier(0.4, 0, 0.2, 1);
    /* Override any Note icon styles if collision occurs */
    background-image: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.6) 50%,
        transparent 100%
    );
    border: none;
    z-index: 2;
}

/* Dark Mode Shimmer Override */
html.maxreptracker-dark-mode-enabled .mrt-calendar-loading .mrt-day {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    background-image: none !important;
}

html.maxreptracker-dark-mode-enabled .mrt-calendar-loading .mrt-day::before {
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.08) 50%,
        transparent 100%
    );
    background-image: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.08) 50%,
        transparent 100%
    );
}

/* Mobile Optimizations */
@media screen and (max-width: 400px) {
    .mrt-calendar-grid {
        gap: 4px;
    }

    .mrt-day {
        font-size: 0.8rem;
        border-radius: 8px;
    }

    .mrt-day-note::before {
        width: 8px;
        height: 8px;
        top: 2px;
        left: 2px;
    }

    .mrt-day-reminder::after {
        width: 8px;
        height: 8px;
        top: 1px; /* Optically aligned with top: 2px for note on mobile */
        right: 2px;
    }

    .mrt-workout-dot {
        bottom: 2px;
        width: 3px;
        height: 3px;
    }
}

@media screen and (max-width: 360px) {
    .mrt-day {
        font-size: 0.8rem;
    }

    .mrt-day-note::before {
        font-size: 0.4rem;
    }

    .mrt-day-reminder::after {
        font-size: 0.4rem;
    }
}

/* =========================================
   4. LEGEND
   ========================================= */
/* MaxRepTracker Calendar - Legend */

.mrt-calendar-legend {
    margin-top: 24px;
    display: flex;
    gap: 16px;
    font-size: 0.8rem;
    color: #666666;
}

.mrt-legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.mrt-legend-item .mrt-legend-workout {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.mrt-legend-item .mrt-legend-workout::before {
    content: "";
    display: block;
    width: 14px;
    height: 14px;
    background: linear-gradient(135deg, #00d2d3, #01a3a4);
    border-radius: 4px; /* Changed to match day cell shape */
    box-shadow: 0 2px 6px rgba(0, 210, 211, 0.3);
}

.mrt-legend-item .mrt-legend-reminder {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.mrt-legend-item .mrt-legend-reminder::after {
    content: "";
    width: 14px;
    height: 14px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23feca57'%3E%3Cpath d='M12 22c1.1 0 2-.9 2-2h-4a2 2 0 0 0 2 2zm6-6v-5c0-3.07-1.64-5.64-4.5-6.32V4c0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5v.68C7.63 5.36 6 7.92 6 11v5l-2 2v1h16v-1l-2-2z'%3E%3C/path%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    display: block;
}

.mrt-legend-item .mrt-legend-note {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.mrt-legend-item .mrt-legend-note::before {
    content: "";
    width: 14px;
    height: 14px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23e74c3c'%3E%3Cpath d='M16 9V4l1-1V2H7v1l1 1v5c0 3.39-2 4-2 6h5v7l1 1 1-1v-7h5c0-2-2-2.61-2-6z'%3E%3C/path%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    display: block;
}

/* =========================================
   5. SETTINGS PANEL
   ========================================= */
/* MaxRepTracker Calendar - Reminder Settings */

.mrt-reminder-config-container {
    margin: 15px auto;
    max-width: 600px;
    background: var(--mrt-calendar-bg);
    border-radius: 20px;
}

.mrt-reminder-config-toggle {
    background: #f8f9fa;
    border: 1px solid var(--mrt-calendar-border);
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 0;
    width: 100%;
    box-sizing: border-box;
    box-sizing: border-box;
    /* cursor: pointer; - Removed to indicate only slider is clickable */
}

.mrt-reminder-switch-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    position: relative;
}

.mrt-reminder-header-left {
    flex: 1;
    min-width: 0;
}

.mrt-reminder-header-left h4 {
    margin: 0 0 8px 0;
    color: var(--mrt-calendar-text);
    font-size: 1.2em; /* Standardized scale check required, original was 1.2rem. Keeping 1.2em for consistency */
    font-weight: 600;
}

.mrt-reminder-header-left p {
    margin: 0;
    color: #666;
    font-size: 1.1em; /* Standardized */
}

.mrt-reminder-header-right {
    display: flex;
    justify-content: flex-end;
    flex-shrink: 0;
}

.mrt-reminder-switch-control {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 0;
}

/* Header Toggle Switch */
.mrt-reminder-config-switch {
    position: relative;
    display: inline-block;
    width: 60px; /* Standardized */
    height: 34px; /* Standardized */
}

.mrt-reminder-config-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.mrt-reminder-config-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition:
        background-color 0.4s,
        box-shadow 0.4s;
    border-radius: 34px; /* Standardized */
}

.mrt-reminder-config-slider:before {
    position: absolute;
    content: "";
    height: 26px; /* Standardized */
    width: 26px; /* Standardized */
    left: 4px; /* Standardized */
    bottom: 4px; /* Standardized */
    background-color: white;
    transition:
        transform 0.4s,
        background-color 0.4s;
    border-radius: 50%;
}

.mrt-reminder-config-switch input:checked + .mrt-reminder-config-slider {
    background: linear-gradient(
        135deg,
        #667eea 0%,
        #764ba2 100%
    ); /* Standardized */
}

.mrt-reminder-config-switch input:checked + .mrt-reminder-config-slider:before {
    transform: translateX(26px); /* Standardized */
}

/* Mobile Responsive */
@media (max-width: 480px) and (min-width: 376px) {
    .mrt-reminder-config-toggle {
        padding: 14px; /* Standardized */
    }

    .mrt-reminder-header-left h4 {
        font-size: 1em; /* Standardized */
    }

    .mrt-reminder-header-left p {
        font-size: 0.9em; /* Standardized */
    }

    .mrt-reminder-config-switch {
        width: 52px; /* Standardized Mobile Landscape */
        height: 28px; /* Standardized Mobile Landscape */
    }

    .mrt-reminder-config-slider:before,
    .mrt-reminder-config-slider::before {
        height: 20px; /* Standardized */
        width: 20px; /* Standardized */
        left: 4px;
        bottom: 4px;
    }

    .mrt-reminder-config-switch
        input:checked
        + .mrt-reminder-config-slider:before,
    .mrt-reminder-config-switch
        input:checked
        + .mrt-reminder-config-slider::before {
        transform: translateX(22px); /* Standardized */
    }
}

/* Mobile Portrait (< 375px) */
@media (max-width: 375px) {
    .mrt-reminder-config-toggle {
        padding: 14px; /* Standardized */
    }

    .mrt-reminder-header-left h4 {
        font-size: 1em; /* Standardized */
    }

    .mrt-reminder-header-left p {
        font-size: 0.9em; /* Standardized */
    }

    .mrt-reminder-config-switch {
        height: 26px; /* Standardized Mobile Portrait */
        width: 48px; /* Standardized Mobile Portrait */
    }

    .mrt-reminder-config-slider:before,
    .mrt-reminder-config-slider::before {
        height: 18px; /* Standardized */
        width: 18px; /* Standardized */
        left: 4px;
        bottom: 4px;
    }

    .mrt-reminder-config-switch
        input:checked
        + .mrt-reminder-config-slider:before,
    .mrt-reminder-config-switch
        input:checked
        + .mrt-reminder-config-slider::before {
        transform: translateX(20px); /* Standardized */
    }
}

/* =========================================
   6. GLOBAL FEEDBACK - BOTTOM SHEET
   ========================================= */
/* MaxRepTracker Calendar - Bottom Sheet Layout */

.mrt-bottom-sheet-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition:
        opacity 0.3s ease,
        visibility 0.3s ease;
    z-index: 9998;
}

.mrt-bottom-sheet-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mrt-bottom-sheet {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) translateY(100%);
    width: 100%;
    max-width: 500px;
    background: #ffffff;
    border: 1px solid var(--mrt-calendar-border);
    border-bottom: none;
    border-radius: 24px 24px 0 0;
    padding: 0 20px 16px;
    color: var(--mrt-calendar-text);
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.15);
    transition:
        transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
        visibility 0.35s;
    z-index: 9999;
    max-height: 85vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    visibility: hidden;
}

.mrt-bottom-sheet.active {
    transform: translateX(-50%) translateY(0);
    visibility: visible;
}

.mrt-bottom-sheet-handle {
    width: 40px;
    height: 4px;
    background: #cccccc;
    border-radius: 4px;
    margin: 12px auto 16px;
    cursor: grab;
}

.mrt-bottom-sheet-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--mrt-calendar-border);
}

.mrt-bottom-sheet-date {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #a29bfe, #6c5ce7);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mrt-bottom-sheet-close {
    background: #f0f0f0;
    border: none;
    color: var(--mrt-calendar-text);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 1.3rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.mrt-bottom-sheet-close:hover {
    background: #e0e0e0;
    transform: scale(1.1);
}

.mrt-bottom-sheet-content {
    flex: 1;
    overflow-y: auto;
    padding: 16px 16px 16px 0;
    -webkit-overflow-scrolling: touch;
}

/* Mobile optimizations */
@media (max-width: 480px) {
    .mrt-bottom-sheet {
        max-height: 65vh;
        padding: 0 16px 20px;
        max-width: 100%;
        left: 0;
        transform: translateY(100%);
    }

    .mrt-bottom-sheet.active {
        transform: translateY(0);
    }
}

/* Dark Mode Styles */
html.maxreptracker-dark-mode-enabled .mrt-bottom-sheet {
    background: var(--maxreptracker-dark-bg, #1a1a1a) !important;
    border-color: var(--maxreptracker-dark-border, #333333) !important;
    color: var(--maxreptracker-dark-text, #ffffff) !important;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.5);
}

html.maxreptracker-dark-mode-enabled .mrt-bottom-sheet-handle {
    background: rgba(255, 255, 255, 0.3);
}

html.maxreptracker-dark-mode-enabled .mrt-bottom-sheet-header {
    border-bottom-color: var(--maxreptracker-dark-border, #333333);
}

html.maxreptracker-dark-mode-enabled .mrt-bottom-sheet-close {
    background: rgba(255, 255, 255, 0.1);
    color: var(--maxreptracker-dark-text, #ffffff);
}

html.maxreptracker-dark-mode-enabled .mrt-bottom-sheet-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

html.maxreptracker-dark-mode-enabled .mrt-bottom-sheet-overlay {
    background: rgba(0, 0, 0, 0.7);
}

/* =========================================
   7. GLOBAL FEEDBACK - TOP SHEET
   ========================================= */
/* MaxRepTracker Calendar - Top Sheet for Note Editing */

.mrt-top-sheet-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition:
        opacity 0.3s ease,
        visibility 0.3s ease;
    z-index: 9998;
}

.mrt-top-sheet-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mrt-top-sheet {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%) translateY(-100%);
    width: 100%;
    max-width: 500px;
    background: #ffffff;
    border: 1px solid var(--mrt-calendar-border);
    border-top: none;
    border-radius: 0 0 24px 24px;
    padding: 16px 20px 20px;
    color: var(--mrt-calendar-text);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    transition:
        transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
        visibility 0.35s;
    z-index: 9999;
    max-height: 60vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    visibility: hidden;
}

.mrt-top-sheet.active {
    transform: translateX(-50%) translateY(0);
    visibility: visible;
}

/* WP Admin Bar adjustments */
body.admin-bar .mrt-top-sheet {
    top: 32px;
}

body.admin-bar .mrt-top-sheet-overlay {
    top: 32px;
}

@media screen and (max-width: 782px) {
    body.admin-bar .mrt-top-sheet {
        top: 46px;
    }
    body.admin-bar .mrt-top-sheet-overlay {
        top: 46px;
    }
}

.mrt-top-sheet-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--mrt-calendar-border);
    margin-bottom: 12px;
}

.mrt-top-sheet-title {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
    background: linear-gradient(135deg, #f39c12, #e74c3c);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    flex: 1;
    text-align: center;
}

.mrt-top-sheet-close {
    background: #f0f0f0;
    border: none;
    color: var(--mrt-calendar-text);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 1.3rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    flex-shrink: 0;
    padding: 0;
}

.mrt-top-sheet-close:hover {
    background: #e0e0e0;
    transform: scale(1.1);
}

.mrt-top-sheet-save {
    background: linear-gradient(135deg, #00d2d3, #01a3a4);
    border: none;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.mrt-top-sheet-save:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 210, 211, 0.3);
}

.mrt-top-sheet-save:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.mrt-top-sheet-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

#mrt-note-textarea {
    width: 100%;
    min-height: 120px;
    max-height: 200px;
    padding: 12px;
    border: 1px solid var(--mrt-calendar-border);
    border-radius: 12px;
    font-size: 0.95rem;
    font-family: inherit;
    resize: vertical;
    box-sizing: border-box;
    transition: border-color 0.2s ease;
}

#mrt-note-textarea:focus {
    outline: none;
    border-color: var(--mrt-calendar-accent);
}

#mrt-note-textarea::placeholder {
    color: #999999;
}

.mrt-top-sheet-footer {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--mrt-calendar-border);
    display: flex;
    justify-content: center;
}

.mrt-top-sheet-delete {
    background: transparent;
    border: 1px solid #e74c3c;
    color: #e74c3c;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.mrt-top-sheet-delete:hover {
    background: #e74c3c;
    color: white;
}

.mrt-top-sheet-delete:disabled,
.mrt-top-sheet-delete.hidden {
    display: none;
}

/* Mobile optimizations */
@media (max-width: 480px) {
    .mrt-top-sheet {
        max-height: 50vh;
        padding: 12px 16px 16px;
        max-width: 100%;
        left: 0;
        transform: translateY(-100%);
        border-radius: 0 0 16px 16px;
    }

    .mrt-top-sheet.active {
        transform: translateY(0);
    }

    #mrt-note-textarea {
        min-height: 100px;
    }
}

/* Dark Mode Styles */
html.maxreptracker-dark-mode-enabled .mrt-top-sheet {
    background: var(--maxreptracker-dark-bg, #1a1a1a) !important;
    border-color: var(--maxreptracker-dark-border, #333333) !important;
    color: var(--maxreptracker-dark-text, #ffffff) !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

html.maxreptracker-dark-mode-enabled .mrt-top-sheet-header {
    border-bottom-color: var(--maxreptracker-dark-border, #333333);
}

html.maxreptracker-dark-mode-enabled .mrt-top-sheet-close {
    background: rgba(255, 255, 255, 0.1);
    color: var(--maxreptracker-dark-text, #ffffff);
}

html.maxreptracker-dark-mode-enabled .mrt-top-sheet-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

html.maxreptracker-dark-mode-enabled .mrt-top-sheet-footer {
    border-top-color: var(--maxreptracker-dark-border, #333333);
}

html.maxreptracker-dark-mode-enabled #mrt-note-textarea {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--maxreptracker-dark-border, #333333);
    color: var(--maxreptracker-dark-text, #ffffff);
}

html.maxreptracker-dark-mode-enabled #mrt-note-textarea:focus {
    border-color: var(--mrt-calendar-accent);
}

html.maxreptracker-dark-mode-enabled #mrt-note-textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

html.maxreptracker-dark-mode-enabled .mrt-top-sheet-overlay {
    background: rgba(0, 0, 0, 0.7);
}

/* =========================================
   8. SPECIALIZED DETAIL PANELS - WORKOUT DETAILS
   ========================================= */
/* MaxRepTracker Calendar - Workout Details in Bottom Sheet */

.mrt-sheet-exercise {
    background: #f8f8f8;
    border: 1px solid var(--mrt-calendar-border);
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    color: inherit;
}

.mrt-sheet-exercise:hover {
    background: #f0f0f0;
    border-color: rgba(0, 210, 211, 0.3);
}

.mrt-sheet-exercise:last-child {
    margin-bottom: 0;
}

.mrt-sheet-exercise-info {
    flex: 1;
    min-width: 0;
}

.mrt-sheet-exercise-name {
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mrt-sheet-exercise-detail {
    opacity: 0.6;
    font-weight: 400;
}

.mrt-sheet-exercise-stats {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-shrink: 0;
}

.mrt-sheet-stat {
    text-align: center;
}

.mrt-sheet-stat-value {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--mrt-calendar-workout);
}

.mrt-sheet-stat-label {
    font-size: 0.7rem;
    opacity: 0.6;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.mrt-sheet-arrow {
    color: #999999;
    font-size: 1.2rem;
    margin-left: 8px;
}

/* Loading state */
.mrt-sheet-loading {
    text-align: center;
    padding: 40px 20px;
    color: #666666;
}

.mrt-sheet-loading::after {
    content: "";
    display: block;
    width: 24px;
    height: 24px;
    margin: 12px auto 0;
    border: 2px solid #e0e0e0;
    border-top-color: var(--mrt-calendar-workout);
    border-radius: 50%;
    animation: mrt-spin 0.8s linear infinite;
}

@keyframes mrt-spin {
    to {
        transform: rotate(360deg);
    }
}

/* Empty state */
.mrt-sheet-empty {
    text-align: center;
    padding: 40px 20px;
    color: #666666;
}

/* Mobile adaptations */
@media (max-width: 480px) {
    .mrt-sheet-exercise {
        padding: 14px;
    }

    .mrt-sheet-exercise-stats {
        gap: 12px;
    }

    .mrt-sheet-stat-value {
        font-size: 1rem;
    }
}

/* =========================================
   9. SPECIALIZED DETAIL PANELS - REMINDER DETAILS
   ========================================= */
/* MaxRepTracker Calendar - Reminder Details in Bottom Sheet */

.mrt-sheet-reminder-info {
    padding: 10px 0;
    text-align: center;
}

/* Removed .mrt-sheet-reminder-header styles to save space */

.mrt-sheet-stat-wide {
    background: var(--mrt-calendar-day-bg);
    border: 1px solid var(--mrt-calendar-border);
    border-radius: 16px;
    padding: 12px 16px;
    margin: 12px 0;
}

.mrt-sheet-reminder-info p {
    color: #666;
    font-size: 1rem;
    line-height: 1.5;
    margin: 0;
}

.mrt-reminder-note {
    font-size: 0.85rem !important;
    color: #888 !important;
    font-style: italic;
    margin-top: 15px !important;
}

.mrt-quick-time-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 8px;
}

.mrt-quick-time-input {
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid var(--mrt-calendar-border);
    color: var(--mrt-calendar-text) !important;
    padding: 8px 16px;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    width: auto;
    text-align: center;
}

.mrt-quick-btn-small {
    background: var(--mrt-calendar-accent);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.mrt-quick-btn-small:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(108, 92, 231, 0.3);
}

.mrt-quick-btn-danger,
.mrt-save-btn {
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 18px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 100%;
}

.mrt-quick-btn-danger {
    background: #ff7675;
    margin-bottom: 5px;
}

.mrt-quick-btn-danger:hover {
    background: #ff5252;
    box-shadow: 0 4px 12px rgba(255, 118, 117, 0.3);
}

.mrt-quick-btn-secondary {
    background: rgba(0, 0, 0, 0.05);
    color: #666;
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 10px 24px;
    border-radius: 18px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 100%;
    margin-top: 8px;
}

.mrt-quick-btn-secondary:hover {
    background: rgba(0, 0, 0, 0.1);
    color: #333;
}

html.maxreptracker-dark-mode-enabled .mrt-quick-btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.7);
    border-color: rgba(255, 255, 255, 0.1);
}

html.maxreptracker-dark-mode-enabled .mrt-quick-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.mrt-save-btn {
    background: var(--mrt-calendar-accent);
}

.mrt-save-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(108, 92, 231, 0.3);
}

/* Removed .mrt-quick-message styles */

/* Dark Mode Styles */
html.maxreptracker-dark-mode-enabled .mrt-sheet-stat-wide {
    background: rgba(255, 255, 255, 0.05) !important;
    border-color: var(--maxreptracker-dark-border, #333333) !important;
}

html.maxreptracker-dark-mode-enabled .mrt-sheet-reminder-info p {
    color: rgba(255, 255, 255, 0.7) !important;
}

html.maxreptracker-dark-mode-enabled .mrt-reminder-note {
    color: rgba(255, 255, 255, 0.5) !important;
}

html.maxreptracker-dark-mode-enabled .mrt-quick-time-input {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: var(--maxreptracker-dark-border, #333333) !important;
    color: var(--maxreptracker-dark-text, #ffffff) !important;
}

/* Removed obsolete dark mode header/icon rules */

.mrt-sheet-divider {
    border: none;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    margin: 12px 0;
}

html.maxreptracker-dark-mode-enabled .mrt-sheet-divider {
    border-top-color: rgba(255, 255, 255, 0.1);
}

/* =========================================
   10. SPECIALIZED DETAIL PANELS - NOTE DISPLAY
   ========================================= */
/* MaxRepTracker Calendar - Note Display in Bottom Sheet */

.mrt-sheet-note {
    background: linear-gradient(
        135deg,
        rgba(243, 156, 18, 0.1),
        rgba(231, 76, 60, 0.1)
    );
    border: 1px solid rgba(243, 156, 18, 0.3);
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.mrt-sheet-note:hover {
    background: linear-gradient(
        135deg,
        rgba(243, 156, 18, 0.15),
        rgba(231, 76, 60, 0.15)
    );
    border-color: rgba(243, 156, 18, 0.5);
    transform: translateY(-2px);
}

.mrt-sheet-note-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.mrt-sheet-note-title {
    font-weight: 600;
    font-size: 0.9rem;
    color: #f39c12;
    display: flex;
    align-items: center;
    gap: 6px;
}

.mrt-sheet-note-title::before {
    content: "";
    width: 14px;
    height: 14px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23e74c3c'%3E%3Cpath d='M16 9V4l1-1V2H7v1l1 1v5c0 3.39-2 4-2 6h5v7l1 1 1-1v-7h5c0-2-2-2.61-2-6z'%3E%3C/path%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    display: inline-block;
}

.mrt-sheet-note-content {
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--mrt-calendar-text);
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    white-space: pre-wrap;
}

.mrt-sheet-note-empty {
    text-align: center;
    padding: 20px 16px;
    color: #999999;
}

.mrt-sheet-add-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(
        135deg,
        rgba(243, 156, 18, 0.1),
        rgba(231, 76, 60, 0.1)
    );
    border: 1px dashed rgba(243, 156, 18, 0.4);
    border-radius: 16px;
    padding: 14px 20px;
    color: #f39c12;
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-bottom: 10px;
}

.mrt-sheet-add-note:hover {
    background: linear-gradient(
        135deg,
        rgba(243, 156, 18, 0.15),
        rgba(231, 76, 60, 0.15)
    );
    border-style: solid;
    transform: translateY(-2px);
}

.mrt-sheet-add-note::before {
    content: "";
    width: 16px;
    height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23e74c3c'%3E%3Cpath d='M16 9V4l1-1V2H7v1l1 1v5c0 3.39-2 4-2 6h5v7l1 1 1-1v-7h5c0-2-2-2.61-2-6z'%3E%3C/path%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    display: inline-block;
}

/* Dark Mode Styles */
html.maxreptracker-dark-mode-enabled .mrt-sheet-note {
    background: linear-gradient(
        135deg,
        rgba(243, 156, 18, 0.08),
        rgba(231, 76, 60, 0.08)
    ) !important;
    border-color: rgba(243, 156, 18, 0.25) !important;
}

html.maxreptracker-dark-mode-enabled .mrt-sheet-note:hover {
    background: linear-gradient(
        135deg,
        rgba(243, 156, 18, 0.12),
        rgba(231, 76, 60, 0.12)
    ) !important;
}

html.maxreptracker-dark-mode-enabled .mrt-sheet-note-content {
    color: var(--maxreptracker-dark-text, #ffffff);
}

html.maxreptracker-dark-mode-enabled .mrt-sheet-add-note {
    background: linear-gradient(
        135deg,
        rgba(243, 156, 18, 0.08),
        rgba(231, 76, 60, 0.08)
    ) !important;
    border-color: rgba(243, 156, 18, 0.25) !important;
}

html.maxreptracker-dark-mode-enabled .mrt-sheet-add-note:hover {
    background: linear-gradient(
        135deg,
        rgba(243, 156, 18, 0.12),
        rgba(231, 76, 60, 0.12)
    ) !important;
}

html.maxreptracker-dark-mode-enabled .mrt-sheet-note-empty {
    color: rgba(255, 255, 255, 0.5);
}

/* =========================================
   11. SPECIALIZED DETAIL PANELS - MODAL
   ========================================= */
/* MaxRepTracker Calendar - Custom Modal for Deletion Confirmation */

.mrt-calendar-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2147483647 !important; /* Max value to be above everything else possible */
    opacity: 0;
    visibility: hidden;
    transition:
        opacity 0.3s ease,
        visibility 0.3s ease;
}

.mrt-calendar-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mrt-calendar-modal {
    background: #fff;
    border-radius: 12px;
    padding: 0;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
}

.mrt-calendar-modal-overlay.active .mrt-calendar-modal {
    transform: scale(1);
}

.mrt-calendar-modal-header {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.mrt-calendar-modal-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.mrt-calendar-modal-title {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    line-height: 1.3;
}

.mrt-calendar-modal-body {
    padding: 24px;
}

.mrt-calendar-modal-message {
    font-size: 15px;
    line-height: 1.6;
    margin: 0 0 24px 0;
    color: #555;
}

.mrt-calendar-modal-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.mrt-calendar-modal-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    outline: none;
}

.mrt-calendar-modal-btn-cancel {
    background: #f0f0f0;
    color: #555;
}

.mrt-calendar-modal-btn-cancel:hover {
    background: #e0e0e0;
}

.mrt-calendar-modal-btn-delete {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
    color: #fff;
}

.mrt-calendar-modal-btn-delete:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(238, 90, 111, 0.3);
}

/* Dark Mode Support */
html.maxreptracker-dark-mode-enabled .mrt-calendar-modal {
    background: #1e1e1e;
    color: #eee;
}

html.maxreptracker-dark-mode-enabled .mrt-calendar-modal-message {
    color: #bbb;
}

html.maxreptracker-dark-mode-enabled .mrt-calendar-modal-btn-cancel {
    background: #333;
    color: #ccc;
}

html.maxreptracker-dark-mode-enabled .mrt-calendar-modal-btn-cancel:hover {
    background: #444;
}

/* Mobile adjustments */
@media (max-width: 480px) {
    .mrt-calendar-modal-actions {
        flex-direction: column-reverse;
    }

    .mrt-calendar-modal-btn {
        width: 100%;
    }
}
