* {
    font-family: "Roboto", sans-serif;
}

/* New Background to match the poster vibe (Subtle gradient) */
body {
    background: radial-gradient(circle at 50% 10%, #ffffff 0%, #f1f5f9 60%, #e2e8f0 100%);
    background-attachment: fixed;
}

/* ===============================
   POSTER STYLE ELEMENTS
   =============================== */

/* Typography */
.poster-title {
    font-weight: 800;
    text-transform: uppercase;
    color: #55606f; /* Dark Grey/Blue from poster */
    line-height: 1.1;
    margin-bottom: 0.2rem;
}

.poster-subtitle {
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #788596;
    margin-top: 0.5rem;
    margin-bottom: 2rem;
}

/* Logo Placeholder Area */
.logo-placeholder {
    height: 80px; 
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.5rem;
}

/* Custom "Poster" Buttons */
.btn-poster {
    background-color: #7b8899; /* The Grey color from the image */
    color: white !important;
    border-radius: 1.25rem; /* Rounded corners */
    height: auto;
    min-height: 110px; /* Tall buttons */
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between; /* Space betwen Text and Icon */
    padding: 0 2.5rem;
    transition: all 0.2s ease;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border: none;
    text-decoration: none;
}

.btn-poster:hover {
    background-color: #64748b; /* Slightly darker on hover */
    transform: translateY(-2px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.btn-poster-text {
    font-size: 3rem; /* Big text like PTG/PTH */
    font-weight: 800; /* Extra Bold */
    text-transform: uppercase;
    font-family: 'Roboto', sans-serif; /* Or a condensed font if you add one */
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Placeholder for the knee/hip icons */
.btn-icon-space {
    width: 60px;
    height: 90px;
    background-color: rgba(255, 255, 255, 0.15); /* Semi-transparent placeholder */
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.7);
    font-size: 0.8rem;
    border: 1px dashed rgba(255,255,255,0.4);
}

/* RTL Support for Arabic Index */
html[dir="rtl"] .btn-poster {
    flex-direction: row-reverse; /* Flip text and icon side */
}

/* ===============================
   EXISTING STYLES (Keep these for internal pages)
   =============================== */
.uk-list-bullet { padding-inline-start: 1.25rem; }
html[dir="rtl"] .uk-list-bullet { padding-inline-start: 0; padding-inline-end: 1.25rem; }
html[dir="rtl"] .uk-list-bullet li { list-style-position: outside; direction: rtl; }
.uk-list-bullet li { list-style-type: disc; }

.uk-card.uk-card-default.uk-card-body:has(input.uk-checkbox[data-exercise]) {
  display: flex; align-items: flex-start; gap: 0.75rem; cursor: pointer;
  border-radius: 0.5rem; border: 1px solid rgba(15, 23, 42, 0.08);
  transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease, transform 0.05s ease;
}
html[dir="rtl"] .uk-card.uk-card-default.uk-card-body:has(input.uk-checkbox[data-exercise]) { flex-direction: row-reverse; }
.uk-card.uk-card-default.uk-card-body:has(input.uk-checkbox[data-exercise]) > :not(input.uk-checkbox) {
  display: flex; flex-direction: column; gap: 0.15rem;
}
.uk-card.uk-card-default.uk-card-body:has(input.uk-checkbox[data-exercise]):hover {
  background-color: rgba(37, 99, 235, 0.03); border-color: rgba(37, 99, 235, 0.35); box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08);
}
.uk-card.uk-card-default.uk-card-body:has(input.uk-checkbox[data-exercise]) input.uk-checkbox {
  margin-top: 0.2rem; width: 1.1rem; height: 1.1rem;
}
.uk-card.uk-card-default.uk-card-body:has(input.uk-checkbox[data-exercise]) > :not(input.uk-checkbox) > :first-child { font-weight: 600; }
.uk-card.uk-card-default.uk-card-body:has(input.uk-checkbox[data-exercise]) > :not(input.uk-checkbox) > :nth-child(2) {
  font-size: 0.8rem; color: rgba(15, 23, 42, 0.7);
}
.uk-card.uk-card-default.uk-card-body:has(input.uk-checkbox[data-exercise]:checked) > :not(input.uk-checkbox) > :first-child {
  text-decoration: line-through; opacity: 0.8;
}
.uk-card.uk-card-default.uk-card-body:has(input.uk-checkbox[data-exercise]:checked) > :not(input.uk-checkbox) {
  border-inline-start: 3px solid #16a34a; padding-inline-start: 0.4rem;
}
html[dir="rtl"] .uk-card.uk-card-default.uk-card-body:has(input.uk-checkbox[data-exercise]:checked) > :not(input.uk-checkbox) {
  border-inline-start: 0; border-inline-end: 3px solid #16a34a; padding-inline-start: 0; padding-inline-end: 0.4rem;
}
.uk-card.uk-card-default.uk-card-body:has(input.uk-checkbox[data-exercise]:focus-visible) {
  outline: 2px solid #2563eb; outline-offset: 2px;
}
li::before{ display: none }

#progress-dashboard { margin-bottom: 1.5rem; border: 1px solid #e2e8f0; box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1); background: white; }
.dashboard-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; padding-bottom: 0.75rem; border-bottom: 1px solid #f1f5f9; }
.date-navigator { display: flex; align-items: center; gap: 0.5rem; background: #f8fafc; padding: 4px; border-radius: 20px; border: 1px solid #e2e8f0; }
.nav-btn { background: white; border: 1px solid #cbd5e1; color: #334155; width: 28px; height: 28px; border-radius: 50%; cursor: pointer; font-size: 0.9rem; display: flex; align-items: center; justify-content: center; transition: all 0.2s; }
.nav-btn:hover { background: #eff6ff; color: #2563eb; border-color: #bfdbfe; }
.nav-date-display { font-weight: 600; font-size: 0.85rem; color: #0f172a; padding: 0 0.5rem; min-width: 80px; text-align: center; }
.day-tag { background: #eff6ff; color: #1d4ed8; padding: 2px 8px; border-radius: 4px; font-size: 0.75rem; font-weight: 700; border: 1px solid #dbeafe; }
.progress-row { margin-bottom: 0.8rem; }
.progress-row:last-child { margin-bottom: 0; }
.progress-label { display: flex; justify-content: space-between; font-size: 0.75rem; margin-bottom: 0.25rem; font-weight: 600; color: #64748b; }
.progress-track { width: 100%; height: 8px; background-color: #f1f5f9; border-radius: 999px; overflow: hidden; }
.progress-fill { height: 100%; border-radius: 999px; transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1); }
.fill-daily { background-color: #3b82f6; } 
.fill-phase { background-color: #8b5cf6; } 
.fill-total { background-color: #10b981; }
html[dir="rtl"] .dashboard-header { flex-direction: row-reverse; }
html[dir="rtl"] .date-navigator { flex-direction: row-reverse; }
html[dir="rtl"] .nav-btn { transform: scaleX(-1); }
