/* =================== CSS VARIABLES =================== */
:root {
    --primary-color: #00689d;
    --primary-color-hover: #1976D2;
    --secondary-color: #494d50;
    --tertiary-color: #e30388;
    --subtract-color: #dc3545;
    --subtract-color-hover: #f72a3e;
    --cancel-color: #ccc;
    --background-tittle-accordion: #6939932e;
    --background-color: linear-gradient(45deg, #00689d 0%, #e30388 100%);
    --background-color-hover: linear-gradient(45deg, #005580 0%, #C7026F 100%);
    --tittle-color: linear-gradient(45deg, #00689d 0%, #e30388 100%);
}

/* =================== RANKING STYLES =================== */
.ranking-container {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    margin-top: 1rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.ranking-container h3 {
    text-align: center;
    margin-bottom: 1rem;
    background: var(--tittle-color) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}

.ranking-list {
    margin-top: 1rem;
}

.ranking-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem;
    margin-bottom: 0.5rem;
    border-radius: 5px;
    background: var(--background-tittle-accordion);
}

.rank-1 {
    background: #d4edda;
    color: #155724;
    font-weight: bold;
}

.rank-2 {
    background: #cce5ff;
    color: #004085;
    font-weight: bold;
}

.rank-3 {
    background: #fff3cd;
    color: #856404;
    font-weight: bold;
}

.rank-position {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.rank-1 .rank-position {
    background: #28a745;
    color: white;
}

.rank-2 .rank-position {
    background: #007bff;
    color: white;
}

.rank-3 .rank-position {
    background: #ffc107;
    color: white;
}

.rank-name {
    flex: 1;
    margin-left: 1rem;
}

.rank-amount {
    font-weight: bold;
}

/* =================== ACCORDION STYLES =================== */
.accordion-item {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 1rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: #f8f9fa;
    cursor: pointer;
}

.accordion-header h3 {
    margin: 0;
    color: var(--primary-color);
}

.accordion-content {
    display: none;
    padding: 1rem;
}

.accordion-content.active {
    display: block;
}

/* Ensure all original styles are preserved */
.message-card:first-child,
#weekly-schedule,
#challenge-ranking,
#profile-info {
    margin-top: 120px;
}

/* Challenge Screen */
#weekly-challenge {
    margin-top: 120px;
}

#challenge-ranking {
    margin-top: 20px;
}

/* Profile Weights */
#profile-weights {
    margin-top: 20px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #f5f5f5;
    color: #333;
}

#login-screen {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    align-items: center;
    justify-content: center;
    background-color: white;
    background-image: url('/icons/background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    z-index: 1000;
}

#login-screen.active {
    display: flex;
}

#main-app {
    display: none;
}

#main-app.active {
    display: block;
}

.login-container {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    width: 90%;
    max-width: 400px;
}

.logo {
    text-align: center;
    margin-bottom: 6rem;
    margin-top: 4rem;
}

.login-container h1 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.demo-info {
    text-align: center;
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
}

.login-container input {
    width: 100%;
    padding: 1rem;
    margin-bottom: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    text-align: center;
}

.login-container input::placeholder {
    text-align: center;
}

.login-container button {
    width: 100%;
    padding: 0.75rem 0.375rem;
    background: var(--background-color);
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
}

.login-container button:hover {
    background: var(--background-color-hover);
}

/* =================== MAIN APP =================== */
#main-app {
    height: 100vh;
    display: flex;
    flex-direction: column;
}

.bottom-nav {
    display: flex;
    background: var(--background-color);
    border-top: none;
    position: fixed;
    bottom: 0;
    width: 100%;
    z-index: 100;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
}

.nav-btn {
    flex: 1;
    padding: 0.8rem;
    border: none;
    background: transparent;
    color: white;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: 8px;
    margin: 0.3rem;
}

.nav-btn:hover {
    color: white;
    background: rgba(255,255,255,0.1);
}

.nav-btn.active {
    color: black;
    background: rgb(255 255 255);
    font-weight: bold;
}

.content-screen {
    display: none;
    padding: 140px 1rem 80px;
    overflow-y: auto;
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.content-screen.active {
    display: block;
    opacity: 1;
    transform: translateX(0);
}

.header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 50;
}

.header h2 {
    color: var(--secondary-color);
    margin: 0;
}

.header-logo {
    flex-shrink: 0;
}

.header-logo img {
    display: block;
}

/* =================== CARDS =================== */
.message-card, .challenge-card {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.message-card:first-child,
#weekly-schedule,
#weights-table,
#profile-info {
    margin-top: 120px;
}

.challenge-card h3 {
    color: #FF6B35;
    margin-bottom: 1rem;
    text-align: center;
}

.challenge-card p {
    text-align: center;
}

.challenge-card .modal h3 {
    color: var(--secondary-color);
    margin-bottom: 0rem;
}

.challenge-card .modal p {
    margin-bottom: 1rem;
}

/* =================== PROGRESS BAR =================== */
.progress-container {
    margin-top: 1rem;
}

.progress-bar {
    width: 100%;
    height: 20px;
    background: #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #FF6B35, #FF8C42);
    border-radius: 10px;
    transition: width 0.3s ease;
}

.progress-text {
    text-align: center;
    font-size: 0.9rem;
    color: #666;
    font-weight: bold;
    margin-bottom: 1rem;
}

.progress-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.progress-btn {
    width: 40px;
    height: 40px;
    border: none;
    background: #FF6B35;
    color: white;
    border-radius: 50%;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.progress-btn:hover {
    background: #e55a2b;
}

.progress-controls .progress-bar {
    flex: 1;
    margin: 0;
}

.add-bulk-btn {
    width: 100%;
    padding: 0.8rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9rem;
}

.add-bulk-btn:hover {
    background: #1976D2;
}

#progress-input {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.modal-button {
    display: flex;
    gap: 1rem;
    margin-top: 0.3rem;
}

#subtract-progress, #add-progress  {
    flex: 1;
    padding: 0.8rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
}

#subtract-progress {
    background: var(--subtract-color);
    color: white;
}

#add-progress {
    background: var(--primary-color);
    color: white;
}

#cancel-progress {
    background: var(--cancel-color);
    color: #333;
    flex: 1;
    padding: 0.8rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
}

#add-progress:disabled, #subtract-progress:disabled {
    cursor: not-allowed;
    opacity: 0.7;
}

#add-progress:disabled, #add-progress:hover:not(:disabled) {
    background: var(--primary-color-hover);
}

#subtract-progress:disabled, #subtract-progress:hover:not(:disabled) {
    background: var(--subtract-color-hover);
}

/* =================== SCHEDULE =================== */
.day-schedule {
    background: white;
    margin-bottom: 1rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.time-slots {
    padding: 1rem;
}

.time-slot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem;
    margin-bottom: 0.5rem;
    background: #f8f9fa;
    border-radius: 5px;
    cursor: pointer;
}

.time-slot:hover {
    background: #e9ecef;
}

.time-slot.available {
    border-left: 4px solid #28a745;
}

.time-slot.full {
    border-left: 4px solid var(--subtract-color);
    opacity: 0.6;
    cursor: not-allowed;
}

.time-slot.booked {
    background: #e8f5e8;
    color: #4a7c59;
    cursor: not-allowed;
    border-left: 4px solid var(--subtract-color);
    opacity: 0.7;
}

.time-slot.booked:hover {
    background: #e8f5e8;
}

.time-slot.booked .slot-status {
    color: #4a7c59;
    font-weight: 600;
}

.time-slot.expired {
    background: #f8f8f8;
    color: #999;
    cursor: not-allowed;
    border-left: 4px solid #999;
    opacity: 0.5;
}

.time-slot.expired:hover {
    background: #f8f8f8;
}

.time-slot.expired .slot-status {
    color: #999;
    font-weight: 600;
}

.slot-action {
    display: flex;
    align-items: center;
}

.book-icon {
    cursor: pointer;
    font-size: 1.5rem;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
    background: rgba(0, 104, 157, 0.1);
}

.book-icon:hover {
    background: rgba(0, 104, 157, 0.2);
    transform: scale(1.1);
}

.time-slot.expired .book-icon,
.time-slot.booked .book-icon,
.time-slot.full .book-icon {
    display: none;
}

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

.slot-time {
    font-weight: bold;
    color: #494d50;
}

.slot-status {
    font-size: 0.8rem;
    color: #666;
}

#confirm-booking {
    background: var(--primary-color);
    color: white;
    flex: 1;
    padding: 0.8rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
}
#confirm-booking:disabled {
    background: var(--primary-color-hover);
    cursor: not-allowed;
    opacity: 0.7;
}
#cancel-booking {
    background: var(--cancel-color);
    color: #333;
    flex: 1;
    padding: 0.8rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
}

/* =================== WEIGHTS TABLE =================== */
.weights-table {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.weight-row {
    display: flex;
    justify-content: space-between;
    padding: 1rem;
    position: relative;
}

.weight-row::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--tittle-color);
}

.weight-row:last-child::after {
    display: none;
}


.weight-row:last-child {
    border-bottom: none;
}

.exercise-name {
    font-weight: bold;
    color: #333;
}

.weight-value {
    color: var(--primary-color);
    font-weight: bold;
}

/* =================== PROFILE =================== */
.profile-info {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.profile-item {
    display: flex;
    justify-content: space-between;
    padding: 0.8rem 0;
    position: relative;
}

.profile-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--tittle-color);
}

.profile-item:last-child::after {
    display: none;
}

.profile-item:last-child {
    border-bottom: none;
}

.logout-btn {
    width: 100%;
    padding: 1rem;
    background: var(--subtract-color);
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
}

/* =================== LOADER SPINNER =================== */
.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--cancel-color);
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 2rem auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.no-data {
    text-align: center;
    padding: 1rem;
    color: #888;
}

.loading {
    text-align: center;
    padding: 2rem;
    color: #666;
}

/* =================== SCHEDULE LIST =================== */
.day-item {
    background: white;
    margin: 0 1rem 1rem 1rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    overflow: hidden;
}

.day-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    cursor: pointer;
    font-weight: bold;
    background: var(--accordion-bg, --primary-color);
    color: var(--accordion-text, #ffffff);
    transition: background 0.3s ease, color 0.3s ease;
}

.day-header:hover {
    background: var(--accordion-hover, --primary-color-hover);
}

.day-info {
    flex: 1;
}

.day-name {
    font-weight: bold;
    font-size: 1.1rem;
}

.muscle-groups {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-top: 0.2rem;
}

.day-extra {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.day-date {
    font-size: 0.85rem;
    font-weight: normal;
}

.toggle-icon {
    font-size: 1.2rem;
    transition: transform 0.3s;
}

.day-content {
    display: none;
    padding: 1rem;
}

.day-content.active {
    display: block;
}

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

.modal.active {
    display: flex;
}

.modal-content {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    width: 90%;
    max-width: 400px;
    text-align: left;
    position: relative;
    transform: translateY(0);
}

.modal-content h3 {
    text-align: center;
    margin-bottom: 1.5rem;
    background: var(--tittle-color) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    font-size: 1.3rem;
}

.modal-content #modal-text{
    text-align: center;
}

.modal-content #result-text{
    text-align: center;
}

.modal-buttons {
    display: flex;
    gap: 0.3rem;
    margin-top: 1.5rem;
}

.btn-primary, .btn-secondary {
    flex: 1;
    padding: 0.8rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
}

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

.btn-secondary {
    background: var(--cancel-color);
    color: #333;
}

/* =================== RESULT MODAL =================== */
.modal-content.success h3 {
    color: #28a745;
    background: #d4edda;
    padding: 1rem;
    margin: -2rem -2rem 1rem;
    border-radius: 10px 10px 0 0;
}

.modal-content.error h3 {
    color: var(--subtract-color);
    background: #f8d7da !important;
    padding: 1rem;
    margin: -2rem -2rem 1rem;
    border-radius: 10px 10px 0 0;
    -webkit-text-fill-color: var(--subtract-color) !important;
}

/* content home */
.message-content img,
.message-content video {
    width: 100%;
    height: auto;
    max-height: 400px;
    border-radius: 12px;
    margin-top: 16px;
}

/* =================== USER CLASSES =================== */
.user-classes .day-header {
    background: var(--tittle-color);
    color: white;
}

.user-classes .day-header:hover, .user-classes .day-header:active {
    background: var(--background-color-hover);
    opacity: 0.7;
}

.user-class-list {
    padding: 0;
}

.user-class-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    margin-bottom: 0.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #28a745;
}

.cancel-icon {
    cursor: pointer;
    font-size: 1.2rem;
    padding: 0.5rem;
    border-radius: 50%;
    transition: background 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
}

.class-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.cancel-icon:hover {
    background: rgba(220, 53, 69, 0.1);
}

.class-date {
    font-weight: bold;
    color: #2d5a2d;
}

.class-details {
    display: flex;
    flex-direction: column;
    margin-top: 0.25rem;
}

.class-time {
    font-weight: 600;
    color: #495057;
    margin-bottom: 0.25rem;
}

.class-muscle {
    font-size: 0.9rem;
    color: #6c757d;
}

/* Weight Details Sub-accordion */
.weight-sub-accordion {
    margin-bottom: 0.5rem;
}

.weight-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background: #f8f9fa;
    border-radius: 5px;
    padding: 1rem;
    transition: background 0.3s ease;
}

.weight-header:hover, .weight-header:focus, .weight-header:active  {
    background: var(--background-tittle-accordion) !important;
}

.weight-details {
    display: none;
    padding: 1rem;
    background: #ffffff;
    border-radius: 8px;
    margin-top: 0.5rem;
    border: 1px solid #e9ecef;
}

.weight-details.active {
    display: block;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        max-height: 0;
    }
    to {
        opacity: 1;
        max-height: 300px;
    }
}

.weight-detail-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    position: relative;
}

.weight-detail-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--tittle-color);
}

.weight-detail-item:last-child {
    border-bottom: none;
}

.weight-detail-item:last-child::after {
    display: none;
}

.detail-label {
    font-weight: 600;
    color: #495057;
}

.detail-value {
    color: #6c757d;
}

/* Work Weights */
.weight-info {
    text-align: right;
}

.weight-note {
    font-size: 0.8rem;
    color: #6c757d;
    font-style: italic;
    margin-top: 0.2rem;
}

/* =================== USER UPDATE MODAL =================== */
#user-update-modal .modal-content {
    text-align: left;
    max-width: 450px;
}

#user-update-modal h3 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
    font-size: 1.3rem;
}

#user-update-modal .form-group {
    margin-bottom: 1rem;
}

#user-update-modal .form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
    font-size: 0.9rem;
}

#user-update-modal .form-group input {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

#user-update-modal .form-group input:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(33, 150, 243, 0.1);
}

#user-update-modal .form-group input:invalid {
    border-color: var(--subtract-color);
}

.btn-update-user, .btn-cancel-user {
    flex: 1;
    padding: 0.8rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.btn-update-user {
    background: var(--primary-color);
    color: white;
}

.btn-cancel-user {
    background: var(--cancel-color);
    color: #333;
}

.btn-cancel-user:disabled, .btn-update-user:disabled {
    cursor: not-allowed;
    opacity: 0.7;
}

.btn-update-user:disabled, .btn-update-user:hover:not(:disabled) {
    background: var(--primary-color-hover);
}

.btn-cancel-user:disabled, .btn-cancel-user:hover:not(:disabled) {
    background: var(--cancel-color);
}

/* =================== DOCUMENT =================== */
/* Document modal user */
.btn-save-document, .btn-cancel-document {
    flex: 1;
    padding: 0.8rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.btn-save-document {
    background: var(--primary-color);
    color: white;
}

.btn-cancel-document {
    background: var(--cancel-color);
    color: #333;
}

.btn-cancel-document:disabled, .btn-save-document:disabled {
    cursor: not-allowed;
    opacity: 0.7;
}

.btn-save-document:disabled, .btn-save-document:hover:not(:disabled) {
    background: var(--primary-color-hover);
}

.btn-cancel-document:disabled, .btn-cancel-document:hover:not(:disabled) {
    background: var(--cancel-color);
}

.add-document-btn {
    background: linear-gradient(45deg, #E20388, #00689D);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    margin-bottom: 1rem;
    width: 100%;
    transition: transform 0.2s;
}

.add-document-btn:hover {
    transform: scale(1.02);
}

.documents-list {
    margin-top: 1rem;
}

.document-item {
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 0.5rem;
    overflow: hidden;
}

.document-header {
    background: #f8f9fa;
    padding: 1rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.2s;
}

.document-header:hover, .document-header:focus, .document-header:active  {
    background: #6939932e !important;
}

.document-title {
    font-weight: 600;
    color: #333;
}

.document-details {
    padding: 1rem;
    background: white;
}

.detail-row {
    margin-bottom: 0.5rem;
    padding: 0.25rem 0;
}

.document-actions {
    margin-top: 1rem;
    text-align: center;
}

.feedback-actions {
    margin-top: 1rem;
    text-align: center;
}

.feedback-actions h3 {
    text-align: center;
    margin-bottom: 1rem;
    background: var(--tittle-color) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}

.download-btn {
    background: #00689d;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background-color 0.2s;
}

.download-btn:hover {
    background: #1976D2;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    box-sizing: border-box;
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

/* =================== NUTRITION =================== */
.no-plan-message {
    text-align: center;
    padding: 2rem;
    color: #666;
}

.whatsapp-btn {
    background: linear-gradient(45deg, #25D366, #128C7E);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 1rem;
    cursor: pointer;
    margin-top: 1rem;
    transition: transform 0.2s;
}

.whatsapp-btn:hover {
    transform: scale(1.05);
}

.nutrition-content {
    padding: 1rem;
    line-height: 1.6;
}

.nutrition-content ol {
    margin: 0;
    padding-left: 1.5rem;
}

.nutrition-content li {
    margin-bottom: 0.5rem;
}

/* =================== PAYMENT =================== */
.payment-info {
    padding: 1rem;
}

.payment-row {
    margin-bottom: 0.75rem;
    padding: 0.5rem;
    background: #f8f9fa;
    border-radius: 6px;
    border-left: 4px solid #28a745;
}

.payment-row.overdue {
    background: #fff5f5;
    border-left-color: #dc3545;
    color: #721c24;
}

.payment-row strong {
    color: #333;
    margin-right: 0.5rem;
}

/* =================== VERSION =================== */
.app-version {
    text-align: center;
    color: #666;
    font-size: 0.8rem;
    margin-top: 1rem;
    padding-bottom: 0rem;
}

.designed-by {
    text-align: center;
    color: #666;
    font-size: 0.8rem;
    margin-top: 1rem;
    padding-bottom: 0rem;
}

/* =================== RESPONSIVE =================== */
@media (max-width: 480px) {
    .login-container {
        padding: 1.5rem;
    }
    
    .content-screen {
        padding: 0.8rem;
        padding-bottom: 80px;
    }
    
    .day-item {
        margin: 0 0.5rem 1rem;
    }
    
    .class-details {
        margin-left: 0;
        margin-top: 0.5rem;
        width: 100%;
    }
}