* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
    padding: 20px;
    color: #333;
}

.header {
    background: linear-gradient(135deg, #00b4db 0%, #0083b0 100%);
    color: white;
    padding: 20px;
    text-align: center;
    border-radius: 15px 15px 0 0;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.header h1 {
    font-size: 28px;
    margin-bottom: 5px;
}

.header p {
    font-size: 16px;
    opacity: 0.9;
}

.logo {
    width: 60px;
    height: 60px;
    margin-bottom: 10px;
    border-radius: 50%;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.2);
    padding: 10px;
}

.dashboard {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.nav-tabs {
    display: flex;
    justify-content: space-around;
    background: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
    flex-wrap: wrap;
}

.nav-tab {
    flex: 1;
    text-align: center;
    padding: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

.nav-tab:hover {
    background: #e9ecef;
}

.nav-tab.active {
    background: white;
    border-bottom-color: #00b4db;
    color: #00b4db;
}

.content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 30px;
}

.card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.card i {
    font-size: 48px;
    margin-bottom: 15px;
    display: block;
}

.card h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #495057;
}

.card p {
    font-size: 14px;
    color: #6c757d;
    line-height: 1.5;
}

.contact-section {
    grid-column: 1 / -1;
    text-align: center;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    padding: 20px;
    border-radius: 12px;
    margin-top: 20px;
}

.contact-section h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.whatsapp-btn {
    display: inline-block;
    background: #25D366;
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 10px;
    transition: transform 0.3s ease;
}

.whatsapp-btn:hover {
    transform: scale(1.05);
}

.whatsapp-btn i {
    margin-left: 8px;
}

@media (max-width: 768px) {
    .nav-tabs { flex-direction: column; }
    .nav-tab { border-right: 3px solid transparent; }
    .nav-tab.active { border-right-color: #00b4db; }
    .content { grid-template-columns: 1fr; padding: 20px; }
}

/* ألوان الأيقونات */
.users { color: #17a2b8; }
.expenses { color: #6f42c1; }
.reports { color: #fd7e14; }
.accounts-payable { color: #dc3545; }
.employees { color: #28a745; }
.invoices { color: #007bff; }
.vouchers { color: #ffc107; }
.checks { color: #6c757d; }
.balances { color: #20c997; }