body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #f5f7fb;
    color: #1f2937;
}

.app-wrapper {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 250px;
    background: #111827;
    color: #ffffff;
    padding: 24px 18px;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    overflow-y: auto;
}

.sidebar-brand h4 {
    font-weight: 700;
    margin-bottom: 4px;
}

.sidebar-brand small {
    color: #9ca3af;
}

.sidebar-menu li {
    margin-bottom: 8px;
}

.menu-link {
    display: block;
    color: #d1d5db;
    text-decoration: none;
    padding: 10px 14px;
    border-radius: 10px;
    transition: 0.2s ease;
}

.menu-link:hover {
    background: #1f2937;
    color: #ffffff;
}

.main-content {
    margin-left: 250px;
    width: calc(100% - 250px);
    min-height: 100vh;
}

.topbar {
    background: #ffffff;
    padding: 18px 24px;
    border-bottom: 1px solid #e5e7eb;
}

.page-content {
    padding: 24px;
}

.summary-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    border: 1px solid #eef1f5;
}

.summary-card h6 {
    color: #6b7280;
    margin-bottom: 10px;
    font-size: 14px;
}

.summary-card h3 {
    margin: 0;
    font-size: 28px;
    font-weight: 700;
}

.content-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #eef1f5;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    overflow: hidden;
}

.card-header-custom {
    padding: 18px 20px;
    border-bottom: 1px solid #eef1f5;
}

.custom-table th,
.custom-table td {
    vertical-align: middle;
    padding: 14px 18px;
}

@media (max-width: 991px) {
    .sidebar {
        width: 220px;
    }

    .main-content {
        margin-left: 220px;
        width: calc(100% - 220px);
    }
}

@media (max-width: 767px) {
    .sidebar {
        position: relative;
        width: 100%;
        height: auto;
    }

    .app-wrapper {
        flex-direction: column;
    }

    .main-content {
        margin-left: 0;
        width: 100%;
    }
}

.auth-wrapper {
    min-height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.auth-card {
    width: 100%;
    max-width: 460px;
    background: #ffffff;
    padding: 32px;
    border-radius: 18px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    border: 1px solid #eef1f5;
}

.auth-card input {
    width: 100%;
    height: 46px;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    padding: 10px 14px;
    outline: none;
}

.auth-card input:focus {
    border-color: #111827;
}

.public-page {
    background: #f5f7fb;
    min-height: 100vh;
}

.menu-link.active {
    background: #2563eb;
    color: #ffffff;
}
.form-control,
.form-select {
    border-radius: 10px;
    min-height: 44px;
}

.btn {
    border-radius: 10px;
}

.table td,
.table th {
    font-size: 14px;
}

.content-card,
.summary-card {
    transition: 0.2s ease;
}

.content-card:hover,
.summary-card:hover {
    transform: translateY(-1px);
}