body {
    font-family: 'Cairo', sans-serif;
    margin: 0;
    background: #f4f6f9;
}

.app-wrapper {
    display: flex;
}

.sidebar {
    width: 240px;
    min-height: 100vh;
    background: linear-gradient(135deg,#1e3a8a,#0f172a);
    color: white;
    padding: 20px;
}

.sidebar a {
    display: block;
    color: white;
    padding: 10px;
    text-decoration: none;
    border-radius: 8px;
    margin-bottom: 8px;
    transition: 0.3s;
}

.sidebar a:hover {
    background: rgba(255,255,255,0.15);
}

.main-content {
    flex: 1;
    padding: 30px;
}

.card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    margin-bottom: 20px;
}

.btn {
    background: linear-gradient(135deg,#2563eb,#1e40af);
    color: white;
    padding: 10px 18px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: 0.3s;
}

.btn:hover {
    transform: translateY(-2px);
}

input, select, textarea {
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #ddd;
    margin-bottom: 12px;
}

h1, h2, h3 {
    margin-top: 0;
}

#toast-container {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 9999;
}

.toast {
    background: #16a34a;
    color: white;
    padding: 12px 18px;
    border-radius: 8px;
    margin-bottom: 10px;
    animation: fadeIn 0.3s ease;
}

.toast-error {
    background: #dc2626;
}

@keyframes fadeIn {
    from {opacity: 0; transform: translateY(-5px);}
    to {opacity: 1; transform: translateY(0);}
}
