/*
 Theme Name: Astra Child
 Template: astra
*/

/* پایه داشبورد */
.dashboard-wrapper {
    display: flex;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f4f6f8;
    border-radius: 8px;
    overflow: hidden;
}

/* ستون تب‌ها */
.dashboard-tabs {
    width: 220px;
    background: #fff;
    border-right: 1px solid #ddd;
    box-shadow: 2px 0 8px rgba(0,0,0,0.05);
    padding: 20px;
}

/* دکمه‌های تب */
.dashboard-tabs .tab-btn {
    display: block;
    width: 100%;
    margin-bottom: 12px;
    padding: 12px 16px;
    cursor: pointer;
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 6px;
    text-align: left;
    font-weight: 500;
    color: #555;
    transition: all 0.3s ease;
}

.dashboard-tabs .tab-btn.active {
    background: #0073aa;
    color: #fff;
    border-color: #0073aa;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.dashboard-tabs .tab-btn:hover {
    background: #e0f0ff;
}

/* محتوای تب‌ها */
.dashboard-content {
    flex: 1;
    padding: 25px;
    background: #fff;
    position: relative;
}

/* هر پنل تب */
.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
}

/* لیست روند درخواست */
.request-progress {
    list-style: none;
    padding: 0;
    margin: 0;
}

.request-progress li {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
    padding: 12px 16px;
    background: #f5f7fa;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.request-progress li:hover {
    background: #e6f0ff;
}

.request-progress input[type="checkbox"] {
    width: 22px;
    height: 22px;
    margin-right: 14px;
    cursor: pointer;
}

.request-progress input[type="checkbox"]:disabled {
    cursor: default;
}

.request-progress label {
    font-weight: 500;
    color: #333;
    font-size: 15px;
}

/* تیک‌های زده شده با آیکون */
.request-progress input[type="checkbox"]:checked + label::before {
    content: "✅";
    display: inline-block;
    margin-right: 8px;
}

/* مراحل بدون تیک */
.request-progress input[type="checkbox"]:not(:checked) + label::before {
    content: "⬜";
    display: inline-block;
    margin-right: 8px;
    opacity: 0.6;
}

/* واکنش‌گرا */
@media (max-width: 768px) {
    .dashboard-wrapper {
        flex-direction: column;
    }

    .dashboard-tabs {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        border-right: none;
        border-bottom: 1px solid #ddd;
        padding: 10px;
    }

    .dashboard-tabs .tab-btn {
        flex: 1 1 48%;
        margin: 5px 1%;
        text-align: center;
    }

    .dashboard-content {
        padding: 15px;
    }
}
.request-progress input[type="checkbox"]:not(:checked) + label {
    color: #aaa; /* مرحله تکمیل نشده خاکستری */
}

.request-progress input[type="checkbox"]:checked + label {
    color: #0073aa; /* مرحله تکمیل شده آبی */
    font-weight: 600;
}
