* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    min-height: 100%;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #f3f4f6;
    color: #111827;
}

a {
    color: inherit;
}

.font-sans { font-family: Arial, Helvetica, sans-serif; }
.text-gray-900 { color: #111827; }
.text-gray-700 { color: #374151; }
.text-gray-600 { color: #4b5563; }
.text-gray-500 { color: #6b7280; }
.text-red-600 { color: #dc2626; }
.text-green-600 { color: #059669; }
.text-indigo-600 { color: #4f46e5; }
.text-white { color: #ffffff; }

.text-xs { font-size: .75rem; }
.text-sm { font-size: .875rem; }

.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }

.uppercase { text-transform: uppercase; }
.tracking-widest { letter-spacing: .1em; }

.block { display: block; }
.inline-flex { display: inline-flex; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-end { justify-content: flex-end; }
.justify-between { justify-content: space-between; }

.w-full { width: 100%; }
.w-20 { width: 5rem; }
.h-20 { height: 5rem; }

.min-h-screen { min-height: 100vh; }

.mt-1 { margin-top: .25rem; }
.mt-2 { margin-top: .5rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }

.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }

.ms-2 { margin-left: .5rem; }
.ms-3 { margin-left: .75rem; }
.ms-4 { margin-left: 1rem; }

.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.py-2 { padding-top: .5rem; padding-bottom: .5rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.pt-6 { padding-top: 1.5rem; }

.bg-white { background: #ffffff; }
.bg-gray-100 { background: #f3f4f6; }
.bg-gray-500 { background: #6b7280; }
.bg-gray-800 { background: #1f2937; }

.border { border-width: 1px; border-style: solid; }
.border-transparent { border-color: transparent; }
.border-gray-300 { border-color: #d1d5db; }

.rounded { border-radius: .25rem; }
.rounded-md { border-radius: .375rem; }
.rounded-lg { border-radius: .5rem; }

.shadow-sm { box-shadow: 0 1px 2px rgba(0,0,0,.05); }
.shadow-md { box-shadow: 0 4px 10px rgba(0,0,0,.08); }
.shadow-lg { box-shadow: 0 10px 20px rgba(0,0,0,.12); }
.shadow-xl { box-shadow: 0 20px 25px rgba(0,0,0,.15); }

.overflow-hidden { overflow: hidden; }
.overflow-y-auto { overflow-y: auto; }

.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.inset-0 { inset: 0; }
.z-50 { z-index: 50; }

.opacity-75 { opacity: .75; }

.underline { text-decoration: underline; }
.antialiased { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

.space-y-1 > * + * { margin-top: .25rem; }

.fill-current { fill: currentColor; }

input[type="email"],
input[type="password"],
input[type="text"] {
    width: 100%;
    border: 1px solid #d1d5db;
    border-radius: .375rem;
    padding: .65rem .75rem;
    font: inherit;
    background: #ffffff;
    color: #111827;
    outline: none;
}

input[type="email"]:focus,
input[type="password"]:focus,
input[type="text"]:focus {
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79,70,229,.12);
}

input[type="checkbox"] {
    accent-color: #4f46e5;
}

button {
    cursor: pointer;
    font: inherit;
}

.hover\:bg-gray-700:hover { background: #374151; }
.hover\:text-gray-900:hover { color: #111827; }

.focus\:outline-none:focus { outline: none; }

@media (min-width: 640px) {
    .sm\:justify-center { justify-content: center; }
    .sm\:pt-0 { padding-top: 0; }
    .sm\:max-w-md { max-width: 28rem; }
    .sm\:rounded-lg { border-radius: .5rem; }
    .sm\:w-full { width: 100%; }
    .sm\:mx-auto { margin-left: auto; margin-right: auto; }
    .sm\:px-0 { padding-left: 0; padding-right: 0; }
}

.min-h-screen.flex.flex-col {
    padding-left: 1rem;
    padding-right: 1rem;
}

.min-h-screen.flex.flex-col > div:first-child {
    margin-top: 1rem;
}

.min-h-screen.flex.flex-col > div:nth-child(2) {
    width: 100%;
}

button.inline-flex {
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: .375rem;
    background: #1f2937;
    color: #ffffff;
    padding: .65rem 1rem;
}

button.inline-flex:hover {
    background: #374151;
}

/* =========================================================
   MUWANJUNI AUTHENTICATED NAVIGATION
   ========================================================= */

.mvb-navbar {
    width: 100%;
    background: #111827;
    border-bottom: 1px solid #1f2937;
}

.mvb-navbar-inner {
    max-width: 1280px;
    min-height: 72px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.mvb-navbar-left,
.mvb-navbar-right {
    display: flex;
    align-items: center;
    gap: 22px;
}

.mvb-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #ffffff;
    text-decoration: none;
}

.mvb-brand-mark {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    background: #ffffff;
    color: #111827;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1px;
}

.mvb-brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.mvb-brand-text strong {
    font-size: 15px;
}

.mvb-brand-text small {
    margin-top: 3px;
    color: #9ca3af;
    font-size: 11px;
}

.mvb-nav-link {
    display: flex;
    align-items: center;
    min-height: 72px;
    padding: 0 5px;
    color: #d1d5db;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    border-bottom: 3px solid transparent;
}

.mvb-nav-link:hover,
.mvb-nav-link.active {
    color: #ffffff;
    border-bottom-color: #ffffff;
}

.mvb-user {
    display: flex;
    flex-direction: column;
    text-align: right;
    line-height: 1.2;
}

.mvb-user strong {
    color: #ffffff;
    font-size: 13px;
}

.mvb-user span {
    margin-top: 3px;
    color: #9ca3af;
    font-size: 11px;
}

.mvb-nav-action,
.mvb-logout-button {
    border: 1px solid #374151;
    border-radius: 7px;
    background: transparent;
    color: #e5e7eb;
    padding: 9px 13px;
    font: inherit;
    font-size: 13px;
    text-decoration: none;
    cursor: pointer;
}

.mvb-nav-action:hover,
.mvb-logout-button:hover {
    background: #1f2937;
    color: #ffffff;
}

.mvb-navbar-right form {
    margin: 0;
}

@media (max-width: 760px) {
    .mvb-navbar-inner {
        padding: 12px 16px;
        align-items: flex-start;
        flex-direction: column;
    }

    .mvb-navbar-left,
    .mvb-navbar-right {
        width: 100%;
        flex-wrap: wrap;
    }

    .mvb-nav-link {
        min-height: auto;
        padding: 8px 0;
    }

    .mvb-user {
        margin-right: auto;
        text-align: left;
    }

    .mvb-brand-text {
        display: none;
    }
}
