:root {
    /* Color Palette */
    --bg-main: #0a0a1a;
    --bg-elevated: #12122a;
    --bg-card: rgba(18, 18, 42, 0.7);
    --bg-card-hover: rgba(28, 28, 60, 0.8);
    --text-main: #f0f0ff;
    --text-muted: #7a8ba8;

    /* Gradients & Accents */
    --accent-gradient: linear-gradient(135deg, #8b5cf6, #ec4899);
    --accent-glow: rgba(139, 92, 246, 0.35);

    /* Event Colors */
    --color-primary: #8b5cf6;
    --color-secondary: #ec4899;
    --color-tertiary: #06b6d4;

    /* Spacing & Radii */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-pill: 9999px;

    --safe-top: env(safe-area-inset-top, 0px);
    --safe-bottom: env(safe-area-inset-bottom, 0px);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.5;
    min-height: 100vh;
    min-height: 100dvh;
    padding-top: var(--safe-top);
    padding-bottom: var(--safe-bottom);
    overflow-x: hidden;
    background-image:
        radial-gradient(ellipse at 20% 0%, rgba(139, 92, 246, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 100%, rgba(236, 72, 153, 0.06) 0%, transparent 60%);
}

/* Glassmorphism utility */
.glass-panel {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-md);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.app-container {
    max-width: 480px;
    margin: 0 auto;
    padding: 16px;
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - var(--safe-top) - var(--safe-bottom));
    min-height: calc(100dvh - var(--safe-top) - var(--safe-bottom));
}

/* ===== Header ===== */
.app-header {
    text-align: center;
    padding: 16px 0 24px;
}

.header-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.header-logo h1 {
    font-size: 1.4rem;
    font-weight: 700;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-icon {
    font-size: 1.6rem;
    animation: pulse 3s ease-in-out infinite;
}

/* ===== Import Section ===== */
.import-section {
    margin-bottom: 20px;
}

.import-dropzone {
    border: 2px dashed rgba(139, 92, 246, 0.35);
    border-radius: var(--radius-lg);
    padding: 36px 20px;
    text-align: center;
    transition: all 0.3s ease;
    background: rgba(139, 92, 246, 0.04);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.import-dropzone::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--accent-gradient);
    opacity: 0;
    transition: opacity 0.3s;
}

.import-dropzone:hover,
.import-dropzone.drag-over {
    border-color: #8b5cf6;
    background: rgba(139, 92, 246, 0.1);
    box-shadow: 0 0 30px var(--accent-glow), inset 0 0 30px rgba(139, 92, 246, 0.05);
    transform: scale(1.01);
}

.import-dropzone.drag-over::before {
    opacity: 0.05;
}

.dropzone-content {
    position: relative;
    z-index: 1;
}

.dropzone-content h2 {
    font-size: 1.15rem;
    margin: 12px 0 6px;
    font-weight: 600;
}

.dropzone-content p {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 20px;
}

.drop-icon {
    font-size: 2.5rem;
    display: block;
}

.file-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

.btn-primary {
    background: var(--accent-gradient);
    color: white;
    border: none;
    padding: 10px 22px;
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 0.9rem;
    pointer-events: none;
    box-shadow: 0 4px 16px var(--accent-glow);
}

.import-help {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.75rem;
    margin-top: 12px;
    opacity: 0.7;
    line-height: 1.4;
}

/* ===== Stats Bar ===== */
.stats-bar {
    display: none;
    justify-content: space-around;
    align-items: center;
    padding: 14px 12px;
    margin-bottom: 20px;
}

.stats-bar.visible {
    display: flex;
    animation: fadeSlideUp 0.4s ease;
}

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

.stat-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.stat-value {
    font-size: 1.6rem;
    font-weight: 700;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-divider {
    width: 1px;
    height: 32px;
    background: rgba(255, 255, 255, 0.08);
}

.btn-clear {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.btn-clear:hover {
    background: rgba(236, 72, 153, 0.15);
    border-color: rgba(236, 72, 153, 0.3);
}

.btn-clear.btn-export:hover {
    background: rgba(139, 92, 246, 0.15);
    border-color: rgba(139, 92, 246, 0.3);
}

/* ===== Tabs ===== */
.tabs-nav {
    display: none;
    background: var(--bg-card);
    border-radius: var(--radius-pill);
    padding: 4px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.tabs-nav.visible {
    display: flex;
    animation: fadeSlideUp 0.4s ease 0.1s both;
}

.tab-btn {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--text-muted);
    padding: 10px 8px;
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    cursor: pointer;
    font-family: inherit;
}

.tab-btn.active {
    background: var(--accent-gradient);
    color: white;
    box-shadow: 0 4px 16px var(--accent-glow);
}

/* ===== Views ===== */
.view {
    display: none;
}

.view.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

/* ===== Calendar ===== */
.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.calendar-title {
    font-size: 1.15rem;
    font-weight: 600;
}

.icon-btn {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: white;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.8rem;
}

.icon-btn:hover {
    background: var(--bg-card-hover);
    box-shadow: 0 0 12px var(--accent-glow);
}

.icon-btn:active {
    transform: scale(0.92);
}

.calendar-container {
    padding: 16px;
}

.weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    border-radius: 50%;
    position: relative;
    transition: all 0.2s ease;
    cursor: default;
    font-weight: 500;
}

.calendar-day.empty {
    cursor: default;
}

.calendar-day.has-events {
    cursor: pointer;
}

.calendar-day.has-events:hover {
    background: rgba(139, 92, 246, 0.12);
    transform: scale(1.08);
}

.calendar-day.has-events:active {
    transform: scale(0.95);
}

.calendar-day.today {
    background: var(--accent-gradient);
    font-weight: 700;
    box-shadow: 0 2px 12px var(--accent-glow);
    color: white;
}

.calendar-day.today.has-events:hover {
    box-shadow: 0 4px 20px var(--accent-glow);
}

.calendar-day .dots {
    display: flex;
    gap: 3px;
    position: absolute;
    bottom: 3px;
    align-items: center;
}

.calendar-day .dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    animation: dotAppear 0.3s ease;
}

/* ===== Events List ===== */
.events-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.list-month-header {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    padding: 16px 0 8px;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.list-month-header:first-child {
    padding-top: 0;
}

.list-item {
    display: flex;
    align-items: center;
    padding: 14px 16px;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    border-left: 3px solid rgba(255, 255, 255, 0.08);
    transition: all 0.2s;
    gap: 12px;
    border: 1px solid rgba(255, 255, 255, 0.04);
    animation: fadeSlideUp 0.3s ease;
}

.list-item:active {
    transform: scale(0.98);
}

.list-item.upcoming-today {
    border-left: 3px solid var(--color-secondary);
    background: rgba(236, 72, 153, 0.08);
    box-shadow: 0 0 20px rgba(236, 72, 153, 0.1);
}

.list-item.upcoming-close {
    border-left: 3px solid var(--color-tertiary);
}

.item-emoji {
    font-size: 1.8rem;
    flex-shrink: 0;
}

.item-details {
    flex: 1;
    min-width: 0;
}

.item-name {
    font-weight: 600;
    font-size: 0.95rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.item-date {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 2px;
}

.item-days {
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.04);
    flex-shrink: 0;
}

.item-days.today {
    background: var(--accent-gradient);
    color: white;
    box-shadow: 0 2px 8px var(--accent-glow);
}

.item-days.soon {
    background: rgba(6, 182, 212, 0.12);
    color: var(--color-tertiary);
}

.empty-state {
    text-align: center;
    padding: 48px 20px;
    color: var(--text-muted);
}

.empty-state .empty-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 12px;
    opacity: 0.5;
}

/* ===== Modal ===== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 100;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-overlay.active {
    display: flex;
    animation: fadeIn 0.2s ease;
}

.modal-overlay.active .modal-content {
    animation: scaleIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal-content {
    width: 100%;
    max-width: 380px;
    padding: 24px;
    position: relative;
    max-height: 70vh;
    overflow-y: auto;
}

.modal-close {
    position: absolute;
    top: 12px;
    right: 14px;
    background: rgba(255, 255, 255, 0.08);
    border: none;
    color: var(--text-muted);
    font-size: 1.4rem;
    cursor: pointer;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    line-height: 1;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.15);
    color: white;
}

.modal-day-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 16px;
    padding-right: 36px;
}

.modal-events {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.modal-event-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: var(--radius-sm);
    transition: background 0.2s;
}

.modal-event-item:hover {
    background: rgba(255, 255, 255, 0.07);
}

.modal-event-item .emoji {
    font-size: 1.6rem;
    flex-shrink: 0;
}

.modal-event-item .event-details {
    flex: 1;
}

.modal-event-item .event-name {
    font-weight: 600;
    font-size: 0.95rem;
}

.modal-event-item .event-type {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 2px;
}

/* ===== Footer ===== */
.app-footer {
    margin-top: auto;
    text-align: center;
    padding: 24px 0 8px;
    font-size: 0.75rem;
    color: var(--text-muted);
    opacity: 0.6;
}

/* ===== Animations ===== */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.88);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes dotAppear {
    from {
        opacity: 0;
        transform: scale(0);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}

/* ===== Scrollbar ===== */
::-webkit-scrollbar {
    width: 4px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
}

/* ===== Responsive ===== */
@media (max-width: 390px) {
    .app-container {
        padding: 12px;
    }

    .calendar-day {
        font-size: 0.82rem;
    }

    .header-logo h1 {
        font-size: 1.2rem;
    }

    .import-dropzone {
        padding: 28px 16px;
    }
}

/* Import section collapse when data loaded */
.import-section.collapsed .import-dropzone {
    padding: 16px;
}

.import-section.collapsed .drop-icon {
    font-size: 1.5rem;
}

.import-section.collapsed .dropzone-content h2 {
    font-size: 0.9rem;
    margin: 6px 0 4px;
}

.import-section.collapsed .dropzone-content p,
.import-section.collapsed .btn-primary {
    display: none;
}

.import-section.collapsed .import-help {
    display: none;
}

/* Toast notification */
.toast {
    position: fixed;
    bottom: calc(24px + var(--safe-bottom));
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--bg-elevated);
    color: var(--text-main);
    padding: 12px 24px;
    border-radius: var(--radius-pill);
    font-size: 0.85rem;
    font-weight: 500;
    z-index: 200;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: none;
}

.toast.show {
    transform: translateX(-50%) translateY(0);
}

/* ===== Today's Events Banner ===== */
.today-banner {
    margin-bottom: 16px;
    padding: 16px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.12), rgba(236, 72, 153, 0.12));
    border: 1px solid rgba(139, 92, 246, 0.2);
    animation: fadeSlideUp 0.5s ease;
}

.today-banner-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.today-banner-header h2 {
    font-size: 1rem;
    font-weight: 700;
}

.today-pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ec4899;
    animation: livePulse 2s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes livePulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(236, 72, 153, 0.6);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(236, 72, 153, 0);
    }
}

.today-banner-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.today-event-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: var(--radius-sm);
}

.today-event-item .today-emoji {
    font-size: 1.4rem;
    flex-shrink: 0;
}

.today-event-item .today-info {
    flex: 1;
}

.today-event-item .today-name {
    font-weight: 600;
    font-size: 0.9rem;
}

.today-event-item .today-label {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ===== Update Banner ===== */
.update-banner {
    margin: 0 16px 16px;
    padding: 12px 16px;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.15) 0%, rgba(139, 92, 246, 0.15) 100%);
    border: 1px solid rgba(6, 182, 212, 0.3);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: var(--radius-md);
    animation: fadeSlideUp 0.4s ease;
}

.update-banner span {
    font-size: 0.9rem;
    font-weight: 500;
}

.btn-update {
    background: rgba(6, 182, 212, 0.2);
    border: 1px solid rgba(6, 182, 212, 0.4);
    color: var(--text-main);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-update:hover {
    background: rgba(6, 182, 212, 0.4);
}

/* ===== Notification Permission Banner ===== */
.notification-banner {
    margin-bottom: 16px;
    padding: 16px;
    border-radius: var(--radius-md);
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.06);
    animation: fadeSlideUp 0.4s ease;
}

.notification-banner-content {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
}

.notif-icon {
    font-size: 1.6rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.notif-text strong {
    font-size: 0.9rem;
    display: block;
    margin-bottom: 2px;
}

.notif-text p {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.notif-actions {
    display: flex;
    gap: 10px;
}

.btn-notif-enable {
    flex: 1;
    padding: 10px 16px;
    border: none;
    border-radius: var(--radius-pill);
    background: var(--accent-gradient);
    color: white;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    font-family: inherit;
    box-shadow: 0 4px 12px var(--accent-glow);
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-notif-enable:active {
    transform: scale(0.96);
}

.btn-notif-dismiss {
    padding: 10px 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-pill);
    background: transparent;
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.85rem;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s;
}

.btn-notif-dismiss:hover {
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--text-main);
}

/* ===== Notification Status (footer) ===== */
.notif-status {
    margin-top: 4px;
    font-size: 0.7rem;
}

/* ===== Event Label Editing ===== */

/* Label row in modal */
.event-label-row {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.event-label-row .event-type {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 2px;
}

.event-original-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    opacity: 0.5;
    font-style: italic;
}

.btn-edit-label {
    background: none;
    border: none;
    font-size: 0.75rem;
    cursor: pointer;
    padding: 2px 4px;
    border-radius: 4px;
    opacity: 0.4;
    transition: opacity 0.2s;
    flex-shrink: 0;
    line-height: 1;
}

.btn-edit-label:hover,
.modal-event-item:hover .btn-edit-label {
    opacity: 1;
}

/* Inline edit form */
.event-edit-form {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
    animation: fadeIn 0.2s ease;
}

.edit-label-input {
    flex: 1;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: var(--radius-sm);
    padding: 7px 10px;
    color: var(--text-main);
    font-family: inherit;
    font-size: 0.85rem;
    outline: none;
    transition: border-color 0.2s;
}

.edit-label-input:focus {
    border-color: #8b5cf6;
    box-shadow: 0 0 0 2px rgba(139, 92, 246, 0.15);
}

.edit-label-input::placeholder {
    color: var(--text-muted);
    opacity: 0.5;
}

.edit-label-input.full {
    width: 100%;
    padding: 10px 12px;
    font-size: 0.9rem;
    margin-top: 6px;
}

.edit-actions {
    display: flex;
    gap: 4px;
    flex-shrink: 0;
}

.btn-edit-save,
.btn-edit-cancel,
.btn-edit-reset {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-main);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    font-size: 0.85rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    line-height: 1;
}

.btn-edit-save {
    background: rgba(139, 92, 246, 0.2);
    border-color: rgba(139, 92, 246, 0.3);
}

.btn-edit-save:hover {
    background: rgba(139, 92, 246, 0.4);
}

.btn-edit-cancel:hover {
    background: rgba(255, 255, 255, 0.12);
}

.btn-edit-reset {
    font-size: 0.9rem;
}

.btn-edit-reset:hover {
    background: rgba(236, 72, 153, 0.15);
    border-color: rgba(236, 72, 153, 0.3);
}

/* Edit button in list items */
.btn-edit-inline {
    background: none;
    border: none;
    font-size: 0.8rem;
    cursor: pointer;
    padding: 4px 6px;
    border-radius: 6px;
    opacity: 0;
    transition: opacity 0.2s;
    flex-shrink: 0;
}

.list-item:hover .btn-edit-inline,
.list-item:active .btn-edit-inline {
    opacity: 0.6;
}

.btn-edit-inline:hover {
    opacity: 1 !important;
}

/* On touch devices, always show edit button */
@media (hover: none) {
    .btn-edit-inline {
        opacity: 0.4;
    }
    .btn-edit-label {
        opacity: 0.6;
    }
}

/* Original label in list view */
.list-original-label {
    font-size: 0.7rem;
    opacity: 0.45;
    font-style: italic;
}

/* Edit modal form */
.edit-modal-info {
    text-align: center;
    margin-bottom: 20px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-sm);
}

.edit-modal-date {
    font-size: 1rem;
    font-weight: 600;
}

.edit-modal-age {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.edit-modal-type {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 4px;
    opacity: 0.7;
}

.edit-modal-form {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.edit-form-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.edit-modal-actions {
    display: flex;
    gap: 8px;
    margin-top: 8px;
}

.edit-modal-actions .btn-notif-enable,
.edit-modal-actions .btn-notif-dismiss {
    flex: 1;
}

