/* استایل پنل استاد و دانشجو - ArtFlow Live Class */

.artflow-teacher-panel,
.artflow-student-panel {
    direction: rtl;
    text-align: right;
    font-family: 'Vazir', 'Tahoma', sans-serif;
    margin: 20px 0;
}

.artflow-teacher-panel h3,
.artflow-student-panel h3 {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: #333;
}

/* جدول */
.artflow-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-radius: 8px;
    overflow: hidden;
}

.artflow-table thead {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}

.artflow-table thead th {
    padding: 12px 15px;
    font-weight: 600;
    text-align: right;
}

.artflow-table tbody tr {
    border-bottom: 1px solid #eee;
    transition: background 0.2s;
}

.artflow-table tbody tr:hover {
    background: #f9f9f9;
}

.artflow-table tbody tr:last-child {
    border-bottom: none;
}

.artflow-table tbody td {
    padding: 12px 15px;
    text-align: right;
    color: #444;
}

/* دکمه‌ها */
.artflow-btn {
    display: inline-block;
    padding: 8px 18px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 13px;
}

.artflow-btn-teacher {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}

.artflow-btn-teacher:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.artflow-btn-student {
    background: #2ecc71;
    color: #fff;
}

.artflow-btn-student:hover {
    background: #27ae60;
    transform: translateY(-1px);
}

.artflow-btn-disabled {
    background: #ccc;
    color: #888;
    cursor: not-allowed;
}

/* وضعیت کلاس */
.artflow-status {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.artflow-status-live {
    background: #d4f8e8;
    color: #1a7f4b;
}

.artflow-status-pending {
    background: #fef3d4;
    color: #b8860b;
}

/* واکنش‌گرایی برای موبایل */
@media screen and (max-width: 768px) {
    .artflow-table,
    .artflow-table thead,
    .artflow-table tbody,
    .artflow-table th,
    .artflow-table td,
    .artflow-table tr {
        display: block;
    }

    .artflow-table thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }

    .artflow-table tr {
        margin-bottom: 15px;
        border: 1px solid #eee;
        border-radius: 8px;
        padding: 10px;
    }

    .artflow-table td {
        border: none;
        position: relative;
        padding-right: 40%;
        text-align: right;
        min-height: 30px;
    }

    .artflow-table td::before {
        position: absolute;
        right: 10px;
        top: 12px;
        width: 35%;
        white-space: nowrap;
        font-weight: 600;
        color: #999;
        content: attr(data-label);
    }
}
