.qc-container {
    max-width: 880px;
    margin: 40px auto;
    padding: 40px 30px;
    background: #fffaf0;
    background-image:
        radial-gradient(circle at top right, rgba(212,175,122,0.15) 0%, transparent 60%),
        radial-gradient(circle at bottom left, rgba(212,175,122,0.15) 0%, transparent 60%);
    border-radius: 24px;
    box-shadow: 0 15px 40px rgba(107, 68, 35, 0.15), 0 0 0 1px rgba(212,175,122,0.3);
    direction: rtl;
    text-align: center;
    font-family: inherit; /* از فونت پیش‌فرض قالب سایت استفاده می‌کند */
    position: relative;
    overflow: hidden;
}

.qc-container::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 6px;
    background: linear-gradient(90deg, #d4af7a, #b8860b, #d4af7a);
}

.qc-icon {
    font-size: 42px;
    margin-bottom: 5px;
}

.qc-container h2 {
    color: #5c3a1e;
    font-size: 27px;
    margin: 5px 0 8px;
    font-weight: 700;
}

.qc-subtitle {
    color: #8a7350;
    font-size: 15px;
    margin-bottom: 25px;
}

/* ---------- فرم ثبت‌نام ---------- */
.qc-register-box input {
    display: block;
    width: 100%;
    max-width: 380px;
    margin: 12px auto;
    padding: 14px 18px;
    border: 2px solid #e3cfa3;
    border-radius: 12px;
    font-size: 16px;
    text-align: right;
    box-sizing: border-box;
    font-family: inherit;
    background: #fff;
    transition: border-color 0.25s, box-shadow 0.25s;
}

.qc-register-box input:focus {
    outline: none;
    border-color: #b8860b;
    box-shadow: 0 0 0 4px rgba(184,134,11,0.12);
}

.qc-register-box button {
    background: linear-gradient(135deg, #e0b97d, #b8860b);
    color: #fff;
    border: none;
    padding: 14px 45px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    margin-top: 12px;
    font-family: inherit;
    box-shadow: 0 6px 16px rgba(184,134,11,0.35);
    transition: transform 0.2s, box-shadow 0.2s;
}

.qc-register-box button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(184,134,11,0.45);
}

.qc-btn-secondary {
    background: #fff !important;
    color: #b8860b !important;
    border: 2px solid #d4af7a !important;
    box-shadow: none !important;
}
.qc-btn-secondary:hover {
    background: #fdf6e3 !important;
}

.qc-divider {
    display: flex;
    align-items: center;
    text-align: center;
    color: #c9b088;
    margin: 25px 0 15px;
    font-size: 13px;
}
.qc-divider::before, .qc-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px dashed #d4af7a;
}
.qc-divider span { padding: 0 12px; }

.qc-login-hint { color: #8a7350; font-size: 14px; margin-bottom: 5px; }

.qc-message { margin-top: 12px; font-weight: 600; min-height: 20px; font-size: 14px; }

/* ---------- کارتابل پیشرفت ---------- */
.qc-days-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin: 30px 0;
}

@media (max-width: 700px) {
    .qc-days-grid { grid-template-columns: repeat(2, 1fr); }
}

.qc-day-card {
    background: #ffffff;
    border: 2px solid #ecdcb8;
    border-radius: 16px;
    padding: 18px 10px 14px;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 3px 8px rgba(107,68,35,0.06);
}

.qc-day-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 18px rgba(107,68,35,0.12);
}

.qc-day-card.qc-day-done {
    background: linear-gradient(145deg, #8fd19e, #6bbf7b);
    border-color: #5aa968;
    box-shadow: 0 8px 18px rgba(90,169,104,0.35);
}

.qc-day-number {
    font-weight: 700;
    color: #5c3a1e;
    margin-bottom: 4px;
    font-size: 14.5px;
}
.qc-day-card.qc-day-done .qc-day-number { color: #fff; }

.qc-day-ayat {
    font-size: 12.5px;
    color: #a08a63;
    margin-bottom: 12px;
}
.qc-day-card.qc-day-done .qc-day-ayat { color: #eafff0; }

.qc-checkbox-wrap {
    display: inline-block;
    position: relative;
    cursor: pointer;
}
.qc-checkbox-wrap input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}
.qc-checkmark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: #fff;
    border: 2px solid #d8c298;
    border-radius: 8px;
    color: transparent;
    font-size: 16px;
    transition: all 0.25s ease;
    margin: 0 auto;
}
.qc-day-card.qc-day-done .qc-checkmark {
    background: #ffffff;
    border-color: #ffffff;
    color: #4a9e5c;
    transform: scale(1.1);
}

/* ---------- نوار پیشرفت شیک ---------- */
.qc-progress-wrap { margin-top: 30px; }

.qc-progress-bar-container {
    background: #efe3c8;
    border-radius: 30px;
    height: 32px;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 2px 6px rgba(107,68,35,0.15);
}

.qc-progress-bar {
    background: linear-gradient(90deg, #e0b97d, #b8860b, #d4af7a);
    background-size: 200% 100%;
    height: 100%;
    width: 0%;
    border-radius: 30px;
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    animation: qc-shimmer 3s linear infinite;
}

@keyframes qc-shimmer {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

.qc-progress-shine {
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.4) 50%, transparent 70%);
    background-size: 200% 100%;
    animation: qc-shine 2.5s infinite;
}

@keyframes qc-shine {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.qc-progress-text {
    font-weight: 700;
    color: #5c3a1e;
    font-size: 17px;
    margin-top: 12px;
}

.qc-footer-text {
    margin-top: 28px;
    font-size: 17px;
    color: #5c3a1e;
    font-weight: 600;
}