
.tr-page { max-width: 900px; margin: 0 auto; padding: 24px 16px; }
.tr-hero { 
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%); 
    color: #fff; 
    border-radius: 24px; 
    padding: 40px 30px; 
    margin-bottom: 30px; 
    box-shadow: 0 10px 40px rgba(0,0,0,0.2); 
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}
.tr-hero h1 { margin: 0; font-size: 2rem; font-family: 'Amiri', serif; }
.tr-stat-box { text-align: center; background: rgba(255,255,255,0.05); padding: 15px 25px; border-radius: 20px; border: 1px solid rgba(255,255,255,0.1); }
.tr-stat-box .val { font-size: 1.5rem; font-weight: 800; color: #38bdf8; }
.tr-stat-box .lbl { font-size: 11px; text-transform: uppercase; letter-spacing: 1px; opacity: 0.7; }

.tr-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 25px; }
.tr-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 24px; padding: 25px; box-shadow: 0 4px 20px rgba(0,0,0,0.02); }
.tr-card h2 { margin: 0 0 20px 0; font-size: 1.25rem; color: #1e3a5f; display: flex; align-items: center; gap: 12px; }
.tr-card h2 i { color: #3b7cb5; }

/* Prayer Style */
.tr-prayer-row { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px solid #f1f5f9; }
.tr-prayer-row:last-child { border-bottom: none; }
.tr-prayer-info { display: flex; align-items: center; gap: 15px; }
.tr-prayer-icon { width: 40px; height: 40px; background: #f8fafc; border-radius: 12px; display: flex; align-items: center; justify-content: center; color: #64748b; font-size: 1.2rem; }
.tr-prayer-name { font-weight: 700; color: #0f172a; }
.tr-checkbox { 
    width: 28px; height: 28px; border: 2px solid #cbd5e1; border-radius: 8px; cursor: pointer; 
    display: flex; align-items: center; justify-content: center; transition: 0.2s;
}
.tr-checkbox.checked { background: #10b981; border-color: #10b981; color: #fff; }

/* Fasting Style */
.tr-fast-toggle { background: #f8fafc; border-radius: 16px; padding: 20px; text-align: center; border: 2px dashed #e2e8f0; cursor: pointer; transition: 0.3s; }
.tr-fast-toggle.active { background: #eff6ff; border-color: #3b7cb5; color: #1e3a5f; }
.tr-fast-toggle i { font-size: 2.5rem; margin-bottom: 10px; display: block; }

/* Progress Bar */
.tr-progress-container { margin-top: 15px; }
.tr-progress-bar { height: 10px; background: #f1f5f9; border-radius: 5px; overflow: hidden; }
.tr-progress-fill { height: 100%; background: #3b7cb5; border-radius: 5px; transition: width 0.5s ease; }
.tr-progress-text { display: flex; justify-content: space-between; font-size: 12px; margin-top: 8px; font-weight: 700; color: #64748b; }

@media (max-width: 600px) { .tr-grid { grid-template-columns: 1fr; } .tr-hero { padding: 30px 20px; text-align: center; justify-content: center; } }
