:root {
    --green-main: #006B3F;
    --green-dark: #275330;
    --green-soft: #0b7a4a;

    --bg-main: #eef4f1;
    --card-bg: #f7faf8;
    --text-dark: #1f2d2b;
    --text-light: #ffffff;
}

body {
    margin: 0;
    background-color: var(--bg-main);
    color: var(--text-dark);
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* HEADER */
.app-navbar {
    background-image: url('../images/bg-dominica2.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--text-light);
    padding: 0.5rem 1.5rem;
    min-height: 65px;
    position: sticky; 
    top: 0;
    z-index: 1000;
}

.app-navbar::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(0, 107, 63, 0.7), rgba(11, 122, 74, 0.65));
    z-index: 1;
}

.app-navbar > * {
    position: relative;
    z-index: 2;
}

.app-navbar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

/* BRAND */
.app-navbar-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
}

.app-logo {
    height: 125px;
    width: auto;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.3));
}

.app-title-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    text-align: center;
    flex: 1;
}

.app-title-main {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
    font-family: Georgia, 'Times New Roman', serif;
    margin: 0;
}

.app-title-sub {
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    opacity: 0.95;
    text-shadow: 0 1px 3px rgba(0,0,0,0.2);
    margin: 0;
}

/* USER ACTIONS */
.app-navbar-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.user-name {
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.4rem 0.75rem;
    border-radius: 6px;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.25);
    backdrop-filter: blur(10px);
    white-space: nowrap;
}

/* LOGOUT */
.btn-logout {
    background-color: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.3);
    color: var(--text-light);
    font-size: 0.875rem;
    font-weight: 600;
    padding: 0.4rem 0.85rem;
    border-radius: 6px;
    backdrop-filter: blur(10px);
    transition: background-color 0.2s, border-color 0.2s;
}

.btn-logout:hover {
    background-color: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.4);
    color: var(--text-light);
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .app-navbar {
        padding: 0.75rem 1rem;
        min-height: auto;
    }

    .app-logo {
        height: 40px;
    }

    .app-title-main {
        font-size: 1.1rem;
    }

    .app-title-sub {
        font-size: 0.8rem;
    }

    .app-navbar-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .app-navbar-actions {
        width: 100%;
        justify-content: flex-end;
    }
}

@media (max-width: 576px) {
    .app-logo {
        height: 35px;
    }

    .app-title-main {
        font-size: 1rem;
    }

    .app-title-sub {
        font-size: 0.75rem;
    }

    .user-name,
    .btn-logout {
        font-size: 0.8rem;
        padding: 0.3rem 0.6rem;
    }
}

/* CONTENT */
.app-container {
    padding: 1rem;
}

.card,
.form-control,
.form-select {
    background-color: var(--card-bg);
}