/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: #0f172a;
    color: #e2e8f0;
    display: flex;
}

/* SIDEBAR */
.sidebar {
    width: 250px;
    height: 100vh;
    background: linear-gradient(180deg, #0f172a, #1e293b);
    padding: 30px 20px;
    border-right: 1px solid #1e293b;
    position: fixed;
}

.sidebar h2 {
    font-size: 20px;
    margin-bottom: 40px;
    color: #38bdf8;
}

.sidebar a {
    display: block;
    padding: 12px 15px;
    margin-bottom: 10px;
    border-radius: 8px;
    text-decoration: none;
    color: #94a3b8;
    transition: 0.3s ease;
}

.sidebar a:hover {
    background: #1e293b;
    color: #fff;
}

/* MAIN */
.main-content {
    margin-left: 250px;
    padding: 40px;
    width: 100%;
}

/* TITLES */
h1 {
    margin-bottom: 25px;
    font-size: 28px;
}

/* CARDS */
.card {
    background: #1e293b;
    padding: 20px;
    border-radius: 14px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.25);
    transition: 0.3s ease;
}

.card:hover {
    transform: translateY(-3px);
}

.card h3 {
    margin-bottom: 10px;
    color: #38bdf8;
}

/* BUTTONS */
.btn {
    display: inline-block;
    padding: 10px 16px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: #38bdf8;
    color: #0f172a;
}

.btn-primary:hover {
    background: #0ea5e9;
}

.btn-danger {
    background: #ef4444;
    color: white;
}

.btn-danger:hover {
    background: #dc2626;
}

.btn-secondary {
    background: #334155;
    color: white;
}

.btn-secondary:hover {
    background: #475569;
}

/* FORMS */
input, textarea {
    width: 100%;
    padding: 12px;
    background: #0f172a;
    border: 1px solid #334155;
    border-radius: 8px;
    color: white;
    margin-bottom: 15px;
    font-size: 14px;
}

textarea {
    min-height: 120px;
    resize: vertical;
}

input:focus, textarea:focus {
    outline: none;
    border-color: #38bdf8;
}

/* ALERTS */
.alert {
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 15px;
}

.alert.error {
    background: #7f1d1d;
}

.alert.success {
    background: #14532d;
}

/* LOGIN CENTER */
.login-container {
    width: 350px;
    background: #1e293b;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.4);
}

.center-screen {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}