* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f5f7f6;
    color: #111827;
}

.app {
    max-width: 1100px;
    margin: auto;
    padding: 30px;
}

/* Header */

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header h1 {
    margin: 0;
    color: #16a34a;
    font-size: 28px;
}

.header p {
    margin-top: 6px;
    color: #6b7280;
}

.profile {
    width: 45px;
    height: 45px;
    background: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
}


/* Welcome */

.welcome {
    margin-top: 50px;
}

.welcome p {
    color: #16a34a;
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 1px;
}

.welcome h2 {
    font-size: 32px;
    margin-top: 8px;
}


/* Stats */

.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-top: 30px;
}

.card {
    background: white;
    padding: 22px;
    border-radius: 18px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.card span {
    font-size: 25px;
}

.card p {
    color: #6b7280;
    margin-bottom: 8px;
}

.card h3 {
    font-size: 25px;
    margin: 0;
}

.card small {
    font-size: 14px;
    color: #6b7280;
}


/* Progress */

.progress-section {
    background: white;
    margin-top: 25px;
    padding: 25px;
    border-radius: 18px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.section-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.section-title h2 {
    margin: 0;
}

.section-title span {
    color: #16a34a;
    font-weight: bold;
}

.progress-bar {
    height: 12px;
    background: #e5e7eb;
    border-radius: 20px;
    margin-top: 20px;
    overflow: hidden;
}

.progress {
    width: 75%;
    height: 100%;
    background: #16a34a;
    border-radius: 20px;
}

.progress-text {
    color: #6b7280;
    font-size: 14px;
}


/* Actions */

.actions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 25px;
}

.action-card {
    background: white;
    padding: 25px;
    border-radius: 18px;
    cursor: pointer;
    transition: 0.2s;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.action-card:hover {
    transform: translateY(-4px);
}

.action-icon {
    font-size: 30px;
}

.action-card h3 {
    margin-bottom: 5px;
}

.action-card p {
    color: #6b7280;
}


/* Mobile */

@media (max-width: 700px) {

    .app {
        padding: 20px;
    }

    .stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .actions {
        grid-template-columns: 1fr;
    }

    .welcome h2 {
        font-size: 25px;
    }

}
/* =========================
   CALORIE CALCULATOR
========================= */

.calculator {
    display: none;
    margin-top: 30px;
}

.calculator-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.calculator-header button {
    border: none;
    background: white;
    padding: 12px 18px;
    border-radius: 12px;
    cursor: pointer;
    font-size: 15px;
}

.calculator-header p {
    color: #16a34a;
    margin: 0;
    font-size: 13px;
    font-weight: bold;
}

.calculator-header h2 {
    margin: 5px 0 0;
    font-size: 28px;
}

.calculator-card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    font-size: 14px;
}

.input-group input,
.input-group select {
    width: 100%;
    padding: 14px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    font-size: 15px;
    background: #fafafa;
}

.calculate-btn {
    width: 100%;
    padding: 16px;
    border: none;
    border-radius: 14px;
    background: #16a34a;
    color: white;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
}

.calculate-btn:hover {
    opacity: 0.9;
}

/* Results */

.results {
    margin-top: 25px;
    display: none;
}

.results h2 {
    margin-bottom: 18px;
}

.result-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.result-card {
    background: white;
    padding: 22px;
    border-radius: 18px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.result-card p {
    color: #6b7280;
    margin: 0 0 8px;
}

.result-card h3 {
    font-size: 26px;
    margin: 0 0 5px;
}

.result-card span {
    color: #6b7280;
    font-size: 13px;
}

/* Mobile */

@media (max-width: 700px) {

    .result-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .calculator-card {
        padding: 20px;
    }
}
.save-btn {
    width: 100%;
    padding: 15px;
    margin-top: 12px;
    border: 2px solid #16a34a;
    border-radius: 14px;
    background: white;
    color: #16a34a;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
}

.save-btn:hover {
    background: #f0fdf4;
}
.nutrition {
    display: none;
    margin-top: 30px;
}
/* =========================
   NUTRITION TRACKER DESIGN
========================= */

.nutrition {
    display: none;
    max-width: 1100px;
    margin: 0 auto;
    padding: 30px;
    color: #111827;
}


/* Header */

.nutrition-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.nutrition-header button {
    border: none;
    background: white;
    padding: 12px 18px;
    border-radius: 12px;
    cursor: pointer;
    font-size: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.nutrition-header button:hover {
    background: #f0fdf4;
}

.nutrition-header p {
    margin: 0;
    color: #16a34a;
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 1px;
}

.nutrition-header h2 {
    margin: 5px 0 0;
    font-size: 30px;
}


/* Daily Summary */

.nutrition-summary {
    background: white;
    padding: 28px;
    border-radius: 22px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.nutrition-main {
    padding-bottom: 25px;
    border-bottom: 1px solid #e5e7eb;
}

.nutrition-main p {
    color: #6b7280;
    margin: 0 0 7px;
}

.nutrition-main h2 {
    margin: 0;
    font-size: 38px;
}

.nutrition-main > span {
    color: #6b7280;
    font-size: 14px;
}


/* Macros */

.macro-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 25px;
}

.macro-box {
    background: #f8faf9;
    padding: 20px;
    border-radius: 16px;
}

.macro-box > span {
    font-size: 24px;
}

.macro-box p {
    color: #6b7280;
    margin: 10px 0 5px;
}

.macro-box h3 {
    margin: 0;
    font-size: 20px;
}


/* Add Food */

.add-food-card {
    background: white;
    padding: 28px;
    border-radius: 22px;
    margin-top: 25px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.add-food-card h2 {
    margin-top: 0;
}

.food-input-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.add-food-card input {
    transition: 0.2s;
}

.add-food-card input:focus {
    outline: none;
    border-color: #16a34a;
    box-shadow: 0 0 0 3px rgba(22,163,74,0.08);
}


/* Add Button */

.add-food-btn {
    width: 100%;
    margin-top: 10px;
    padding: 16px;
    border: none;
    border-radius: 14px;
    background: #16a34a;
    color: white;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.2s;
}

.add-food-btn:hover {
    background: #15803d;
    transform: translateY(-1px);
}


/* Today's Meals */

.meals-section {
    background: white;
    padding: 28px;
    border-radius: 22px;
    margin-top: 25px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.meals-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.meals-title h2 {
    margin: 0;
}

.meals-title span {
    background: #f0fdf4;
    color: #16a34a;
    padding: 7px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: bold;
}


/* Empty Food */

.empty-food {
    text-align: center;
    padding: 50px 20px;
    color: #6b7280;
}

.empty-food span {
    font-size: 40px;
}

.empty-food h3 {
    color: #111827;
    margin-bottom: 5px;
}

.empty-food p {
    margin-top: 0;
}


/* Mobile */

@media (max-width: 700px) {

    .nutrition {
        padding: 20px;
    }

    .macro-grid {
        grid-template-columns: 1fr;
    }

    .food-input-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .nutrition-main h2 {
        font-size: 30px;
    }

}
/* =========================
   FOOD ITEMS
========================= */

.food-item {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 18px 20px;
    margin-top: 15px;

    background: #f8faf9;
    border: 1px solid #eef2ef;
    border-radius: 16px;

    transition: 0.2s;
}

.food-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.food-info h3 {
    margin: 0 0 6px;
    font-size: 17px;
}

.food-info p {
    margin: 0;
    color: #6b7280;
    font-size: 13px;
}

.delete-food {
    width: 38px;
    height: 38px;

    border: none;
    border-radius: 50%;

    background: #fee2e2;
    color: #dc2626;

    font-size: 22px;
    cursor: pointer;

    transition: 0.2s;
}

.delete-food:hover {
    background: #fecaca;
    transform: scale(1.05);
}
/* FIX NUTRITION INPUT CLICKING */

.nutrition {
    position: relative;
    z-index: 10;
    pointer-events: auto;
}

.add-food-card {
    position: relative;
    z-index: 20;
    pointer-events: auto;
}

.add-food-card input {
    position: relative;
    z-index: 30;
    pointer-events: auto;
    user-select: text;
    cursor: text;
}
/* =========================
   NUTRITION PROGRESS
========================= */

.remaining-card {
    margin-top: 22px;
    padding: 20px;
    background: #f8faf9;
    border-radius: 16px;
}

.remaining-card p {
    margin: 0 0 5px;
    color: #6b7280;
}

.remaining-card h3 {
    margin: 0 0 15px;
    font-size: 24px;
}

.nutrition-progress,
.macro-progress {
    width: 100%;
    height: 10px;
    background: #e5e7eb;
    border-radius: 20px;
    overflow: hidden;
}

.nutrition-progress-fill,
.macro-progress-fill {
    width: 0%;
    height: 100%;
    background: #16a34a;
    border-radius: 20px;
    transition: width 0.35s ease;
}

.macro-progress {
    margin-top: 12px;
    height: 8px;
}

.macro-box small {
    display: block;
    margin-top: 8px;
    color: #6b7280;
    font-size: 12px;
}
.meal-badge {
    display: inline-block;
    margin-bottom: 7px;
    padding: 5px 10px;

    background: #f0fdf4;
    color: #16a34a;

    border-radius: 20px;

    font-size: 11px;
    font-weight: bold;
}
.meal-type {
    display: inline-block;
    padding: 6px 12px;
    margin-bottom: 8px;

    background: #f0f9e8;
    border-radius: 20px;

    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;

    color: #55b820;
}
.food-search-results {
    display: none;
    margin-top: 8px;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}

.food-search-item {
    padding: 12px 14px;
    cursor: pointer;
    border-bottom: 1px solid #f1f5f9;
}

.food-search-item:last-child {
    border-bottom: none;
}

.food-search-item:hover {
    background: #f0fdf4;
}

.food-search-item strong {
    display: block;
    font-size: 14px;
}

.food-search-item span {
    color: #6b7280;
    font-size: 12px;
}
/* ===== MACRO CARDS ===== */

.food-input-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 20px;
}

.food-input-grid .input-group {
    background: #ffffff;
    border: 1px solid #e8e8e8;
    border-radius: 18px;
    padding: 18px;
    min-height: auto;
height: auto;
    transition: 0.25s ease;
}

.food-input-grid .input-group:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.07);
}

.food-input-grid .input-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #777;
    margin-bottom: 8px;
}

.food-input-grid .input-group input {
    border: none;
    background: transparent;
    padding: 0;
    font-size: 24px;
    font-weight: 700;
    width: 100%;
    height: auto;
min-height: 0;
    outline: none;
    pointer-events: none;
}

/* Mobile */
@media (max-width: 600px) {
    .food-input-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .food-input-grid .input-group {
        padding: 14px;
    }

    .food-input-grid .input-group input {
        font-size: 20px;
    }
}
/* ===== FIX MACRO CARD HEIGHT ===== */

.food-input-grid .input-group {
    height: 90px !important;
    min-height: 90px !important;
    padding: 14px 18px !important;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.food-input-grid .input-group input {
    height: 32px !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
}
/* ===== FOOD PREVIEW ===== */

.food-preview {
    margin-top: 18px;
    padding: 18px;
    background: #f8faf9;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
}

.food-preview-header {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
}

.food-preview-header span {
    color: #6b7280;
    font-size: 13px;
}

.food-preview-header strong {
    font-size: 16px;
}

.food-preview > p {
    margin: 6px 0 14px;
    color: #6b7280;
}

.food-preview-macros {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px 14px;
    font-size: 13px;
}
.food-amount {
    display: inline-block;
    margin-top: 4px;
    font-size: 12px;
    font-weight: 600;
    color: #6b7280;
}
/* ===== BARCODE SCANNER ===== */

.barcode-btn {
    width: 100%;
    margin: 12px 0 18px;
    padding: 14px 18px;
    border: 1px solid #e8e8e8;
    border-radius: 14px;
    background: #ffffff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}

.barcode-btn:hover {
    background: #f7f7f7;
}

.barcode-scanner {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.barcode-scanner.active {
    display: flex;
}

.barcode-scanner-box {
    width: min(450px, 100%);
    background: white;
    border-radius: 24px;
    padding: 20px;
}

.barcode-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.barcode-header h3 {
    margin: 0;
}

.barcode-header button {
    width: 38px;
    height: 38px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
}

#barcodeVideo {
    display: block;
    width: 100%;
    min-height: 250px;
    background: #111;
    border-radius: 18px;
    object-fit: cover;
}

#barcodeStatus {
    text-align: center;
    margin: 14px 0 0;
    font-size: 14px;
}
/* ===== WORKOUT PAGE ===== */

.workout {
    min-height: 100vh;
    padding: 30px;
    background: #f7f8f4;
}

.workout-header {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 28px;
}

.workout-header button {
    border: none;
    background: #ffffff;
    padding: 12px 18px;
    border-radius: 14px;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
}

.workout-header p {
    margin: 0 0 6px;
    font-size: 13px;
    font-weight: 700;
    color: #62c91b;
    letter-spacing: 1px;
}

.workout-header h2 {
    margin: 0;
    font-size: 34px;
    color: #1d2433;
}

.workout-card {
    background: #ffffff;
    border: 1px solid #ececec;
    border-radius: 24px;
    padding: 24px;
    margin-bottom: 22px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
}

.workout-card h3 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 22px;
}

.workout .input-group {
    margin-bottom: 18px;
}

.workout .input-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #555;
}

.workout .input-group input {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #e5e5e5;
    border-radius: 16px;
    padding: 15px 16px;
    font-size: 16px;
    outline: none;
    background: #fafafa;
}

.workout-input-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.add-exercise-btn {
    width: 100%;
    border: none;
    border-radius: 16px;
    padding: 16px;
    background: #62d313;
    color: white;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    margin-top: 6px;
}

#emptyWorkoutMessage {
    text-align: center;
    color: #888;
    padding: 30px 10px;
}

@media (max-width: 600px) {
    .workout {
        padding: 18px;
    }

    .workout-header h2 {
        font-size: 28px;
    }

    .workout-input-row {
        grid-template-columns: 1fr;
    }
}
/* Fix workout inputs */
.workout input {
    pointer-events: auto !important;
    user-select: text;
    position: relative;
    z-index: 10;
    cursor: text;
}
/* =========================
   WORKOUT EXERCISE CARDS
========================= */

.workout-item {
    background: #ffffff;
    border: 1px solid #eeeeee;
    border-radius: 18px;
    padding: 18px 20px;
    margin-bottom: 14px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.04);
}

.workout-item h4 {
    margin: 0 0 6px 0;
    font-size: 18px;
    color: #1d2433;
    text-transform: capitalize;
}

.workout-item p {
    margin: 0;
    font-size: 14px;
    color: #777;
}

.workout-item button {
    width: 38px;
    height: 38px;

    border: none;
    border-radius: 10px;

    background: #fff0f0;
    color: #e54848;

    font-size: 18px;
    font-weight: 700;

    cursor: pointer;
}

.workout-item button:hover {
    transform: scale(1.05);
}
/* ===== SAVE WORKOUT BUTTON ===== */

.save-workout-btn {
    width: 100%;
    border: none;
    border-radius: 16px;
    padding: 15px 18px;
    margin-top: 16px;

    background: #1d2433;
    color: #ffffff;

    font-size: 16px;
    font-weight: 700;

    cursor: pointer;
}

.save-workout-btn:hover {
    transform: translateY(-1px);
}


/* ===== WORKOUT HISTORY ===== */

.workout-history {
    margin-top: 28px;
}

.workout-history h3 {
    margin-bottom: 16px;
    font-size: 22px;
}

.history-item {
    background: #ffffff;
    border: 1px solid #eeeeee;
    border-radius: 18px;
    padding: 18px;
    margin-bottom: 14px;

    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.04);
}

.history-date {
    font-size: 14px;
    font-weight: 700;
    color: #62c91b;
    margin-bottom: 14px;
}

.history-exercise {
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

.history-exercise:last-of-type {
    border-bottom: none;
}

.history-exercise strong {
    font-size: 15px;
    color: #1d2433;
    text-transform: capitalize;
}

.history-exercise span {
    font-size: 14px;
    color: #777;
}

.history-volume {
    margin-top: 14px;
    padding-top: 12px;

    border-top: 1px solid #eeeeee;

    display: flex;
    justify-content: space-between;

    font-size: 15px;
}

.history-volume strong {
    color: #1d2433;
}

/* =========================
   PROGRESS PAGE
========================= */

.progress-page {
    min-height: 100vh;
    padding: 40px;
    background: #f5f7f9;
}

.progress-header {
    max-width: 1100px;
    margin: 0 auto 30px;
}

.progress-header button {
    border: none;
    background: white;
    padding: 10px 18px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 15px;
    margin-bottom: 25px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.06);
}

.progress-header h2 {
    font-size: 36px;
    color: #1d2433;
    margin: 5px 0;
}

.progress-header > div > p:first-child {
    color: #63d400;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 5px;
}

.progress-header > div > p:last-child {
    color: #777;
    font-size: 16px;
}


/* STAT CARDS */

.progress-grid {
    max-width: 1100px;
    margin: 0 auto 25px;

    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.progress-card {
    background: white;
    border-radius: 18px;
    padding: 25px;

    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid #eeeeee;
}

.progress-card span {
    display: block;
    color: #777;
    font-size: 14px;
    margin-bottom: 10px;
}

.progress-card strong {
    display: block;
    color: #1d2433;
    font-size: 25px;
}


/* RECENT PROGRESS */

.progress-main-card {
    max-width: 1050px;
    margin: 0 auto;
}

.progress-main-card h3 {
    margin-top: 0;
    margin-bottom: 20px;

    color: #1d2433;
    font-size: 22px;
}

.progress-workout-item {
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 16px 0;
    border-bottom: 1px solid #eeeeee;
}

.progress-workout-item:last-child {
    border-bottom: none;
}

.progress-workout-item span {
    margin: 0;
    color: #777;
}

.progress-workout-item strong {
    font-size: 16px;
    color: #63d400;
}


/* MOBILE */

@media (max-width: 800px) {

    .progress-page {
        padding: 20px;
    }

    .progress-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .progress-header h2 {
        font-size: 30px;
    }
}

@media (max-width: 500px) {

    .progress-grid {
        grid-template-columns: 1fr;
    }
}

.progress-chart-card {
    max-width: 1050px;
    margin: 0 auto 25px;
    height: 360px;
}

.progress-chart-card h3 {
    margin-top: 0;
    margin-bottom: 20px;
    color: #1d2433;
}
.exercise-chart-container {
    width: 100%;
    height: 300px;
    margin-top: 25px;
}

.exercise-progress-card {
    max-width: 1050px;
    margin: 0 auto 25px;
}

.exercise-progress-card h3 {
    margin-top: 0;
    color: #1d2433;
}

#progressExerciseSelect {
    width: 100%;
    padding: 12px 14px;
    margin: 10px 0 20px;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    font-size: 15px;
    background: #fff;
}
.pr-card {
    max-width: 1050px;
    margin: 0 auto 25px;
}

.pr-card h3 {
    margin-top: 0;
    margin-bottom: 20px;
    color: #1d2433;
}

#personalRecordsList {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pr-item {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 16px 18px;

    border: 1px solid #eeeeee;
    border-radius: 14px;

    background: #fafafa;
}

.pr-name {
    display: flex;
    align-items: center;
    gap: 10px;

    text-transform: capitalize;
    color: #1d2433;
}

.pr-name strong {
    font-size: 16px;
}

.pr-weight {
    font-size: 18px;
    font-weight: 800;
    color: #63d400;
}
/* ===== NEW PR POPUP ===== */

.pr-popup {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(6px);
    z-index: 9999;

    align-items: center;
    justify-content: center;
    padding: 20px;
}

.pr-popup.show {
    display: flex;
}

.pr-popup-card {
    position: relative;
    width: min(420px, 92vw);
    background: white;
    border-radius: 28px;
    padding: 38px 28px 30px;
    text-align: center;

    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.25);

    animation: prPop 0.35s ease;
}

.pr-popup-icon {
    font-size: 60px;
    margin-bottom: 10px;
}

.pr-popup-label {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2px;
    color: #6bcf3b;
    margin-bottom: 8px;
}

.pr-popup-card h2 {
    font-size: 28px;
    margin: 5px 0 12px;
}

.pr-popup-weight {
    font-size: 52px;
    font-weight: 900;
    margin: 10px 0;
}

.pr-popup-improvement {
    font-size: 17px;
    color: #666;
    margin-bottom: 25px;
}

.pr-popup-done {
    width: 100%;
    border: none;
    border-radius: 16px;
    padding: 15px;

    background: #6bcf3b;
    color: white;

    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
}

.pr-popup-done:hover {
    transform: translateY(-2px);
}

.pr-popup-close {
    position: absolute;
    right: 18px;
    top: 14px;

    border: none;
    background: transparent;

    font-size: 28px;
    cursor: pointer;
    color: #777;
}

@keyframes prPop {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(20px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}
.pr-popup-card {
    transition: transform 0.2s ease;
}

.pr-popup-done {
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.pr-popup-done:hover {
    transform: translateY(-2px) scale(1.01);
}

.pr-popup-close {
    transition: transform 0.2s ease;
}

.pr-popup-close:hover {
    transform: rotate(90deg);
}
.add-exercise-btn,
.add-set-btn,
.remove-set-btn {
    position: relative;
    z-index: 10;
    pointer-events: auto;
    cursor: pointer;
}

.workout-card {
    position: relative;
    z-index: 1;
}
.pr-popup {
    pointer-events: none;
}

.pr-popup.show {
    pointer-events: auto;
}

/* =========================
   HOME HERO
========================= */

.home-hero {
    margin: 28px 0;
    padding: 42px 38px;
    border-radius: 24px;
    background: linear-gradient(135deg, #111827, #1f2937);
    position: relative;
    overflow: hidden;
}

.home-hero::after {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: rgba(132, 255, 0, 0.12);
    right: -60px;
    top: -80px;
}

.home-hero-content {
    position: relative;
    z-index: 1;
    max-width: 650px;
}

.hero-label {
    display: inline-block;
    color: #8cff00;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 3px;
    margin-bottom: 12px;
}

.home-hero h2 {
    color: white;
    font-size: 34px;
    line-height: 1.15;
    margin: 0 0 14px;
}

.home-hero p {
    color: rgba(255, 255, 255, 0.72);
    font-size: 16px;
    line-height: 1.6;
    margin: 0 0 24px;
}

.hero-start-btn {
    border: none;
    border-radius: 12px;
    padding: 14px 22px;
    background: #8cff00;
    color: #111827;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.hero-start-btn:hover {
    transform: translateY(-2px);
}

@media (max-width: 600px) {
    .home-hero {
        padding: 30px 24px;
    }

    .home-hero h2 {
        font-size: 27px;
    }
}
/* =========================
   WORKOUT HISTORY
========================= */

.history-item {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 22px;
    padding: 22px;
    margin-bottom: 18px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.history-date {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    color: #73c900;
    margin-bottom: 18px;
}

.history-exercise {
    padding: 16px 0;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.history-exercise:last-child {
    border-bottom: none;
}

.history-exercise strong {
    display: block;
    font-size: 18px;
    color: #111827;
    margin-bottom: 12px;
}

.history-sets {
    display: grid;
    gap: 8px;
}

.history-set-row {
    display: grid;
    grid-template-columns: 70px 1fr 1fr;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: #f8fafc;
    border-radius: 12px;
    font-size: 14px;
}

.history-set-row span:first-child {
    font-weight: 700;
    color: #64748b;
}

.history-set-row strong {
    margin: 0;
    font-size: 14px;
    text-align: right;
}

.history-volume {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
    font-size: 15px;
}

.history-volume strong {
    font-size: 20px;
    color: #111827;
}

.delete-history-btn {
    margin-top: 14px;
    border: none;
    border-radius: 10px;
    padding: 10px 14px;
    background: #fff1f2;
    color: #dc2626;
    font-weight: 700;
    cursor: pointer;
}

.delete-history-btn:hover {
    background: #ffe4e6;
}

@media (max-width: 600px) {
    .history-item {
        padding: 18px;
        border-radius: 18px;
    }

    .history-set-row {
        grid-template-columns: 60px 1fr 1fr;
        font-size: 13px;
    }

    .history-volume strong {
        font-size: 18px;
    }
}

/* Compact Workout History */

.history-item {
    padding: 18px 18px 16px;
    margin-bottom: 14px;
}

.history-date {
    margin-bottom: 10px;
    font-size: 13px;
}

.history-exercise {
    padding: 10px 0;
}

.history-exercise strong {
    margin-bottom: 8px;
    font-size: 17px;
}

.history-sets {
    gap: 6px;
}

.history-set-row {
    grid-template-columns: 58px 1fr 1fr;
    padding: 7px 10px;
    border-radius: 10px;
    font-size: 13px;
}

.history-volume {
    margin-top: 12px;
    padding-top: 12px;
}

.history-volume strong {
    font-size: 18px;
}

.delete-history-btn {
    margin-top: 10px;
    padding: 8px 12px;
    font-size: 13px;
}

@media (max-width: 600px) {
    .history-item {
        padding: 14px;
        border-radius: 16px;
        margin-bottom: 12px;
    }

    .history-date {
        font-size: 12px;
        margin-bottom: 8px;
    }

    .history-exercise {
        padding: 8px 0;
    }

    .history-exercise strong {
        font-size: 16px;
        margin-bottom: 6px;
    }

    .history-set-row {
        grid-template-columns: 52px 1fr 1fr;
        gap: 6px;
        padding: 6px 8px;
        font-size: 12px;
    }

    .history-volume {
        margin-top: 10px;
        padding-top: 10px;
        font-size: 13px;
    }

    .history-volume strong {
        font-size: 16px;
    }

    .delete-history-btn {
        margin-top: 8px;
        padding: 7px 10px;
        font-size: 12px;
    }
}
/* Stack workout history neatly on mobile */

@media (max-width: 600px) {
    .history-exercise {
        display: block;
    }

    .history-exercise > strong {
        display: block;
        margin-bottom: 10px;
    }

    .history-sets {
        width: 100%;
    }

    .history-set-row {
        grid-template-columns: 55px 1fr 1fr;
        width: 100%;
    }
}
/* Force stacked workout history layout */

.history-exercise {
    display: block !important;
}

.history-exercise > strong {
    display: block;
    margin-bottom: 10px;
}

.history-sets {
    width: 100%;
}

.history-set-row {
    width: 100%;
}
/* Better alignment for workout sets */

.history-set-row {
    grid-template-columns: 70px 1fr 90px;
    gap: 8px;
}

.history-set-row strong {
    text-align: right;
}

/* Mobile */
@media (max-width: 600px) {
    .history-set-row {
        grid-template-columns: 55px 1fr 70px;
        gap: 6px;
    }
}
/* FIX workout history spacing */
.history-set-row {
    display: grid;
    grid-template-columns: 55px 75px 80px !important;
    justify-content: start !important;
    align-items: center;
    gap: 10px !important;
    width: fit-content !important;
}

.history-set-row strong {
    text-align: left !important;
}

/* Mobile */
@media (max-width: 600px) {
    .history-set-row {
        grid-template-columns: 48px 65px 70px !important;
        gap: 6px !important;
    }
}
/* ===== CALCULATOR RESULTS FIX ===== */

.results {
    width: 100%;
    padding: 0 24px 24px;
    box-sizing: border-box;
}

.results h2 {
    margin: 0 0 18px;
}

.result-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.result-card {
    padding: 20px;
    border-radius: 18px;
    min-height: 120px;
    box-sizing: border-box;
}

.result-card p {
    margin: 0 0 8px;
}

.result-card h3 {
    margin: 0 0 4px;
}

@media (max-width: 600px) {
    .results {
        padding: 0 16px 18px;
    }

    .results h2 {
        margin-bottom: 12px;
        font-size: 24px;
    }

    .result-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .result-card {
        min-height: 100px;
        padding: 14px;
        border-radius: 16px;
    }

    .result-card h3 {
        font-size: 22px;
    }

    .result-card p,
    .result-card span {
        font-size: 13px;
    }
}
/* =================================
   FITTRACK AUTH PAGE
================================= */

#authPage.auth-page {
    position: fixed;
    inset: 0;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 18px;
    box-sizing: border-box;

    background:
        linear-gradient(
            rgba(0, 0, 0, 0.35),
            rgba(0, 0, 0, 0.58)
        ),
        url("login-bg.png");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    overflow-y: auto;
    z-index: 9999;
}

#authPage .auth-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(
            circle at center,
            rgba(40, 255, 40, 0.12),
            transparent 55%
        );
    pointer-events: none;
}

#authPage .auth-card {
    position: relative;
    z-index: 2;

    width: min(100%, 390px);
    padding: 42px 30px 32px;

    background: rgba(13, 19, 18, 0.72);

    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 28px;

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    box-shadow:
        0 25px 70px rgba(0, 0, 0, 0.55),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);

    box-sizing: border-box;
}

#authPage .auth-logo {
    text-align: center;
    margin-bottom: 38px;
}

#authPage .auth-logo h1 {
    color: white;
    font-size: 38px;
    font-weight: 800;
    letter-spacing: 1px;
    margin: 0;
}

#authPage .auth-logo h1 span {
    color: #55e52b;
}

#authPage .auth-logo p {
    margin: 10px 0 0;
    color: rgba(255, 255, 255, 0.75);
    letter-spacing: 5px;
    font-size: 12px;
}

#authPage .auth-input-group {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 18px;
}

#authPage .auth-input-group .auth-icon {
    position: absolute;
    left: 18px;
    font-size: 20px;
    z-index: 2;
}

#authPage .auth-input-group input {
    width: 100%;
    height: 62px;

    padding: 0 18px 0 55px;

    border-radius: 17px;
    border: 1px solid rgba(255, 255, 255, 0.22);

    background: rgba(255, 255, 255, 0.04);

    color: white;
    font-size: 16px;

    outline: none;
    box-sizing: border-box;

    transition: 0.2s ease;
}

#authPage .auth-input-group input::placeholder {
    color: rgba(255, 255, 255, 0.55);
}

#authPage .auth-input-group input:focus {
    border-color: #55e52b;
    box-shadow: 0 0 0 3px rgba(85, 229, 43, 0.12);
}

#authPage .auth-login-btn {
    width: 100%;
    height: 62px;

    margin-top: 8px;

    border: none;
    border-radius: 17px;

    background: linear-gradient(
        90deg,
        #21c934,
        #6bea27
    );

    color: white;
    font-size: 18px;
    font-weight: 800;

    cursor: pointer;

    box-shadow: 0 10px 30px rgba(63, 220, 44, 0.25);
}

#authPage .auth-login-btn:active {
    transform: scale(0.98);
}

#authPage .auth-divider {
    display: flex;
    align-items: center;
    gap: 15px;

    margin: 25px 0;
}

#authPage .auth-divider span {
    height: 1px;
    flex: 1;
    background: rgba(255, 255, 255, 0.25);
}

#authPage .auth-divider p {
    color: white;
    margin: 0;
    font-size: 14px;
}

#authPage .auth-create-btn {
    width: 100%;
    height: 58px;

    border-radius: 17px;
    border: 1px solid #55e52b;

    background: rgba(0, 0, 0, 0.12);

    color: #73ee4e;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;

    cursor: pointer;
}

#authPage .auth-create-btn:active {
    transform: scale(0.98);
}

#authPage .auth-bottom {
    margin-top: 35px;
    text-align: center;
}

#authPage .auth-bottom div {
    font-size: 25px;
}

#authPage .auth-bottom p {
    color: rgba(255, 255, 255, 0.55);
    letter-spacing: 4px;
    line-height: 1.8;
    font-size: 9px;
    margin-top: 8px;
}

#authPage #authMessage {
    text-align: center;
    color: #ff6969;
    font-size: 13px;
    margin-top: 15px;
    min-height: 18px;
}


/* ============================
   PHONE SIZE
============================ */

/* ===== FITTRACK LOGIN - FINAL MOBILE TUNING ===== */

@media (max-width: 600px) {

    #authPage {
        padding: 12px;
        min-height: 100vh;

        background-size: cover;
        background-position: center center;
        background-repeat: no-repeat;

        display: flex;
        align-items: center;
        justify-content: center;
    }

    #authPage .auth-card {
        width: 82%;
        max-width: 320px;

        padding: 28px 20px 22px;

        min-height: auto;
        height: auto;

        border-radius: 24px;
        margin: auto;
    }

    #authPage .auth-card h1 {
        font-size: 32px;
        margin-bottom: 6px;
    }

    #authPage .auth-card > p {
        font-size: 12px;
        margin-bottom: 24px;
    }

    #authPage input {
        height: 52px;
        font-size: 14px;
        margin-bottom: 12px;
    }

    #authPage button {
        height: 52px;
        font-size: 15px;
    }
}
/* ===== Smaller login fields + password eye ===== */

#authPage .auth-input-group {
    position: relative;
    width: 100%;
}

#authPage .auth-input-group input {
    height: 50px;
    border-radius: 15px;
    font-size: 14px;
}

#authPage .password-group input {
    padding-right: 55px;
}

#authPage .password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);

    width: 38px;
    height: 38px;
    padding: 0;
    margin: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    background: transparent;
    border: none;
    box-shadow: none;

    font-size: 18px;
    cursor: pointer;
    z-index: 5;
}

#authPage .auth-login-btn {
    height: 52px;
    border-radius: 15px;
}

#authPage .auth-create-btn {
    height: 50px;
    border-radius: 15px;
}
/* ===== GLASS INPUTS ===== */

#authPage .auth-input-group {
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    overflow: hidden;
}

#authPage .auth-input-group input {
    background: transparent !important;
    color: white !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

#authPage .auth-input-group input::placeholder {
    color: rgba(255, 255, 255, 0.55);
}

#authPage .auth-input-group:focus-within {
    border-color: #72ff19;
    box-shadow: 0 0 12px rgba(114, 255, 25, 0.15);
}

#authPage .auth-icon {
    color: #8cff32;
}

#authPage .password-toggle {
    color: rgba(255, 255, 255, 0.8);
}
/* ===== FORCE FINAL INPUT DESIGN ===== */

#authPage .auth-input-group {
    height: 52px !important;
    background: rgba(20, 25, 25, 0.72) !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    border-radius: 15px !important;
    box-shadow: none !important;
    overflow: hidden;
}

#authPage .auth-input-group input {
    width: 100% !important;
    height: 100% !important;

    background: transparent !important;
    background-color: transparent !important;

    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;

    color: white !important;
    -webkit-text-fill-color: white !important;

    border-radius: 0 !important;
}

#authPage .auth-input-group input::placeholder {
    color: rgba(255,255,255,0.55) !important;
}

#authPage .auth-input-group input:-webkit-autofill,
#authPage .auth-input-group input:-webkit-autofill:hover,
#authPage .auth-input-group input:-webkit-autofill:focus {
    -webkit-text-fill-color: white !important;
    -webkit-box-shadow: 0 0 0 1000px #171c1a inset !important;
    box-shadow: 0 0 0 1000px #171c1a inset !important;
}

#authPage .password-toggle {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}
/* ===== DASHBOARD HEADER ===== */

.dashboard-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 18px 20px;
    margin-bottom: 26px;

    background: rgba(16, 22, 20, 0.88);
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 20px;

    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.dashboard-brand h1 {
    margin: 0;
    color: white;
    font-size: 25px;
    font-weight: 800;
    letter-spacing: 1px;
}

.dashboard-brand h1 span {
    color: #65ef2c;
}

.dashboard-brand p {
    margin: 4px 0 0;
    color: rgba(255,255,255,0.55);
    font-size: 10px;
    letter-spacing: 2px;
}

.logout-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;

    min-width: 92px;
    height: 40px;
    padding: 0 14px;

    border-radius: 12px;
    border: 1px solid rgba(101,239,44,0.45);

    background: rgba(101,239,44,0.08);

    color: #79f14a;
    font-size: 13px;
    font-weight: 700;

    cursor: pointer;
}

.logout-btn span {
    font-size: 17px;
}

.logout-btn:active {
    transform: scale(0.96);
}

@media (max-width: 600px) {

    .dashboard-header {
        padding: 15px 16px;
        border-radius: 18px;
    }

    .dashboard-brand h1 {
        font-size: 22px;
    }

    .dashboard-brand p {
        font-size: 8px;
        letter-spacing: 1.5px;
    }

    .logout-btn {
        min-width: 82px;
        height: 38px;
        padding: 0 11px;
        font-size: 12px;
    }
}
/* ===== DASHBOARD STATS - DARK GLASS ===== */

.stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-bottom: 28px;
}

.stats .card {
    position: relative;
    padding: 20px 18px;
    min-height: 125px;

    background: rgba(16, 22, 20, 0.88);
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 20px;

    box-shadow:
        0 10px 30px rgba(0,0,0,0.15),
        inset 0 1px 0 rgba(255,255,255,0.05);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    box-sizing: border-box;
}

.stats .card > span:first-child {
    display: block;
    font-size: 25px;
    margin-bottom: 14px;
}

.stats .card p {
    margin: 0 0 6px;

    color: rgba(255,255,255,0.55);
    font-size: 13px;
    font-weight: 500;
}

.stats .card h3 {
    margin: 0;

    color: white;
    font-size: 26px;
    font-weight: 800;
}

.stats .card h3 span {
    color: white;
}

.stats .card h3 small {
    color: rgba(255,255,255,0.45);
    font-size: 12px;
    font-weight: 500;
}

/* subtle green edge */
.stats .card::after {
    content: "";
    position: absolute;

    left: 18px;
    right: 18px;
    bottom: 0;

    height: 2px;

    background: linear-gradient(
        90deg,
        transparent,
        rgba(101,239,44,0.8),
        transparent
    );

    opacity: 0.6;
}

/* phone */
@media (max-width: 600px) {

    .stats {
        gap: 12px;
    }

    .stats .card {
        min-height: 118px;
        padding: 17px 15px;
        border-radius: 18px;
    }

    .stats .card > span:first-child {
        font-size: 22px;
        margin-bottom: 11px;
    }

    .stats .card p {
        font-size: 12px;
    }

    .stats .card h3 {
        font-size: 23px;
    }
}
/* ===== DASHBOARD DARK BACKGROUND ===== */

body {
    background: #080b0a;
}

.app {
    min-height: 100vh;
    padding: 22px 18px 45px;
    box-sizing: border-box;

    background:
        radial-gradient(
            circle at 50% 20%,
            rgba(91, 255, 40, 0.09),
            transparent 35%
        ),
        linear-gradient(
            180deg,
            #101613 0%,
            #080b0a 100%
        );

    color: white;
}

/* ===== WELCOME ===== */

.welcome {
    margin: 34px 2px 24px;
}

.welcome p {
    margin: 0 0 9px;

    color: #69ef36;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
}

.welcome h2 {
    margin: 0;

    color: #ffffff;
    font-size: 29px;
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -0.5px;
}

@media (max-width: 600px) {

    .app {
        padding: 18px 14px 40px;
    }

    .welcome {
        margin: 30px 3px 22px;
    }

    .welcome p {
        font-size: 11px;
    }

    .welcome h2 {
        font-size: 27px;
    }
}
/* =========================================
   FITTRACK - FINAL DASHBOARD CARDS
========================================= */

/* Container of bottom feature cards */
.features,
.tools,
.dashboard-grid,
.quick-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

/* Calories / Workout / Nutrition / Progress */
.feature-card,
.tool-card,
.action-card {
    position: relative;
    min-height: 145px;
    padding: 22px;

    background:
        linear-gradient(
            145deg,
            rgba(24, 32, 28, 0.98),
            rgba(9, 17, 13, 0.98)
        );

    border: 1px solid rgba(113, 255, 38, 0.18);
    border-radius: 22px;

    color: white;
    cursor: pointer;

    box-shadow:
        0 10px 25px rgba(0,0,0,0.18),
        inset 0 1px 0 rgba(255,255,255,0.04);

    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

/* Green glow at bottom */
.feature-card::after,
.tool-card::after,
.action-card::after {
    content: "";
    position: absolute;

    left: 18%;
    right: 18%;
    bottom: 0;

    height: 2px;

    background: #72ff18;
    box-shadow: 0 0 12px #72ff18;

    opacity: 0.65;
}

/* Hover */
.feature-card:hover,
.tool-card:hover,
.action-card:hover {
    transform: translateY(-3px);

    border-color: rgba(113,255,38,0.55);

    box-shadow:
        0 14px 30px rgba(0,0,0,0.25),
        0 0 18px rgba(113,255,38,0.08);
}

/* Emoji / icon */
.feature-card > span:first-child,
.tool-card > span:first-child,
.action-card > span:first-child {
    display: flex;

    width: 46px;
    height: 46px;

    align-items: center;
    justify-content: center;

    margin-bottom: 16px;

    font-size: 25px;

    background: rgba(113,255,38,0.10);
    border: 1px solid rgba(113,255,38,0.18);

    border-radius: 14px;
}

/* Card title */
.feature-card h3,
.feature-card h2,
.tool-card h3,
.tool-card h2,
.action-card h3,
.action-card h2 {
    color: #ffffff;

    margin: 0 0 7px;

    font-size: 20px;
    font-weight: 800;
}

/* Card description */
.feature-card p,
.tool-card p,
.action-card p {
    color: rgba(255,255,255,0.58);

    margin: 0;

    font-size: 14px;
    line-height: 1.5;
}

/* Arrow */
.feature-card::before,
.tool-card::before,
.action-card::before {
    content: "→";

    position: absolute;

    right: 22px;
    top: 50%;

    transform: translateY(-50%);

    color: #72ff18;

    font-size: 25px;
    font-weight: 700;

    opacity: 0.85;
}

/* Press effect */
.feature-card:active,
.tool-card:active,
.action-card:active {
    transform: scale(0.98);
}
/* =========================================
   CALORIE CALCULATOR - DARK FITTRACK THEME
========================================= */

#calculator.calculator {
    min-height: 100vh;
    padding: 18px 14px 40px;
    box-sizing: border-box;

    background:
        radial-gradient(
            circle at 50% 15%,
            rgba(105, 239, 54, 0.08),
            transparent 32%
        ),
        linear-gradient(
            180deg,
            #101613 0%,
            #080b0a 100%
        );

    color: white;
}

/* Header */
#calculator .calculator-header {
    display: flex;
    align-items: center;
    gap: 18px;

    padding: 16px 18px;
    margin-bottom: 18px;

    background: rgba(16, 22, 20, 0.9);
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 20px;
}

#calculator .calculator-header button {
    height: 40px;
    padding: 0 14px;

    border-radius: 12px;
    border: 1px solid rgba(105,239,54,0.35);

    background: rgba(105,239,54,0.08);
    color: #79f14a;

    font-weight: 700;
    cursor: pointer;
}

#calculator .calculator-header p {
    margin: 0 0 3px;
    color: #69ef36;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
}

#calculator .calculator-header h2 {
    margin: 0;
    color: white;
    font-size: 24px;
    font-weight: 800;
}

/* Main calculator card */
#calculator .calculator-card {
    padding: 22px 18px;

    background: rgba(16, 22, 20, 0.88);
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 22px;

    box-shadow:
        0 12px 30px rgba(0,0,0,0.20),
        inset 0 1px 0 rgba(255,255,255,0.04);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

/* Groups */
#calculator .input-group {
    margin-bottom: 18px;
}

#calculator .input-group label {
    display: block;
    margin-bottom: 8px;

    color: rgba(255,255,255,0.72);
    font-size: 13px;
    font-weight: 700;
}

/* Inputs + selects */
#calculator .input-group input,
#calculator .input-group select {
    width: 100%;
    height: 50px;

    padding: 0 14px;

    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.15);

    background: rgba(255,255,255,0.055);
    color: white;

    outline: none;
    box-sizing: border-box;

    font-size: 14px;
}

/* Focus */
#calculator .input-group input:focus,
#calculator .input-group select:focus {
    border-color: #72ff18;

    box-shadow:
        0 0 0 3px rgba(114,255,24,0.08),
        0 0 14px rgba(114,255,24,0.08);
}

/* Placeholder */
#calculator .input-group input::placeholder {
    color: rgba(255,255,255,0.35);
}

/* Dropdown options */
#calculator .input-group select option {
    background: #111713;
    color: white;
}

/* Chrome autofill */
#calculator input:-webkit-autofill,
#calculator input:-webkit-autofill:hover,
#calculator input:-webkit-autofill:focus {
    -webkit-text-fill-color: white !important;
    -webkit-box-shadow: 0 0 0 1000px #151c18 inset !important;
}
/* =========================================
   CALCULATOR RESULTS - DARK GLASS
========================================= */

#calculator .results,
#calculator .calculator-results,
#calculator .results-grid {
    color: white;
}

#calculator .results h2,
#calculator .calculator-results h2 {
    color: white;
}

/* Result cards */
#calculator .result-card,
#calculator .results .card,
#calculator .calculator-results .card {
    background:
        linear-gradient(
            145deg,
            rgba(24, 32, 28, 0.96),
            rgba(10, 17, 13, 0.96)
        ) !important;

    border: 1px solid rgba(114,255,24,0.18) !important;
    border-radius: 18px !important;

    color: white !important;

    box-shadow:
        0 8px 24px rgba(0,0,0,0.18),
        inset 0 1px 0 rgba(255,255,255,0.04);
}

/* Any text inside result cards */
#calculator .result-card *,
#calculator .results .card *,
#calculator .calculator-results .card * {
    color: white;
}

#calculator .result-card p,
#calculator .results .card p,
#calculator .calculator-results .card p {
    color: rgba(255,255,255,0.55) !important;
}

/* Save Plan button */
#calculator button[onclick*="save"],
#calculator .save-plan-btn {
    background: rgba(114,255,24,0.08) !important;

    border: 1px solid rgba(114,255,24,0.55) !important;
    border-radius: 15px !important;

    color: #72ff18 !important;

    font-weight: 800 !important;
    box-shadow: none !important;
}

/* Calculate button stays the main CTA */
#calculator button[onclick*="calculate"] {
    background: #72ff18 !important;
    color: #071006 !important;

    border: none !important;
    border-radius: 15px !important;

    font-weight: 800 !important;
}
/* =========================================
   NUTRITION - FITTRACK DARK THEME
========================================= */

#nutrition.nutrition {
    min-height: 100vh;
    padding: 18px 14px 40px;
    box-sizing: border-box;

    background:
        radial-gradient(
            circle at 50% 15%,
            rgba(105, 239, 54, 0.08),
            transparent 32%
        ),
        linear-gradient(
            180deg,
            #101613 0%,
            #080b0a 100%
        );

    color: white;
}


/* ===== HEADER ===== */

#nutrition .nutrition-header {
    display: flex;
    align-items: center;
    gap: 18px;

    padding: 16px 18px;
    margin-bottom: 18px;

    background: rgba(16, 22, 20, 0.90);
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 20px;
}

#nutrition .nutrition-header button {
    height: 40px;
    padding: 0 14px;

    background: rgba(114,255,24,0.08);
    color: #72ff18;

    border: 1px solid rgba(114,255,24,0.35);
    border-radius: 12px;

    font-weight: 700;
    cursor: pointer;
}

#nutrition .nutrition-header p {
    margin: 0 0 3px;

    color: #72ff18;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
}

#nutrition .nutrition-header h2 {
    margin: 0;

    color: white;
    font-size: 24px;
    font-weight: 800;
}


/* ===== DAILY SUMMARY MAIN CARD ===== */

#nutrition .nutrition-summary {
    padding: 20px 18px;

    background: rgba(16, 22, 20, 0.88);
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 22px;

    box-shadow:
        0 12px 30px rgba(0,0,0,0.20),
        inset 0 1px 0 rgba(255,255,255,0.04);
}


/* Calories */

#nutrition .nutrition-main {
    padding-bottom: 18px;
    margin-bottom: 18px;

    border-bottom: 1px solid rgba(255,255,255,0.08);
}

#nutrition .nutrition-main p {
    margin: 0 0 5px;

    color: rgba(255,255,255,0.55);
    font-size: 14px;
}

#nutrition .nutrition-main h2 {
    margin: 0;

    color: white;
    font-size: 30px;
    font-weight: 800;
}

#nutrition .nutrition-main > span {
    color: rgba(255,255,255,0.50);
}


/* ===== REMAINING CALORIES ===== */

#nutrition .remaining-card {
    padding: 17px;
    margin-bottom: 18px;

    background:
        linear-gradient(
            145deg,
            rgba(24,32,28,0.96),
            rgba(10,17,13,0.96)
        );

    border: 1px solid rgba(114,255,24,0.18);
    border-radius: 18px;
}

#nutrition .remaining-card p {
    margin: 0 0 6px;

    color: rgba(255,255,255,0.55);
    font-size: 13px;
}

#nutrition .remaining-card h3 {
    margin: 0 0 12px;

    color: white;
    font-size: 24px;
}


/* ===== PROGRESS BAR ===== */

#nutrition .nutrition-progress {
    width: 100%;
    height: 9px;

    background: rgba(255,255,255,0.10);
    border-radius: 999px;

    overflow: hidden;
}

#nutrition .nutrition-progress-fill {
    height: 100%;

    background: linear-gradient(
        90deg,
        #45d20d,
        #72ff18
    );

    border-radius: 999px;

    box-shadow: 0 0 12px rgba(114,255,24,0.45);
}


/* ===== PROTEIN / CARBS / FAT BOXES ===== */

#nutrition .macro-box {
    position: relative;

    padding: 18px;
    margin-top: 13px;

    background:
        linear-gradient(
            145deg,
            rgba(24,32,28,0.96),
            rgba(10,17,13,0.96)
        );

    border: 1px solid rgba(114,255,24,0.18);
    border-radius: 18px;

    color: white;

    box-shadow:
        0 8px 22px rgba(0,0,0,0.16);
}

#nutrition .macro-box > span:first-child {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 42px;
    height: 42px;

    margin-bottom: 10px;

    background: rgba(114,255,24,0.08);
    border: 1px solid rgba(114,255,24,0.15);
    border-radius: 13px;

    font-size: 22px;
}

#nutrition .macro-box p {
    margin: 0 0 5px;

    color: rgba(255,255,255,0.55);
    font-size: 13px;
}

#nutrition .macro-box h3,
#nutrition .macro-box h2 {
    margin: 0;

    color: white;
    font-weight: 800;
}


/* Little green glow under macros */

#nutrition .macro-box::after {
    content: "";

    position: absolute;
    left: 20%;
    right: 20%;
    bottom: 0;

    height: 2px;

    background: #72ff18;
    box-shadow: 0 0 10px #72ff18;

    opacity: 0.55;
}
/* =========================================
   NUTRITION - ADD FOOD DARK THEME
========================================= */

#nutrition .add-food-card {
    padding: 22px 18px;
    margin-top: 18px;

    background:
        linear-gradient(
            145deg,
            rgba(24, 32, 28, 0.96),
            rgba(10, 17, 13, 0.96)
        );

    border: 1px solid rgba(114,255,24,0.18);
    border-radius: 22px;

    box-shadow:
        0 12px 30px rgba(0,0,0,0.20),
        inset 0 1px 0 rgba(255,255,255,0.04);

    color: white;
}

#nutrition .add-food-card h2 {
    margin: 0 0 20px;
    color: white;
    font-size: 22px;
    font-weight: 800;
}

/* Inputs */
#nutrition .add-food-card .input-group {
    margin-bottom: 16px;
}

#nutrition .add-food-card .input-group label {
    display: block;
    margin-bottom: 8px;

    color: rgba(255,255,255,0.65);
    font-size: 13px;
    font-weight: 700;
}

#nutrition .add-food-card input,
#nutrition .add-food-card select {
    width: 100%;
    min-height: 48px;

    padding: 0 14px;

    background: rgba(255,255,255,0.055);
    color: white;

    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 14px;

    box-sizing: border-box;
    outline: none;
}

#nutrition .add-food-card input::placeholder {
    color: rgba(255,255,255,0.35);
}

#nutrition .add-food-card input:focus,
#nutrition .add-food-card select:focus {
    border-color: #72ff18;

    box-shadow:
        0 0 0 3px rgba(114,255,24,0.08),
        0 0 14px rgba(114,255,24,0.08);
}

#nutrition .add-food-card select option {
    background: #111713;
    color: white;
}

/* Barcode button */
#nutrition .barcode-btn {
    width: 100%;
    min-height: 46px;

    margin: 4px 0 16px;

    background: rgba(114,255,24,0.07);
    color: #72ff18;

    border: 1px solid rgba(114,255,24,0.38);
    border-radius: 14px;

    font-weight: 800;
    cursor: pointer;
}

#nutrition .barcode-btn:active {
    transform: scale(0.98);
}

/* Search results */
#nutrition .food-search-results {
    margin-top: 8px;
    color: white;
}

/* Barcode scanner area */
#nutrition .barcode-scanner {
    background: rgba(8,12,10,0.96);
    color: white;
}
/* =========================================
   NUTRITION - FIX WHITE FOOD BOXES
========================================= */

/* 4 macro boxes: Calories / Protein / Carbs / Fat */
#nutrition .food-input-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin: 16px 0;
}

#nutrition .food-input-grid .input-group {
    margin: 0;
}

#nutrition .food-input-grid .input-group label {
    display: block;
    margin-bottom: 7px;

    color: rgba(255,255,255,0.58);
    font-size: 12px;
    font-weight: 700;
}

#nutrition .food-input-grid input[readonly] {
    width: 100%;
    height: 86px;

    padding: 14px;

    background:
        linear-gradient(
            145deg,
            rgba(24,32,28,0.96),
            rgba(10,17,13,0.96)
        ) !important;

    color: #ffffff !important;

    border: 1px solid rgba(114,255,24,0.18) !important;
    border-radius: 17px !important;

    font-size: 22px;
    font-weight: 800;

    box-sizing: border-box;

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.04),
        0 8px 18px rgba(0,0,0,0.12);
}


/* ===== SELECTED FOOD PREVIEW ===== */

#nutrition .food-preview {
    margin: 18px 0;
    padding: 18px;

    background:
        linear-gradient(
            145deg,
            rgba(24,32,28,0.96),
            rgba(10,17,13,0.96)
        ) !important;

    border: 1px solid rgba(114,255,24,0.20) !important;
    border-radius: 18px !important;

    color: white !important;

    box-shadow:
        0 8px 22px rgba(0,0,0,0.16),
        inset 0 1px 0 rgba(255,255,255,0.04);
}

#nutrition .food-preview-header {
    display: flex;
    justify-content: space-between;
    gap: 10px;

    margin-bottom: 10px;
}

#nutrition .food-preview-header span {
    color: rgba(255,255,255,0.55);
    font-size: 13px;
}

#nutrition .food-preview-header strong {
    color: #72ff18;
}

#nutrition #previewFoodAmount {
    margin: 0 0 12px;

    color: white;
    font-size: 22px;
    font-weight: 800;
}

#nutrition .food-preview-macros {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

#nutrition .food-preview-macros span {
    padding: 9px 10px;

    background: rgba(255,255,255,0.045);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 10px;

    color: rgba(255,255,255,0.65);

    font-size: 12px;
}

#nutrition .food-preview-macros b {
    color: white;
}


/* Meal type */
#nutrition #mealType {
    background: rgba(255,255,255,0.055) !important;
    color: white !important;

    border: 1px solid rgba(255,255,255,0.14) !important;
    border-radius: 14px !important;
}

#nutrition #mealType option {
    background: #111713;
    color: white;
}
/* FIX FOOD MACRO WHITE BOXES */

#nutrition .food-input-grid .input-group {
    background:
        linear-gradient(
            145deg,
            rgba(24,32,28,0.96),
            rgba(10,17,13,0.96)
        ) !important;

    border: 1px solid rgba(114,255,24,0.18) !important;
    border-radius: 18px !important;

    padding: 12px !important;
}

#nutrition .food-input-grid .input-group input {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;

    color: white !important;

    height: 45px !important;
    padding: 0 !important;
}

#nutrition .food-input-grid .input-group label {
    color: rgba(255,255,255,0.55) !important;
}


/* Kill any old white background */
#nutrition .food-input-grid .input-group,
#nutrition .food-input-grid .input-group:hover,
#nutrition .food-input-grid .input-group:focus-within {
    background-color: #111713 !important;
}
/* =========================================
   NUTRITION - SAVED MEALS DARK THEME
========================================= */

/* Whole food history/list area */
#nutrition #foodList {
    margin-top: 18px;
    padding: 18px;

    background:
        linear-gradient(
            145deg,
            rgba(24,32,28,0.96),
            rgba(10,17,13,0.96)
        ) !important;

    border: 1px solid rgba(114,255,24,0.18);
    border-radius: 22px;

    color: white;
}

/* Breakfast / Lunch / Dinner / Snack sections */
#nutrition #foodList > div {
    background: transparent !important;
    color: white !important;

    padding: 0 !important;
    margin: 0 0 18px !important;
}

/* Section title */
#nutrition #foodList > div > h2 {
    color: #72ff18 !important;

    font-size: 15px !important;
    font-weight: 800 !important;

    margin: 0 0 12px !important;
}


/* Each added food item */
#nutrition #foodList .food-item {
    position: relative;

    padding: 17px !important;
    margin-bottom: 10px;

    background:
        linear-gradient(
            145deg,
            rgba(26,35,30,0.98),
            rgba(11,18,14,0.98)
        ) !important;

    border: 1px solid rgba(114,255,24,0.16) !important;
    border-radius: 16px !important;

    color: white !important;

    box-shadow:
        0 7px 20px rgba(0,0,0,0.16);
}


/* Food information */
#nutrition #foodList .food-info {
    color: white !important;
}

#nutrition #foodList .food-info h3 {
    color: white !important;
    margin: 8px 0 5px;
}

#nutrition #foodList .food-info p {
    color: rgba(255,255,255,0.58) !important;
    margin: 5px 0 0;
    line-height: 1.5;
}


/* Meal badge */
#nutrition #foodList .meal-type {
    display: inline-block;

    padding: 6px 9px;

    background: rgba(114,255,24,0.09) !important;
    border: 1px solid rgba(114,255,24,0.18);
    border-radius: 999px;

    color: #72ff18 !important;

    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}


/* Amount */
#nutrition #foodList .food-amount {
    color: rgba(255,255,255,0.72) !important;
}


/* Delete button */
#nutrition #foodList .delete-food {
    width: 38px;
    height: 38px;

    border: 1px solid rgba(255,80,80,0.25) !important;
    border-radius: 50% !important;

    background: rgba(255,70,70,0.10) !important;
    color: #ff6262 !important;

    cursor: pointer;
}
/* =========================================
   FINAL FIX - REMOVE WHITE MEAL WRAPPER
========================================= */

/* كل أقسام الوجبات داخل foodList */
#nutrition #foodList > div {
    background:
        linear-gradient(
            145deg,
            rgba(24,32,28,0.97),
            rgba(10,17,13,0.97)
        ) !important;

    border: 1px solid rgba(114,255,24,0.16) !important;
    border-radius: 20px !important;

    padding: 18px !important;
    margin-bottom: 16px !important;

    color: white !important;

    box-shadow:
        0 10px 25px rgba(0,0,0,0.18),
        inset 0 1px 0 rgba(255,255,255,0.03);
}


/* أي خلفية بيضاء داخل قسم الوجبة */
#nutrition #foodList > div > div {
    background-color: transparent !important;
}


/* عدد العناصر - 1 item */
#nutrition #foodList [class*="count"],
#nutrition #foodList [class*="item-count"] {
    background: rgba(114,255,24,0.10) !important;
    color: #72ff18 !important;

    border: 1px solid rgba(114,255,24,0.18) !important;
    border-radius: 999px !important;
}


/* عنوان Breakfast / Lunch / Dinner / Snacks */
#nutrition #foodList > div > h2 {
    color: #72ff18 !important;
}
/* =========================================
   NUTRITION FOOD LIST - VISUAL FIX ONLY
   ========================================= */

/* Remove the big white outer card */
.food-list {
    background: transparent !important;
    padding: 12px 0 !important;
    border: none !important;
    box-shadow: none !important;
}

/* Breakfast / Lunch / Dinner / Snacks section */
.food-list > div {
    background: rgba(10, 35, 25, 0.75) !important;
    border: 1px solid rgba(126, 255, 0, 0.18) !important;
    border-radius: 24px !important;
    padding: 20px !important;
    margin-bottom: 16px !important;
}

/* Meal title */
.food-list > div > h2 {
    margin: 0 0 16px !important;
    font-size: 22px !important;
}

/* Individual food cards */
.food-item {
    background: rgba(7, 28, 20, 0.9) !important;
    border: 1px solid rgba(126, 255, 0, 0.18) !important;
    border-radius: 18px !important;
    padding: 18px !important;
    margin-bottom: 12px !important;
}

/* Don't leave extra space after last food */
.food-item:last-child {
    margin-bottom: 0 !important;
}
/* FINAL FOOD LIST OVERRIDE - VISUAL ONLY */

#nutrition #foodList {
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
    border: none !important;
    padding: 0 !important;
}

/* Meal section: Breakfast / Lunch / Dinner / Snack */
#nutrition #foodList > div {
    background: rgba(10, 25, 17, 0.95) !important;
    border: 1px solid rgba(114, 255, 24, 0.18) !important;
    border-radius: 22px !important;
    padding: 18px !important;
    margin-bottom: 16px !important;
    box-shadow: none !important;
}

/* Individual foods */
#nutrition #foodList .food-item {
    background: rgba(8, 22, 15, 0.95) !important;
    border: 1px solid rgba(114, 255, 24, 0.16) !important;
    border-radius: 18px !important;
    padding: 18px !important;
    margin: 12px 0 !important;
    box-shadow: none !important;
}
/* =========================================
   FIX WHITE TODAY'S MEALS WRAPPER
========================================= */

#nutrition .meals-section {
    background:
        linear-gradient(
            145deg,
            rgba(24, 32, 28, 0.97),
            rgba(10, 17, 13, 0.97)
        ) !important;

    border: 1px solid rgba(114, 255, 24, 0.16) !important;
    border-radius: 22px !important;

    padding: 18px !important;
    margin-top: 18px !important;

    color: white !important;

    box-shadow:
        0 10px 25px rgba(0,0,0,0.18),
        inset 0 1px 0 rgba(255,255,255,0.03) !important;
}

/* Today's Meals title */
#nutrition .meals-title h2 {
    color: white !important;
}

/* 1 item / 2 items badge */
#nutrition #mealCount {
    background: rgba(114,255,24,0.10) !important;
    color: #72ff18 !important;

    border: 1px solid rgba(114,255,24,0.18) !important;
    border-radius: 999px !important;

    padding: 6px 10px !important;
}

/* Keep foodList transparent inside wrapper */
#nutrition .meals-section #foodList {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}
/* =====================================================
   FITTRACK - WORKOUT PAGE DARK THEME
   CSS ONLY - DOES NOT TOUCH FUNCTIONALITY
===================================================== */

/* ===== WHOLE PAGE ===== */

#workout.workout {
    min-height: 100vh;
    padding: 22px 16px 35px;

    background:
        radial-gradient(
            circle at 50% 15%,
            rgba(74, 255, 25, 0.10),
            transparent 30%
        ),
        linear-gradient(
            180deg,
            #101713 0%,
            #07100b 100%
        ) !important;

    color: white !important;
    box-sizing: border-box;
}


/* ===== HEADER ===== */

#workout .workout-header {
    display: flex;
    align-items: flex-start;
    gap: 18px;

    margin-bottom: 22px;
    padding: 18px;

    background:
        linear-gradient(
            145deg,
            rgba(24, 32, 28, 0.97),
            rgba(10, 17, 13, 0.97)
        );

    border: 1px solid rgba(114,255,24,0.17);
    border-radius: 22px;

    box-shadow:
        0 12px 28px rgba(0,0,0,0.22),
        inset 0 1px 0 rgba(255,255,255,0.03);
}

#workout .workout-header button {
    flex-shrink: 0;

    padding: 11px 15px;

    background: rgba(114,255,24,0.08);
    color: #72ff18;

    border: 1px solid rgba(114,255,24,0.28);
    border-radius: 13px;

    font-weight: 700;
    cursor: pointer;
}

#workout .workout-header p:first-child {
    margin: 0 0 4px;

    color: #72ff18;
    font-weight: 900;
    letter-spacing: 1px;
}

#workout .workout-header h2 {
    margin: 0 0 5px;

    color: white !important;
    font-size: 27px;
    line-height: 1.05;
}

#workout .workout-header div > p:last-child {
    margin: 0;

    color: rgba(255,255,255,0.55) !important;
    font-size: 13px;
    line-height: 1.45;
}


/* ===== MAIN CARDS ===== */

#workout .workout-card {
    margin-bottom: 18px;
    padding: 20px;

    background:
        linear-gradient(
            145deg,
            rgba(24,32,28,0.97),
            rgba(8,15,11,0.97)
        ) !important;

    border: 1px solid rgba(114,255,24,0.15) !important;
    border-radius: 22px !important;

    color: white !important;

    box-shadow:
        0 10px 26px rgba(0,0,0,0.20),
        inset 0 1px 0 rgba(255,255,255,0.03);
}

#workout .workout-card > h3 {
    margin: 0 0 19px;

    color: white !important;
    font-size: 22px;
    font-weight: 850;
}


/* ===== LABELS ===== */

#workout .input-group label,
#workout .sets-header span {
    color: rgba(255,255,255,0.65) !important;
    font-weight: 700;
}


/* ===== EXERCISE SEARCH ===== */

#workout #exerciseName {
    width: 100%;
    height: 52px;

    padding: 0 15px;

    background: rgba(255,255,255,0.055) !important;
    color: white !important;

    border: 1px solid rgba(255,255,255,0.12) !important;
    border-radius: 14px !important;

    outline: none;
    box-sizing: border-box;
}

#workout #exerciseName::placeholder {
    color: rgba(255,255,255,0.34);
}

#workout #exerciseName:focus {
    border-color: #72ff18 !important;

    box-shadow:
        0 0 0 3px rgba(114,255,24,0.08);
}


/* ===== SETS SECTION ===== */

#workout .workout-sets-section {
    margin-top: 18px;
}

#workout .sets-header {
    display: grid;
    grid-template-columns: 48px 1fr 1fr;
    gap: 10px;

    margin-bottom: 8px;

    font-size: 12px;
}

#workout .workout-set-row {
    display: grid;
    grid-template-columns: 48px 1fr 1fr;
    gap: 10px;
    align-items: center;

    margin-bottom: 10px;
}

#workout .set-number {
    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(114,255,24,0.09);
    color: #72ff18;

    border: 1px solid rgba(114,255,24,0.18);
    border-radius: 10px;

    font-weight: 800;
}

#workout .set-reps,
#workout .set-weight {
    width: 100%;
    height: 44px;

    padding: 0 12px;

    background: rgba(255,255,255,0.055) !important;
    color: white !important;

    border: 1px solid rgba(255,255,255,0.12) !important;
    border-radius: 11px !important;

    box-sizing: border-box;
    outline: none;
}

#workout .set-reps:focus,
#workout .set-weight:focus {
    border-color: #72ff18 !important;
}


/* ===== ADD SET BUTTON ===== */

#workout .add-set-btn {
    margin-top: 5px;
    padding: 10px 15px;

    background: rgba(114,255,24,0.07) !important;
    color: #72ff18 !important;

    border: 1px solid rgba(114,255,24,0.32) !important;
    border-radius: 11px !important;

    font-weight: 800;
    cursor: pointer;
}


/* ===== ADD EXERCISE ===== */

#workout .add-exercise-btn {
    width: 100%;
    min-height: 52px;

    margin-top: 18px;

    background:
        linear-gradient(
            90deg,
            #55dd12,
            #83ff19
        ) !important;

    color: #10200c !important;

    border: none !important;
    border-radius: 15px !important;

    font-size: 17px;
    font-weight: 900;

    box-shadow:
        0 8px 25px rgba(114,255,24,0.20);

    cursor: pointer;
}


/* ===== YOUR EXERCISES ===== */

#workout #workoutList {
    color: white !important;
}

#workout #workoutList > div:not(#emptyWorkoutMessage) {
    margin-top: 12px;
    padding: 17px;

    background: rgba(6,22,14,0.82) !important;

    border: 1px solid rgba(114,255,24,0.15) !important;
    border-radius: 17px !important;

    color: white !important;
}

#workout #workoutList h3,
#workout #workoutList h4,
#workout #workoutList strong {
    color: white !important;
}

#workout #workoutList p,
#workout #workoutList span {
    color: rgba(255,255,255,0.66);
}

#workout #emptyWorkoutMessage {
    padding: 20px;
    text-align: center;

    color: rgba(255,255,255,0.42);
}


/* ===== TOTAL VOLUME ===== */

#workout .total-volume-card {
    margin-top: 18px;
    padding: 15px 16px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    background: rgba(114,255,24,0.065);

    border: 1px solid rgba(114,255,24,0.16);
    border-radius: 14px;

    color: rgba(255,255,255,0.68);
}

#workout #totalWorkoutVolume {
    color: white;
    font-size: 18px;
}


/* ===== SAVE WORKOUT ===== */

#workout .save-workout-btn {
    width: 100%;
    min-height: 53px;

    margin: 15px 0 25px;

    background:
        linear-gradient(
            90deg,
            #55dd12,
            #83ff19
        ) !important;

    color: #10200c !important;

    border: none !important;
    border-radius: 15px !important;

    font-size: 17px;
    font-weight: 900;

    box-shadow:
        0 8px 25px rgba(114,255,24,0.18);

    cursor: pointer;
}


/* ===== WORKOUT HISTORY ===== */

#workout .workout-history {
    margin-top: 10px;
}

#workout .workout-history > h3 {
    margin-bottom: 16px;

    color: white !important;
    font-size: 22px;
}

#workout #workoutHistoryList {
    color: white !important;
}


/* Every dynamically-created workout history card */
#workout #workoutHistoryList > div {
    margin-bottom: 14px;
    padding: 17px;

    background:
        linear-gradient(
            145deg,
            rgba(22,31,26,0.97),
            rgba(8,16,11,0.97)
        ) !important;

    border: 1px solid rgba(114,255,24,0.14) !important;
    border-radius: 18px !important;

    color: white !important;

    box-shadow:
        0 7px 20px rgba(0,0,0,0.14);
}

#workout #workoutHistoryList h3,
#workout #workoutHistoryList h4,
#workout #workoutHistoryList strong {
    color: white !important;
}

#workout #workoutHistoryList p,
#workout #workoutHistoryList span {
    color: rgba(255,255,255,0.68);
}


/* Dates */
#workout #workoutHistoryList time,
#workout #workoutHistoryList [class*="date"] {
    color: #72ff18 !important;
}


/* ===== DELETE BUTTONS ===== */

#workout #workoutList button,
#workout #workoutHistoryList button {
    border-radius: 12px;
}

#workout #workoutHistoryList button {
    background: rgba(255,70,70,0.10) !important;
    color: #ff6262 !important;

    border: 1px solid rgba(255,80,80,0.20) !important;
}


/* ===== MOBILE ===== */

@media (max-width: 600px) {

    #workout.workout {
        padding: 15px 12px 30px;
    }

    #workout .workout-header {
        padding: 15px;
        gap: 12px;
    }

    #workout .workout-header h2 {
        font-size: 24px;
    }

    #workout .workout-card {
        padding: 17px;
    }

    #workout .sets-header,
    #workout .workout-set-row {
        grid-template-columns: 42px 1fr 1fr;
        gap: 7px;
    }
}
/* ==========================================
   WORKOUT HISTORY - REMOVE WHITE SET ROWS
========================================== */

/* أي صفوف داخل workout history */
#workout #workoutHistoryList div div {
    background-color: transparent !important;
    color: white !important;
}

/* الصفوف التي تحتوي Set / Reps / Kg */
#workout #workoutHistoryList [class*="set"] {
    background:
        rgba(255, 255, 255, 0.045) !important;

    color: white !important;

    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    border-radius: 11px !important;
}

/* النصوص داخل الصفوف */
#workout #workoutHistoryList [class*="set"] span,
#workout #workoutHistoryList [class*="set"] p,
#workout #workoutHistoryList [class*="set"] strong {
    color: rgba(255,255,255,0.78) !important;
    background: transparent !important;
}

/* احتياط لأي عناصر مولدة بخلفية بيضاء */
#workout #workoutHistoryList div {
    color: white;
}

/* Remove inherited white backgrounds */
#workout #workoutHistoryList div > div {
    background-color: rgba(255,255,255,0.035) !important;
}

/* Workout title */
#workout #workoutHistoryList h3,
#workout #workoutHistoryList h4 {
    color: white !important;
}

/* Total volume */
#workout #workoutHistoryList strong {
    color: white !important;
}
/* =====================================================
   FITTRACK - PROGRESS PAGE DARK THEME
===================================================== */

#progressPage.progress-page {
    min-height: 100vh;
    padding: 18px 14px 35px;
    box-sizing: border-box;

    background:
        radial-gradient(
            circle at 50% 10%,
            rgba(114,255,24,0.10),
            transparent 28%
        ),
        linear-gradient(
            180deg,
            #101713 0%,
            #07100b 100%
        ) !important;

    color: white !important;
}


/* ===== HEADER ===== */

#progressPage .progress-header {
    display: flex;
    align-items: flex-start;
    gap: 16px;

    padding: 18px;
    margin-bottom: 18px;

    background:
        linear-gradient(
            145deg,
            rgba(24,32,28,0.97),
            rgba(10,17,13,0.97)
        );

    border: 1px solid rgba(114,255,24,0.17);
    border-radius: 22px;

    box-shadow:
        0 12px 28px rgba(0,0,0,0.22),
        inset 0 1px 0 rgba(255,255,255,0.03);
}

#progressPage .progress-header button {
    flex-shrink: 0;

    padding: 11px 15px;

    background: rgba(114,255,24,0.08);
    color: #72ff18;

    border: 1px solid rgba(114,255,24,0.28);
    border-radius: 13px;

    font-weight: 800;
    cursor: pointer;
}

#progressPage .progress-header div > p:first-child {
    margin: 0 0 4px;

    color: #72ff18 !important;
    font-weight: 900;
    letter-spacing: 1px;
}

#progressPage .progress-header h2 {
    margin: 0 0 5px;

    color: white !important;
    font-size: 28px;
    line-height: 1.05;
}

#progressPage .progress-header div > p:last-child {
    margin: 0;

    color: rgba(255,255,255,0.55) !important;
    font-size: 13px;
    line-height: 1.45;
}


/* ===== TOP STATS GRID ===== */

#progressPage .progress-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;

    margin-bottom: 18px;
}

#progressPage .progress-card {
    background:
        linear-gradient(
            145deg,
            rgba(24,32,28,0.97),
            rgba(8,15,11,0.97)
        ) !important;

    border: 1px solid rgba(114,255,24,0.15) !important;
    border-radius: 20px !important;

    color: white !important;

    box-shadow:
        0 8px 22px rgba(0,0,0,0.17),
        inset 0 1px 0 rgba(255,255,255,0.03);
}

#progressPage .progress-grid .progress-card {
    min-height: 125px;
    padding: 18px;

    display: flex;
    flex-direction: column;
    justify-content: center;
}

#progressPage .progress-grid .progress-card span {
    color: rgba(255,255,255,0.58) !important;
    font-size: 13px;
    margin-bottom: 8px;
}

#progressPage .progress-grid .progress-card strong {
    color: white !important;
    font-size: 28px;
    line-height: 1;
}


/* ===== GENERAL CARD TITLES ===== */

#progressPage .progress-card > h3 {
    margin: 0 0 18px;

    color: white !important;
    font-size: 21px;
    font-weight: 850;
}


/* ===== CHART CARD ===== */

#progressPage .progress-chart-card {
    padding: 18px;
    margin-bottom: 18px;
}

#progressPage #progressChart,
#progressPage #exerciseProgressChart {
    max-width: 100% !important;
}


/* ===== PERSONAL RECORDS ===== */

#progressPage .pr-card {
    padding: 18px;
    margin-bottom: 18px;
}

#progressPage #personalRecordsList {
    color: white !important;
}

#progressPage #personalRecordsList > * {
    color: white !important;
}

#progressPage #personalRecordsList > div {
    margin-top: 10px;
    padding: 14px 15px;

    background: rgba(114,255,24,0.06) !important;

    border: 1px solid rgba(114,255,24,0.14) !important;
    border-radius: 14px !important;
}

#progressPage #personalRecordsList strong {
    color: #72ff18 !important;
}


/* ===== EXERCISE PROGRESS ===== */

#progressPage .exercise-progress-card {
    padding: 18px;
    margin-bottom: 18px;
}

#progressPage #progressExerciseSelect {
    width: 100%;
    height: 52px;

    padding: 0 14px;

    background: rgba(255,255,255,0.055) !important;
    color: white !important;

    border: 1px solid rgba(255,255,255,0.12) !important;
    border-radius: 14px !important;

    outline: none;
    box-sizing: border-box;

    font-size: 15px;
}

#progressPage #progressExerciseSelect:focus {
    border-color: #72ff18 !important;

    box-shadow:
        0 0 0 3px rgba(114,255,24,0.08);
}

#progressPage #progressExerciseSelect option {
    background: #111a14;
    color: white;
}

#progressPage #exerciseProgressStats {
    margin-top: 16px;

    color: rgba(255,255,255,0.66) !important;
}

#progressPage #exerciseProgressStats p {
    color: rgba(255,255,255,0.66) !important;
}

#progressPage .exercise-chart-container {
    margin-top: 16px;
}


/* ===== RECENT PROGRESS ===== */

#progressPage .progress-main-card {
    padding: 18px;
    margin-bottom: 18px;
}

#progressPage #progressWorkoutList {
    color: white !important;
}

#progressPage #progressWorkoutList > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;

    padding: 14px 0;

    border-bottom:
        1px solid rgba(255,255,255,0.07);
}

#progressPage #progressWorkoutList > div:last-child {
    border-bottom: none;
}

#progressPage #progressWorkoutList span,
#progressPage #progressWorkoutList p {
    color: rgba(255,255,255,0.60) !important;
}

#progressPage #progressWorkoutList strong {
    color: #72ff18 !important;
}


/* ===== REMOVE OLD WHITE BACKGROUNDS ===== */

#progressPage .progress-card *,
#progressPage .progress-card div {
    box-sizing: border-box;
}

#progressPage .progress-card div:not(.exercise-chart-container) {
    color: inherit;
}


/* ===== PERSONAL RECORD POPUP ===== */

#prPopup.pr-popup {
    background: rgba(0,0,0,0.72) !important;

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

#prPopup .pr-popup-card {
    background:
        linear-gradient(
            145deg,
            rgba(24,32,28,0.99),
            rgba(8,15,11,0.99)
        ) !important;

    color: white !important;

    border: 1px solid rgba(114,255,24,0.20) !important;
    border-radius: 24px !important;

    box-shadow:
        0 25px 60px rgba(0,0,0,0.45),
        0 0 40px rgba(114,255,24,0.06);
}

#prPopup .pr-popup-label {
    color: #72ff18 !important;
}

#prPopup h2 {
    color: white !important;
}

#prPopup .pr-popup-weight {
    color: white !important;
}

#prPopup .pr-popup-improvement {
    color: #72ff18 !important;
}

#prPopup .pr-popup-close {
    background: rgba(255,255,255,0.06) !important;
    color: white !important;

    border: 1px solid rgba(255,255,255,0.10) !important;
}

#prPopup .pr-popup-done {
    background:
        linear-gradient(
            90deg,
            #55dd12,
            #83ff19
        ) !important;

    color: #10200c !important;

    border: none !important;

    font-weight: 900;
}


/* ===== MOBILE ===== */

@media (max-width: 600px) {

    #progressPage.progress-page {
        padding: 15px 12px 30px;
    }

    #progressPage .progress-header {
        padding: 15px;
        gap: 12px;
    }

    #progressPage .progress-header h2 {
        font-size: 24px;
    }

    #progressPage .progress-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    #progressPage .progress-grid .progress-card {
        min-height: 115px;
        padding: 15px;
    }

    #progressPage .progress-grid .progress-card strong {
        font-size: 23px;
    }
}
/* =========================================
   PROGRESS FINAL POLISH
========================================= */

/* وضوح النصوص داخل progress */
#progressPage {
    color: #fff !important;
}

#progressPage .progress-card,
#progressPage .progress-card * {
    color: white;
}

/* العناوين الثانوية */
#progressPage .progress-card > span,
#progressPage #exerciseProgressStats p {
    color: rgba(255,255,255,0.72) !important;
}

/* الأرقام الرئيسية */
#progressPage .progress-grid strong {
    color: #ffffff !important;
    font-weight: 900 !important;
}

/* Personal Record */
#progressPage #personalRecordsList strong {
    color: #72ff18 !important;
}

/* Recent Progress weights */
#progressPage #progressWorkoutList strong {
    color: #72ff18 !important;
}

/* Recent progress dates */
#progressPage #progressWorkoutList span,
#progressPage #progressWorkoutList p {
    color: rgba(255,255,255,0.82) !important;
}

/* Dropdown */
#progressPage #progressExerciseSelect {
    background: rgba(255,255,255,0.06) !important;
    color: white !important;
}

#progressPage #progressExerciseSelect option {
    background: #0d1510;
    color: white;
}

/* Chart containers */
#progressPage .progress-chart-card,
#progressPage .exercise-progress-card {
    overflow: hidden;
}

#progressPage canvas {
    background: transparent !important;
}
/* ===== AUTH MESSAGES ===== */

#signUpMessage,
#authMessage {
    display: none;
    margin-top: 18px;
    padding: 13px 16px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
    text-align: center;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

#signUpMessage:not(:empty),
#authMessage:not(:empty) {
    display: block;
}
/* ===== Workout History - Grouped by Date ===== */

.history-date-card {
    margin-bottom: 14px;
    border: 1px solid rgba(78, 255, 72, 0.18);
    border-radius: 18px;
    background: rgba(10, 18, 15, 0.82);
    overflow: hidden;
    transition: 0.25s ease;
}

.history-date-header {
    width: 100%;
    border: none;
    background: transparent;
    color: #fff;
    padding: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    cursor: pointer;
    text-align: left;
}

.history-date-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.history-date-info strong {
    font-size: 16px;
}

.history-date-info span {
    font-size: 13px;
    opacity: 0.7;
}

.history-date-summary {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #7dff4f;
    font-weight: 700;
    white-space: nowrap;
}

.history-chevron {
    font-size: 22px;
    transition: transform 0.25s ease;
}

.history-date-content {
    display: none;
    padding: 0 18px 18px;
}

.history-date-card.open .history-date-content {
    display: block;
}

.history-date-card.open .history-chevron {
    transform: rotate(180deg);
}

.history-date-card.open {
    border-color: rgba(78, 255, 72, 0.45);
}

.history-exercise {
    padding: 15px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.history-exercise > strong {
    display: block;
    margin-bottom: 10px;
    color: #fff;
    font-size: 15px;
}

.history-sets {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.history-set-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
    align-items: center;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    font-size: 13px;
}

.history-set-row span:nth-child(2),
.history-set-row strong {
    text-align: right;
}

.history-volume {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.history-volume strong {
    color: #7dff4f;
}

.history-delete-actions {
    margin-top: 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.history-delete-actions .delete-history-btn {
    width: 100%;
}

@media (max-width: 600px) {
    .history-date-header {
        padding: 15px;
    }

    .history-date-summary {
        font-size: 13px;
        gap: 8px;
    }

    .history-date-info strong {
        font-size: 15px;
    }

    .history-set-row {
        font-size: 12px;
        padding: 9px 10px;
    }
}
/* ===== Workout History - Premium Inner Style ===== */

.history-date-content {
    padding: 10px 14px 16px;
}

.history-exercise {
    padding: 14px;
    margin-top: 12px;
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 16px;
    background: rgba(255,255,255,0.025);
}

.history-exercise > strong {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    font-size: 15px;
    color: #fff;
}

.history-exercise > strong::before {
    content: "💪";
    font-size: 14px;
}

.history-sets {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.history-set-row {
    display: grid;
    grid-template-columns: 0.8fr 1fr 0.9fr;
    align-items: center;
    gap: 8px;

    padding: 9px 11px;
    border-radius: 10px;

    background: rgba(255,255,255,0.045);
    border: 1px solid rgba(255,255,255,0.04);

    font-size: 12.5px;
}

.history-set-row span:first-child {
    font-weight: 700;
    color: rgba(255,255,255,0.75);
}

.history-set-row span:nth-child(2) {
    text-align: center;
    color: rgba(255,255,255,0.7);
}

.history-set-row strong {
    text-align: right;
    color: #7dff4f;
    font-size: 13px;
}

.history-volume {
    margin-top: 14px;
    padding: 13px 14px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    border-radius: 12px;
    background: rgba(125,255,79,0.06);
    border: 1px solid rgba(125,255,79,0.14);

    font-size: 13px;
    color: rgba(255,255,255,0.75);
}

.history-volume strong {
    color: #7dff4f;
    font-size: 15px;
}

.history-date-content > .delete-history-btn {
    width: 100%;
    margin-top: 12px;
    padding: 11px;

    border-radius: 12px;
    border: 1px solid rgba(255,85,85,0.25);

    background: rgba(255,65,65,0.08);
    color: #ff6b6b;

    font-size: 13px;
    font-weight: 700;

    cursor: pointer;
    transition: 0.2s ease;
}

.history-date-content > .delete-history-btn:hover {
    background: rgba(255,65,65,0.14);
}

@media (max-width: 600px) {
    .history-date-content {
        padding: 8px 12px 14px;
    }

    .history-exercise {
        padding: 12px;
        border-radius: 14px;
    }

    .history-set-row {
        padding: 8px 9px;
        font-size: 12px;
    }
}
