* {
    box-sizing: border-box;
}
/* {
    outline: 1px solid red;
} */

/* Global */
body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', 'Noto Color Emoji', -apple-system, sans-serif;
    background: linear-gradient(180deg, #ffeef2, #fff7fa);
    min-height: 100vh;
}

.container {
    width: 100%;
    max-width: 420px;
    box-sizing: border-box;
    padding: calc(env(safe-area-inset-top) + 8px) 20px 20px 20px;
    margin: 0 auto;
    transition: max-width 0.35s ease-in-out; /* Smooth transition when resizing */
}

.container.wide-container {
    max-width: 1200px;
}

/* Title */
h1 {
    text-align: center;
    font-weight: 600;
    margin-bottom: 5px;
    color: #d6336c;
}

.subtitle {
    text-align: center;
    margin-bottom: 25px;
    color: #555;
}

/* Card */
.card {
    background: white;
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* Form layout */
form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* Labels */
label {
    font-size: 14px;
    font-weight: 500;
    color: #444;
}

/* Inputs */
input {
    padding: 8px 14px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 16px;
    outline: none;
    transition: 0.2s;
}

input:focus {
    border-color: #d6336c;
    box-shadow: 0 0 0 3px rgba(214, 51, 108, 0.2);
}

/* Button */
button {
    margin-top: 10px;
    padding: 14px;
    background: #d6336c;
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
}

button:hover {
    background: #b82a59;
}

button:active {
    transform: scale(0.98);
}

/* Loading state */
button.loading {
    opacity: 0.6;
    cursor: not-allowed;
}

button.loading::after {
    content: " ⏳";
}

/* Status message */
#status {
    margin-top: 15px;
    text-align: center;
    font-weight: 500;
    font-size: 16px;
}

#status.success {
    color: #2e7d32; /* green */
}

#status.error {
    color: #c62828; /* red */
}

/* Tabs */
.tabs {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.tab {
    flex: 1;
    padding: 12px;
    background: #f3d7df;
    border: none;
    border-radius: 10px;
    margin: 0 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
}

.tab.active {
    background: #d6336c;
    color: white;
}

.tabContent {
    display: none;
}

.tabContent.active {
    display: block;
}

.fart-row {
    display: flex;
    gap: 12px;
    align-items: center;
}

.fart-icon {
    width: 40px;
    height: 40px;
    opacity: 0.4;
    transition: 0.2s;
}

.fart-zero {
    opacity: 0.15;
}

/* Tint only the visible pixels */
.fart-green {
    opacity: 1;
    filter: sepia(1) hue-rotate(80deg) saturate(4) brightness(1.1);
}

.fart-yellow {
    opacity: 1;
    filter: sepia(1) hue-rotate(20deg) saturate(4) brightness(1.1);
}

.fart-red {
    opacity: 1;
    filter: sepia(1) hue-rotate(-40deg) saturate(5) brightness(1.1);
}


.sex-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

/* Hide the real checkbox */
.sex-toggle input[type="checkbox"] {
    display: none;
}

.sex-indicator {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid #d6336c;
    background: #fff;
    transition: 0.2s;
    box-shadow: 0 0 4px rgba(0,0,0,0.15);
    background-size: cover;
    background-position: center;
}

.sex-toggle input[type="checkbox"]:checked + .sex-indicator {
    background-color: #d6336c; /* pink/red background */
    background-image: url("Sex.png"); /* your image */
    background-size: 120%; /* adjust as needed */
    background-position: center;
    background-repeat: no-repeat;
    transform: scale(1.1);
    border-color: #d6336c;
    box-shadow: 0 0 6px rgba(214, 51, 108, 0.5);
}

.sex-row {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Happy toggle looks similar */
.happy-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.happy-toggle input[type="checkbox"] {
    display: none;
}

.happy-indicator {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid #d6336c;
    background: #fff;
    background-image: url("Happy-off.png"); /* OFF image */
    background-size: 70%;
    background-position: center;
    background-repeat: no-repeat;
    transition: 0.2s;
    box-shadow: 0 0 4px rgba(0,0,0,0.15);
    opacity: 1;
}


.happy-toggle input[type="checkbox"]:checked + .happy-indicator {
    background-color: #d6336c;
    background-image: url("Happy-on.png"); /* ON image */
    background-size: 70%;
    background-position: center;
    background-repeat: no-repeat;
    transform: scale(1.1);
    border-color: #d6336c;
    box-shadow: 0 0 6px rgba(214, 51, 108, 0.5);
    opacity: 1;
}


/* when sex is OFF, we’ll add a class in JS to visually “disable” Happy */
.happy-disabled .happy-indicator {
    display: none;
}

.loaded-badge {
    background: #ffe3ec;
    color: #d6336c;
    padding: 6px 12px;
    border-radius: 12px;
    font-size: 14px;
    display: block;      /* ← makes centering work */
    margin: 0 auto;      /* ← centers horizontally */
    text-align: center;  /* ← centers the dot + text */
    margin-bottom: 10px;
}

.hidden {
    display: none;
}

input.loaded {
    background: #f2f2f2;
}

.food-tags-wrapper {
    position: relative;
    width: 100%;
}

.food-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    border: 1px solid #ffe3ec;
    border-top: none;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 4px 12px rgba(214, 51, 108, 0.1);
    z-index: 100;
    max-height: 160px;
    overflow-y: auto;
    margin-top: -2px; /* overlap input border */
}

.food-suggestions.hidden {
    display: none;
}

.suggestion-item {
    padding: 10px 14px;
    font-size: 14px;
    color: #444;
    cursor: pointer;
    border-bottom: 1px solid #fff0f3;
    transition: background 0.2s;
    text-align: left;
}

.suggestion-item:hover {
    background: #fff0f3;
    color: #d6336c;
}

.suggestion-item:last-child {
    border-bottom: none;
    border-radius: 0 0 10px 10px;
}

.food-separator {
    border: 0;
    border-top: 1px solid #eee;
    margin: 5px 0 10px 0;
}

html, body {
    height: 100%;
    min-height: 100%;
    overscroll-behavior-y: none;
}

body {
    min-height: 100dvh; /* dynamic viewport height */
}

.shift-row {
    display: flex;
    gap: 12px;
    margin-bottom: 10px;
}

.shift-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 13px;
    cursor: pointer;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.shift-option input[type="radio"] {
    display: none;
}

.shift-option span {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid #d6336c;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: #d6336c;
    transition: 0.2s;
}

.shift-option input[type="radio"]:checked + span {
    background: #d6336c;
    color: white;
    transform: scale(1.1);
}

.food-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;

    min-height: 48px;

    padding: 6px 6px 0px 6px;

    border: 1px solid #ddd;
    border-radius: 10px;

    background: white;

    transition: 0.2s;
}

.food-tags:focus-within {
    border-color: #d6336c;
    box-shadow: 0 0 0 3px rgba(214, 51, 108, 0.2);
}

.food-tag {
    display: flex;
    align-items: center;
    gap: 6px;

    background: #ffe3ec;
    color: #d6336c;

    border-radius: 999px;

    padding: 6px 6px;
    margin: 0px 3px 3px 3px;
    font-size: 14px;
}

.food-tag-remove {
    margin: 0;
    padding: 0;

    background: transparent;
    color: inherit;

    border: none;

    cursor: pointer;

    font-size: 14px;
    font-weight: bold;
}

.food-tag-input {
    flex: 1;
    min-width: 120px;

    border: none !important;
    outline: none !important;
    box-shadow: none !important;

    margin: 0px 4px 4px 4px;
    background: transparent;
}

.food-tag-add {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: none;
    background: #d6336c;
    color: white;
    font-size: 22px;
    font-weight: 600;
    font-family: inherit;     
    line-height: 0;           
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
    flex-shrink: 0;
    margin: 0px 4px 4px 4px;
}



.food-tag-add:active {
    transform: scale(0.9);
}




.ciklus-row input {
    width: 100px;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 16px;
}

/* 3-column grid for Menga / Bol / Koliko curi */
.menga-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: start;
    gap: 16px;
}

.menga-col {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.menga-col:first-child {
    align-items: flex-start;
}

.menga-header {
    font-size: 14px;
    color: #444;
    margin-bottom: 6px;
}

.menga-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.menga-toggle input[type="checkbox"] {
    display: none;
}

/* Menga icon (OFF state) */
.menga-indicator {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid #ff4f4fab;
    background: #fff;
    background-image: url("MengaEmpty.png");
    background-size: 100%;
    background-position: center;
    background-repeat: no-repeat;
    transition: 0.2s;
}

/* Menga icon (ON state) */
.menga-toggle input[type="checkbox"]:checked + .menga-indicator {
    background-color: #ffe6ee;
    background-image: url("Menga.png");
    background-size: 140%;
    background-position: center;
    background-repeat: no-repeat;
    transform: scale(1.1);
    box-shadow: 0 0 6px rgba(214, 51, 108, 0.4);
}

/* Hide Bol + Flow columns when Menga is OFF */
.menga-extra {
    display: none;
}

.menga-extra.visible {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Each mini-block (Bol / Flow) */
.menga-scale {
    display: flex;
    align-items: center;
    gap: 8px;
}

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

.scale-label {
    font-size: 14px;
    color: #444;
    margin-right: 6px;
}

.scale-dot {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.2s;
    background: #fff;
}

.scale-dot.active {
    background: #d6336c;
    transform: scale(1.15);
    box-shadow: 0 0 6px rgba(214, 51, 108, 0.4);
}

/* Blood drop icon for Koliko curi */
.scale-flow .scale-dot {
    background-image: url("BloodDropEmpty.png");
    background-size: 100%;
    background-position: center;
    background-repeat: no-repeat;
}

.scale-flow .scale-dot.active {
    background-color: #ffeded;
    background-image: url("BloodDrop.png");
    background-size: 100%;
    background-position: center;
    background-repeat: no-repeat;
}

/* Pain icon for Bol */
.scale-pain .scale-dot {
    background-image: url("PainEmpty.png");
    background-size: 100%;
    background-position: center;
    background-repeat: no-repeat;
}

.scale-pain .scale-dot.active {
    background-color: #ffe6e6;
    background-image: url("Pain.png");
    background-size: 100%;
    background-position: center;
    background-repeat: no-repeat;
}

/* Remove blue tap highlight for each button element */
.scale-dot,
.menga-toggle,
.sex-toggle,
.happy-toggle,
.shift-option span {
    -webkit-tap-highlight-color: transparent;
}

.calendar-wrapper {
    position: relative;
    width: 26px;
    height: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.calendar-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
    z-index: 2;
    -webkit-appearance: none;
}

.calendar-icon {
    width: 26px;
    height: 26px;
    cursor: pointer;
    opacity: 0.8;
    transition: 0.2s;
    z-index: 1;
}

.calendar-wrapper:hover .calendar-icon {
    opacity: 1;
    transform: scale(1.1);
}

.day-arrow {
    background: #e74c3c;
    color: white;
    border: none;

    /* FIX: give it a real height */
    height: 28px;

    /* pill shape */
    padding: 0 12px;
    border-radius: 14px;

    /* center arrow perfectly */
    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 16px;
    cursor: pointer;
    margin: 0 6px;
    transition: 0.15s;
}

.day-arrow:hover {
    transform: scale(1.05);
}

.log-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    margin-bottom: 12px; /* FIX: spacing above form */
}

/* Mood Selector */
.mood-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 4px;
    margin-bottom: 8px;
}

#moodSelector .mood-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    color: #444;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    margin-top: 0;
    width: auto;
    font-family: inherit;
    line-height: normal;
}

#moodSelector .mood-btn:hover {
    background: #fff0f3;
    border-color: #d6336c;
    transform: translateY(-1px);
}

#moodSelector .mood-btn:active {
    transform: scale(0.95);
}

#moodSelector .mood-btn.active {
    background: #d6336c;
    border-color: #d6336c;
    color: #fff;
    box-shadow: 0 4px 10px rgba(214, 51, 108, 0.3);
}

/* Autosave Status */
.autosave-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
    padding: 12px;
    border-radius: 12px;
    background: #fdf2f4;
    border: 1px solid #ffe3ec;
    font-size: 15px;
    font-weight: 500;
    color: #555;
    transition: background 0.3s, border-color 0.3s;
}

.autosave-status .status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #2ecc71; /* green */
    transition: background 0.3s, box-shadow 0.3s;
    box-shadow: 0 0 6px rgba(46, 204, 113, 0.4);
}

.autosave-status.saving {
    background: #fff9e6;
    border-color: #ffe8cc;
}

.autosave-status.saving .status-dot {
    background: #f1c40f; /* yellow/orange */
    box-shadow: 0 0 6px rgba(241, 196, 15, 0.6);
    animation: autosave-pulse 1s infinite alternate;
}

.autosave-status.error {
    background: #fdf2f2;
    border-color: #fde8e8;
}

.autosave-status.error .status-dot {
    background: #e74c3c; /* red */
    box-shadow: 0 0 6px rgba(231, 76, 60, 0.6);
}

.autosave-status.loading {
    background: #f5f7fa;
    border-color: #e4e7eb;
}

.autosave-status.loading .status-dot {
    background: #3498db; /* blue */
    box-shadow: 0 0 6px rgba(52, 152, 219, 0.6);
    animation: autosave-pulse 1s infinite alternate;
}

@keyframes autosave-pulse {
    from {
        opacity: 0.6;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1.1);
    }
}

/* Energy level selector */
.energy-row {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 5px;
    margin-top: 5px;
}

.energy-icon {
    width: 48px;
    height: 48px;
    cursor: pointer;
    filter: grayscale(100%) opacity(0.4);
    transition: all 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}

.energy-icon:hover {
    transform: scale(1.1);
}

.energy-icon.active {
    filter: none;
}

/* Responsive Table Container */
.table-container {
    width: 100%;
    overflow-x: auto;
    padding: 0 !important; /* Let table span edge-to-edge in the card */
    border-radius: 12px !important;
    border: 1px solid #ffe3ec;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    text-align: left;
    white-space: nowrap;
}

.data-table th, 
.data-table td {
    padding: 12px 14px;
    border-bottom: 1px solid #ffeef2;
}

.data-table th {
    background-color: #ffeef2;
    color: #d6336c;
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: sticky;
    top: 0;
    z-index: 10;
}

/* Sticky first column (Date / Datum) */
.data-table th.sticky-col,
.data-table td.sticky-col {
    position: sticky;
    left: 0;
    background-color: #fff;
    font-weight: 600;
    z-index: 5;
    box-shadow: 2px 0 5px rgba(214, 51, 108, 0.06);
    border-right: 1px solid #ffeef2;
    color: #d6336c;
    cursor: pointer;
    transition: background-color 0.2s;
}

.data-table th.sticky-col {
    background-color: #ffeef2;
    z-index: 15;
}

.data-table tr:hover td {
    background-color: #fffafb;
}

.data-table tr:hover td.sticky-col {
    background-color: #fffafb;
}

/* Stylings for table badges/elements */
.table-badge {
    padding: 4px 8px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    display: inline-block;
}

.badge-shift {
    background: #ffe3ec;
    color: #d6336c;
}

.badge-menga {
    background: #fdf2f2;
    color: #e74c3c;
    border: 1px solid #fde8e8;
}

.badge-sex {
    background: #ffe5ec;
    color: #ff2a5f;
}

.badge-energy {
    background: #fff9e6;
    color: #f39c12;
}

/* Ovulacija Bol segmented toggle */
.ovulacija-toggle-row {
    display: flex;
    gap: 12px;
    margin-bottom: 5px;
    margin-top: 5px;
}

.ovulacija-option {
    display: flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.ovulacija-option input[type="radio"] {
    display: none;
}

.ovulacija-option span {
    padding: 8px 20px;
    border: 2px solid #d6336c;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    color: #d6336c;
    transition: all 0.2s ease;
}

.ovulacija-option input[type="radio"]:checked + span {
    background: #d6336c;
    color: white;
}

/* ASPC Label Icon styling */
.aspc-label {
    display: flex;
    align-items: center;
    gap: 8px;
}

.aspc-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

/* Slime Selector styling */
.slime-row {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 10px;
    margin-top: 5px;
}

.slime-icon {
    width: 48px;
    height: 48px;
    cursor: pointer;
    filter: grayscale(100%) opacity(0.4);
    transition: all 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}

.slime-icon:hover {
    transform: scale(1.1);
}

.slime-icon.active {
    filter: none;
}

/* Pull to refresh */
.ptr-container {
    position: fixed;
    top: -60px; /* start off-screen */
    left: 0;
    width: 100%;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 1000;
    transition: transform 0.15s ease-out, opacity 0.15s ease-out;
    opacity: 0;
}

.ptr-icon {
    width: 42px;
    height: 42px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 4px 14px rgba(214, 51, 108, 0.2);
    border: 1px solid #ffe3ec;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.ptr-spinner {
    width: 24px;
    height: 24px;
    transition: transform 0.1s linear;
}

/* Scale up slightly when pulled past threshold */
.ptr-release-ready .ptr-icon {
    transform: scale(1.15);
    background-color: #fff0f3;
}

/* When refresh is triggered, spin! */
.ptr-loading .ptr-spinner {
    animation: ptr-spin 0.8s infinite linear;
}

@keyframes ptr-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Settings Tab Styles */
.tab-settings {
    flex: 0 0 50px !important;
    margin-left: 5px;
    font-size: 18px !important;
}

.settings-card {
    padding: 16px;
}

.settings-control-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 12px;
}

.settings-select {
    padding: 10px 14px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 16px;
    background: white;
    outline: none;
    cursor: pointer;
    transition: border-color 0.2s;
    font-family: inherit;
}

.settings-select:focus {
    border-color: #d6336c;
}

#settingsSearchInput {
    padding: 10px 14px;
    font-size: 15px;
}

.add-new-suggestion-row {
    flex-direction: row;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.add-new-suggestion-row input {
    flex: 1;
    padding: 10px 14px;
    font-size: 15px;
    margin: 0;
}

.settings-add-btn {
    margin-top: 0;
    padding: 10px 18px;
    font-size: 16px;
    border-radius: 10px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.settings-list-container {
    max-height: 400px;
    overflow-y: auto;
    overflow-x: hidden;
    border: 1px solid #ffeef2;
    border-radius: 10px;
    padding: 8px;
    background: #fffafb;
}

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

.settings-item-row {
    display: flex;
    align-items: center;
    gap: 6px;
    background: white;
    padding: 4px 6px;
    border-radius: 8px;
    border: 1px solid #ffeef2;
    box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}

.settings-item-input {
    flex: 1;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 6px 8px;
    font-size: 15px;
    background: transparent;
    transition: background-color 0.2s;
    border-radius: 6px;
    cursor: text;
    margin: 0;
}

.settings-item-input:focus {
    white-space: normal;
    word-break: break-all;
    overflow-wrap: break-word;
    background-color: #fff0f3;
    outline: none;
}

.settings-action-btn {
    margin: 0;
    padding: 0;
    font-size: 16px;
    border-radius: 50%;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: none;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.settings-save-btn {
    background: #2ecc71;
}

.settings-save-btn:hover:not(:disabled) {
    background: #27ae60;
}

.settings-save-btn:disabled {
    background: #bdc3c7;
    opacity: 0.6;
    cursor: not-allowed;
}

.settings-delete-btn {
    background: #e74c3c;
}

.settings-delete-btn:hover {
    background: #c0392b;
}

.settings-status {
    padding: 8px 12px;
    border-radius: 8px;
    margin-bottom: 12px;
    font-size: 13px;
    text-align: center;
    font-weight: 500;
}

.settings-status.success {
    background: #eafaf1;
    color: #2e7d32;
    border: 1px solid #d4f5e3;
}

.settings-status.error {
    background: #fdf2f2;
    color: #c62828;
    border: 1px solid #fde8e8;
}
