* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, sans-serif;
}

/* ===== Header ===== */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    background: linear-gradient(90deg, #127b8e, #0f4c5c);
    color: #fff;
}

.u-name {
    font-size: 22px;
    font-weight: 600;
}

.u-name b {
    color: #ffd166;
}

.header i {
    font-size: 24px;
    cursor: pointer;
}

/* ===== Layout ===== */
.body {
    display: flex;
    min-height: 100vh;
    background: #f4f6f9;
}

/* ===== Sidebar ===== */
.side-bar {
    width: 240px;
    background: #1f2933;
    color: #fff;
    transition: 0.3s;
}

.user-p {
    text-align: center;
    padding: 25px 10px;
}

.user-p img {
    width: 90px;
    border-radius: 50%;
    margin-bottom: 10px;
}

.user-p h4 {
    color: #eee;
    font-weight: 500;
}

.side-bar ul {
    list-style: none;
    margin-top: 20px;
}

.side-bar ul li {
    padding: 14px 25px;
    transition: 0.3s;
}

.side-bar ul li:hover,
.side-bar ul li.active {
    background: #127b8e;
}

.side-bar ul li a {
    text-decoration: none;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ===== Content ===== */
.section-1 {
    flex: 1;
    padding: 30px;
}

.title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.title h2 {
    color: #333;
}

.title a {
    background: #00b894;
    color: #fff;
    padding: 10px 18px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
}

.title a:hover {
    opacity: 0.8;
}

/* ===== Table ===== */
.main-table {
    width: 100%;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.main-table th {
    background: #127b8e;
    color: #fff;
    padding: 12px;
    text-align: left;
}

.main-table td {
    padding: 12px;
    border-bottom: 1px solid #eee;
}

.main-table tr:hover {
    background: #f1f9fb;
}

/* ===== Status ===== */
.badge {
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.pending {
    background: #ffeaa7;
    color: #d35400;
}

.approved {
    background: #d4f8e8;
    color: #00b894;
}

.rejected {
    background: #fab1a0;
    color: #d63031;
}

/* ===== Buttons ===== */
.edit-btn {
    background: #0984e3;
    color: #fff;
    padding: 6px 10px;
    border-radius: 5px;
    text-decoration: none;
}

.delete-btn {
    background: #d63031;
    color: #fff;
    padding: 6px 10px;
    border-radius: 5px;
    text-decoration: none;
}

.edit-btn:hover,
.delete-btn:hover {
    opacity: 0.8;
}
/* خلفية صفحة اللوجين */
.login-body {
    min-height: 100vh;
    background: linear-gradient(135deg, #4e73df, #1cc88a);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* شكل الفورم */
.login-form {
    background: #fff;
    width: 100%;
    max-width: 400px;   /* 👈 ده المهم: يمنع العرض العريض */
}

/* العنوان */
.login-form h3 {
    text-align: center;
    margin-bottom: 25px;
    font-weight: 600;
}

/* زرار اللوجين */
.login-form button {
    width: 100%;
    padding: 10px;
    font-size: 16px;
}
/* ===== DASHBOARD GRID ===== */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

/* ===== CARD ===== */
.dash-card {
    background: #fff;
    padding: 25px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    transition: 0.3s ease;
    cursor: pointer;
}

.dash-card:hover {
    transform: translateY(-6px);
}

/* ICON */
.dash-card i {
    font-size: 36px;
    padding: 18px;
    border-radius: 50%;
    color: #fff;
}

/* TEXT */
.dash-card h3 {
    margin: 0;
    font-size: 28px;
    font-weight: 700;
}

.dash-card p {
    margin: 0;
    color: #666;
    font-weight: 500;
}

/* COLORS */
.blue i    { background: #0984e3; }
.orange i  { background: #e17055; }
.green i   { background: #00b894; }
.red i     { background: #d63031; }
