:root {
    --primary-color: #1976D2;
    --primary-light: #e3f2fd;
    --text-main: #2c3e50;
    --bg-color: #f4f6f9;
}

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

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
}

/* Stili Login */
.login-body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.login-card {
    background: #ffffff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    width: 100%;
    max-width: 400px;
    border: 1px solid #eaeaea;
}

.login-header {
    text-align: center;
    margin-bottom: 25px;
}

.login-header h2 {
    font-size: 1.5rem;
    margin-top: 10px;
    color: var(--text-main);
}

.login-header p {
    font-size: 0.85rem;
    color: #666;
    font-family: 'Inter', sans-serif;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95krem;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.error-msg {
    color: #d32f2f;
    font-size: 0.85rem;
    margin-bottom: 15px;
    font-family: 'Inter', sans-serif;
}

.btn-block {
    width: 100%;
    padding: 12px;
    font-size: 1rem;
}

/* Layout Dashboard */
body:not(.login-body) {
    display: flex;
    height: 100vh;
    overflow: hidden;
}

aside {
    width: 260px;
    background: #ffffff;
    border-right: 1px solid #e0e0e0;
    display: flex;
    flex-direction: column;
}

.sidebar-header {
    padding: 20px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sidebar-menu {
    list-style: none;
    padding: 20px 0;
}

.sidebar-menu li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: #555;
    text-decoration: none;
    font-size: 0.95rem;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s;
}

.sidebar-menu li.active a, .sidebar-menu li a:hover {
    background-color: var(--primary-light);
    color: var(--primary-color);
    border-left: 4px solid var(--primary-color);
}

main {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

header {
    background: #ffffff;
    padding: 15px 30px;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header h1 {
    font-size: 1.25rem;
    font-weight: 500;
}

.user-profile {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: #666;
}

.content-body {
    padding: 30px;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}

.card {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid #eaeaea;
}

.card-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    font-size: 0.9rem;
}

.btn:hover {
    opacity: 0.9;
}

table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
}

th, td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #f0f0f0;
}

th {
    color: #888;
    font-weight: 600;
    background-color: #fafafa;
}

.badge {
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
}

.badge.confirmed { background-color: #e8f5e9; color: #2e7d32; }
.badge.pending { background-color: #fff8e1; color: #f57f17; }
