/* wwwroot/css/site.css */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;600;700&display=swap');

body {
    font-family: 'Cairo', sans-serif;
    background: #f4f7fa;
    color: #333;
    overflow-x: hidden;
}

/* Sidebar Styles */
.sidebar {
    height: 100vh;
    width: 250px;
    position: fixed;
    top: 0;
    right: 0;
    background: linear-gradient(180deg, #1e3c72 0%, #2a5298 100%);
    color: #fff;
    transition: 0.3s;
    z-index: 1000;
    box-shadow: -2px 0 10px rgba(0,0,0,0.1);
}

.sidebar-header {
    padding: 20px;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.sidebar-menu li {
    padding: 15px 25px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.sidebar-menu li a {
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    font-size: 16px;
    transition: 0.3s;
}

.sidebar-menu li a i {
    margin-left: 15px; /* RTL margin */
    font-size: 20px;
    width: 25px;
    text-align: center;
}

.sidebar-menu li:hover {
    background: rgba(255,255,255,0.1);
    cursor: pointer;
}

.sidebar-menu li:hover a {
    transform: translateX(-5px); /* RTL hover */
    color: #f8f9fa;
}

/* Main Content */
.main-content {
    margin-right: 250px;
    padding: 20px;
    min-height: 100vh;
}

/* Premium Dashboard Cards */
.stat-card {
    background: #fff;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: transform 0.3s;
    border-right: 5px solid #2a5298;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-card .icon {
    font-size: 40px;
    color: #2a5298;
}

.stat-card .info h3 {
    margin: 0;
    font-size: 28px;
    font-weight: 700;
}

.stat-card .info p {
    margin: 0;
    color: #777;
    font-size: 16px;
}

/* Tables and Buttons */
.table {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    vertical-align: middle;
}

.table thead {
    background: #1e3c72;
    color: #fff;
}

.table th, .table td {
    padding: 15px;
}

.btn-custom {
    background: #2a5298;
    color: #fff;
    border-radius: 8px;
    padding: 8px 20px;
    transition: 0.3s;
    border: none;
}

.btn-custom:hover {
    background: #1e3c72;
    color: #fff;
}
