﻿:root {
    --primary-color: #3a7bd5;
    --secondary-color: #00d2ff;
    --success-color: #28a745;
    --text-color: #fff;
    --bg-color: #121212;
    --card-bg: #1e1e1e;
    --border-color: #333;
}

/* Branches Header */
.branches-header {
    margin-bottom: 30px;
    text-align: center;
}

    .branches-header h2 {
        font-size: 2.2rem;
        margin-bottom: 10px;
        color: var(--primary-color);
        transition: color 0.3s ease, transform 0.3s ease;
    }

        .branches-header h2:hover {
            color: #8a2be2;
            transform: translateY(-3px) scale(1.05);
            cursor: pointer;
        }

    .branches-header p.text-muted {
        transition: color 0.3s ease;
        color: #8a2be2;
    }

/* Branches Table */
.branches-table {
    margin-bottom: 30px;
}

    .branches-table table {
        width: 100%;
        border-spacing: 0; /* لإظهار الحواف بشكل سلس */
        border-radius: 15px;
        overflow: hidden;
        background-color: var(--card-bg);
        box-shadow: 0 8px 25px rgba(0,0,0,0.35);
    }

    .branches-table th,
    .branches-table td {
        padding: 15px;
        text-align: center;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        color: var(--text-color);
    }

    .branches-table thead tr {
        display: table-row;
        background: linear-gradient(90deg, var(--success-color), var(--primary-color));
        color: #fff;
    }

    .branches-table th {
        font-weight: bold;
    }

    .branches-table tbody tr:last-child td {
        border-bottom: none;
    }

/* Badges */
.badge {
    padding: 8px 15px;
    border-radius: 50px;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background-color: var(--success-color);
    color: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .badge:hover {
        transform: translateY(-2px) scale(1.05);
        box-shadow: 0 4px 10px rgba(40,167,69,0.4);
    }

/* System Status */
.system-status {
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 20px;
    background-color: var(--card-bg);
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.4);
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.status-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #3a7bd5, #00d2ff);
    padding: 10px 20px;
    border-radius: 50px;
    color: #fff;
    font-weight: bold;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

    .status-item:hover {
        transform: translateY(-3px) scale(1.05);
        box-shadow: 0 6px 15px rgba(58,123,213,0.5);
    }

    .status-item i {
        font-size: 1.5rem;
    }

    .status-item .fa-bolt {
        color: #f9d423;
    }

    .status-item .fa-wifi {
        color: #00d2ff;
    }

/* Responsive Design for Mobile */
@media (max-width: 768px) {
    .branches-table table {
        font-size: 0.85rem;
    }

    .branches-table th,
    .branches-table td {
        padding: 10px;
    }

    .system-status {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }

    .status-item {
        width: 80%;
        justify-content: center;
    }
}


