/* Dhikr Tracker styles — touch-friendly and appealing */

.dt-container {
    max-width: 1100px;
    margin: 24px auto;
    background: #ffffff;
    padding: 18px;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.06);
    font-family: 'Scheherazade New', 'Amiri', 'Noto Naskh Arabic', 'Arial', sans-serif;
    font-weight: bold;
    font-size: 35px;
    color: #000000;
}
.dt-title { text-align:center; margin-bottom:6px; font-size:22px; color:#0b3954; }
.dt-sub { text-align:center; color:#666; margin-bottom:16px; }

/* Grid: 3 columns on desktop, responsive */
.dt-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width:900px) { .dt-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width:600px) { .dt-grid { grid-template-columns: 1fr; } }

.dt-card {
    border: 2px solid #0b3954;
    border-radius: 12px;
    padding: 12px;
    text-align: center;
    background: linear-gradient(180deg, #f8fcff 0%, #ffffff 100%);
    min-height: 180px;
    position: relative;
}
.dt-label {
    font-size: 18px;           /* keep readable size */
    direction: rtl;            /* proper Arabic alignment */
    line-height: 1.5;          /* better spacing */
    font-weight: bold;          /* make text bold */
    color: #000000;            /* make text black */
}

/* Big row with value and large button */
.dt-value-row { display:flex; align-items:center; justify-content:center; gap:12px; margin-bottom:10px; }
.dt-value { font-size: 36px; color: #0b3954; font-weight: 700; min-width:60px; text-align:center; }
.dt-big-btn {
    background: #009688;
    color: #fff;
    border: none;
    padding: 14px 22px;
    border-radius: 12px;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 6px 12px rgba(3,115,100,0.2);
    transition: transform .07s ease;
}
.dt-big-btn:active { transform: scale(0.98); }

/* Progress */
.dt-progress-wrap { margin-bottom:12px; }
.dt-progress { width: 100%; height: 12px; background:#e9ecef; border-radius:10px; overflow:hidden; }
.dt-progress-bar { height:100%; width:0%; background:#009688; transition: width 0.25s ease; }
.dt-progress-text { margin-top:6px; font-weight:600; }

/* small controls */
.dt-controls-small { display:flex; gap:8px; justify-content:center; align-items:center; flex-wrap:wrap; }
.dt-small { background:#0b3954; color:#fff; border:none; padding:8px 10px; border-radius:8px; cursor:pointer; }
.dt-small.dt-dec { background:#f57c00; }
.dt-small.dt-reset { background:#d32f2f; }

/* small input */
.dt-input-target { width:80px; padding:6px; border-radius:6px; border:1px solid #ccc; text-align:center; }

/* Footer button */
.dt-footer { text-align:center; margin-top: 14px; }
.dt-stats-link { display:inline-block; padding:10px 16px; background:#0b3954; color:#fff; border-radius:8px; text-decoration:none; }

/* Report page */
.dt-report { max-width:1100px; margin:20px auto; padding:12px; }
.dt-report-controls { display:flex; gap:12px; flex-wrap:wrap; align-items:center; margin-bottom:12px; }
.dt-charts { margin-top:12px; }
#dt-summary { margin-top:14px; font-size:16px; }

/* Buttons */
.dt-primary { background:#00796b; color:#fff; padding:8px 12px; border-radius:8px; border:none; cursor:pointer; }

/* login prompt */
.dt-login-prompt { text-align:center; padding:18px; background:#fff6f6; border:1px solid #ffd6d6; border-radius:8px; }

.dt-summary-box {
    background: #eef7f4;
    border: 2px solid #2e7d32;
    padding: 14px;
    border-radius: 10px;
    margin-bottom: 18px;
}
.dt-summary-box h3 {
    margin-top: 0;
    color: #2e7d32;
    font-size: 18px;
}
.dt-summary-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.dt-summary-list li {
    padding: 4px 0;
    font-size: 15px;
}
.dt-charts {
    width: 100%;
    max-width: 100%;
    overflow-x: auto; /* allows scroll if ever needed */
}
.dt-charts canvas {
    width: 100% !important;
    height: auto !important;
}
.dt-charts {
    position: relative;
    height: 300px;  /* chart height */
}

#chart-container {
    width: 100%;
    height: 300px; /* or desired height */
}

