/* ===== RESET ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Segoe UI", system-ui, sans-serif;
    background: linear-gradient(135deg, #e6f7f4, #f4fdfb);
}

/* ===== WRAPPER ===== */
.admin-layout {
    display: flex;
    min-height: 100vh;
}

/* ===== SIDEBAR ===== */
.sidebar {
    width: 260px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(15px);
    border-right: 1px solid rgba(0,0,0,0.05);
    position: fixed;
    height: 100vh;
    padding: 25px 18px;
    box-shadow: 4px 0 20px rgba(0,0,0,0.05);
}

/* Logo */
.sidebar .logo {
    margin-bottom: 35px;
}

.sidebar .logo h2 {
    font-size: 20px;
    color: #00A884;
    font-weight: 700;
}

.sidebar .logo span {
    font-size: 12px;
    color: #667781;
}

/* Sidebar links */
.sidebar nav a {
    display: block;
    padding: 12px 16px;
    margin-bottom: 8px;
    text-decoration: none;
    color: #333;
    border-radius: 12px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.sidebar nav a:hover {
    background: linear-gradient(135deg, #00A884, #008069);
    color: white;
    transform: translateX(4px);
}

/* Active link */
.sidebar nav a.active {
    background: linear-gradient(135deg, #00A884, #008069);
    color: white;
    font-weight: 600;
}

/* ===== MAIN CONTENT ===== */
.main-content {
    margin-left: 260px;
    width: 100%;
    padding: 35px;
}

/* ===== TOPBAR ===== */
.topbar {
    background: linear-gradient(135deg, #00A884, #008069);
    color: white;
    padding: 18px 25px;
    border-radius: 16px;
    margin-bottom: 30px;
    font-size: 18px;
    font-weight: 600;
    box-shadow: 0 10px 25px rgba(0,168,132,0.25);
}

/* ===== CARD (FORM CONTAINER) ===== */
.container {
    background: white;
    padding: 35px;
    border-radius: 18px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    transition: 0.3s ease;
}

.container:hover {
    transform: translateY(-3px);
}

/* ===== FORM STYLING ===== */
label {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 6px;
    display: block;
    color: #444;
}

input, select {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    border: 1px solid #ddd;
    margin-bottom: 18px;
    font-size: 14px;
    transition: all 0.3s ease;
}

input:focus, select:focus {
    border-color: #00A884;
    box-shadow: 0 0 0 3px rgba(0,168,132,0.15);
    outline: none;
}

/* ===== BUTTON ===== */
button {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #00A884, #008069);
    border: none;
    color: white;
    font-size: 15px;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    transition: 0.3s ease;
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,168,132,0.3);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .sidebar {
        width: 220px;
    }

    .main-content {
        margin-left: 220px;
        padding: 20px;
    }
}
