:root {
    --ll-primary: #4f46e5;
    --ll-secondary: #1e293b;
    --ll-bg: #f8fafc;
    --ll-white: #ffffff;
    --ll-text: #334155;
    --ll-radius: 12px;
    --ll-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
}

.ll-wrapper {
    font-family: 'Tajawal', sans-serif;
    color: var(--ll-text);
    line-height: 1.6;
    box-sizing: border-box;
}

.ll-wrapper * { box-sizing: border-box; }

/* HERO */
.ll-hero {
    height: 600px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 0 0 40px 40px;
}

.ll-overlay {
    background: rgba(255,255,255,0.95);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1);
    max-width: 600px;
    width: 90%;
}

.ll-logo { max-height: 80px; margin-bottom: 1rem; }

.ll-btn-primary, .ll-btn-full {
    background: var(--ll-primary);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    transition: 0.3s;
}

.ll-btn-full { width: 100%; margin-top: 10px; }
.ll-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 15px -3px rgba(79, 70, 229, 0.3); }

/* GRID */
.ll-grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; padding: 2rem 0; }

.ll-card {
    background: var(--ll-white);
    border-radius: var(--ll-radius);
    padding: 1.5rem;
    box-shadow: var(--ll-shadow);
    border: 1px solid #e2e8f0;
}

.ll-center { text-align: center; display: flex; flex-direction: column; align-items: center; }

.ll-avatar-lg {
    width: 80px; height: 80px; border-radius: 50%; object-fit: cover;
    border: 3px solid var(--ll-primary);
    margin-bottom: 1rem;
}

/* DASHBOARD */
.ll-dashboard { display: grid; grid-template-columns: 250px 1fr; min-height: 100vh; background: var(--ll-bg); }
.ll-dash-header { background: var(--ll-white); padding: 2rem; border-left: 1px solid #e2e8f0; }
.ll-dash-content { padding: 2rem; }

.ll-nav-btn {
    display: block;
    width: 100%;
    text-align: right;
    padding: 12px;
    background: none;
    border: none;
    border-radius: 8px;
    margin-bottom: 5px;
    cursor: pointer;
    color: var(--ll-text);
    font-weight: 500;
}

.ll-nav-btn.active { background: #e0e7ff; color: var(--ll-primary); }
.ll-nav-btn.danger { color: #ef4444; }

/* FORMS */
.ll-input {
    width: 100%;
    padding: 12px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    margin-bottom: 1rem;
    font-family: inherit;
}

.ll-input:focus { border-color: var(--ll-primary); outline: none; ring: 2px solid #e0e7ff; }

/* MODAL */
.ll-modal { position: fixed; top:0; left:0; width:100%; height:100%; background:rgba(0,0,0,0.5); display:none; justify-content:center; align-items:center; z-index: 999; }
.ll-modal-content { background: white; padding: 2rem; border-radius: 12px; width: 400px; max-width: 90%; }

.ll-view { display: none; animation: fadeIn 0.3s ease; }
.ll-view.active { display: block; }

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

@media (max-width: 768px) {
    .ll-dashboard { grid-template-columns: 1fr; }
    .ll-dash-header { display: flex; overflow-x: auto; padding: 1rem; gap: 10px; }
    .ll-nav-btn { min-width: 100px; text-align: center; }
}