* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: #f5f7fb;
    color: #1f2937;
}

/* =========================
   LOGIN
========================= */

.login-page {
    min-height: 100vh;
    background:
        linear-gradient(
            135deg,
            #eefbf3 0%,
            #f7fbff 50%,
            #eef6ff 100%
        );
}

.login-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 25px;
}

.login-card {
    width: 100%;
    max-width: 430px;
    background: #ffffff;
    padding: 38px;
    border-radius: 18px;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.10);
}

.login-logo {
    text-align: center;
    margin-bottom: 30px;
}

.logo-icon {
    width: 68px;
    height: 68px;
    margin: 0 auto 15px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #198754;
    color: #ffffff;

    border-radius: 16px;

    font-size: 25px;
    font-weight: 700;
}

.login-logo h2 {
    font-size: 25px;
    font-weight: 700;
    margin-bottom: 5px;
}

.login-logo p {
    margin: 0;
    color: #6b7280;
    font-size: 14px;
}

.form-label {
    font-weight: 600;
    margin-bottom: 8px;
}

.form-control {
    border-radius: 10px;
    border: 1px solid #d9dee7;
}

.form-control:focus {
    border-color: #198754;
    box-shadow: 0 0 0 0.2rem rgba(25, 135, 84, 0.12);
}

.btn-primary {
    background: #198754;
    border-color: #198754;
}

.btn-primary:hover {
    background: #157347;
    border-color: #157347;
}

.password-wrapper {
    position: relative;
}

.password-wrapper input {
    padding-right: 50px;
}

.password-toggle {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);

    border: 0;
    background: transparent;

    cursor: pointer;
    font-size: 18px;
}

.login-footer {
    text-align: center;
    margin-top: 25px;
    font-size: 12px;
    color: #9ca3af;
}


/* =========================
   DASHBOARD
========================= */

.dashboard-body {
    min-height: 100vh;
}

.topbar {
    height: 65px;
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 25px;
}

.brand-title {
    font-weight: 700;
    font-size: 19px;
}

.admin-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.admin-avatar {
    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #198754;
    color: #ffffff;

    border-radius: 50%;

    font-weight: 700;
}

.dashboard-content {
    padding: 30px;
}

.page-title {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 5px;
}

.page-subtitle {
    color: #6b7280;
    margin-bottom: 30px;
}

.stat-card {
    background: #ffffff;
    border-radius: 15px;
    padding: 22px;

    border: 1px solid #edf0f4;

    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.04);

    height: 100%;
}

.stat-icon {
    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 12px;

    font-size: 21px;
    margin-bottom: 15px;
}

.stat-title {
    color: #6b7280;
    font-size: 14px;
}

.stat-number {
    font-size: 30px;
    font-weight: 700;
    margin-top: 5px;
}

.icon-functions {
    background: #e8f1ff;
}

.icon-veg {
    background: #e8f7ee;
}

.icon-nonveg {
    background: #fff0ed;
}

.recent-card {
    background: #ffffff;
    border-radius: 15px;
    border: 1px solid #edf0f4;
    margin-top: 30px;
    overflow: hidden;
}

.recent-header {
    padding: 20px 22px;
    border-bottom: 1px solid #edf0f4;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.recent-header h5 {
    margin: 0;
    font-weight: 700;
}

.table {
    margin-bottom: 0;
}

.empty-state {
    text-align: center;
    padding: 45px 20px;
    color: #6b7280;
}

.empty-icon {
    font-size: 42px;
    margin-bottom: 10px;
}