html {
    font-size: 16px;
}

body {
    min-height: 100vh;
    background: radial-gradient(circle at top left, rgba(13, 110, 253, 0.10), transparent 28%), radial-gradient(circle at top right, rgba(111, 66, 193, 0.10), transparent 22%), linear-gradient(180deg, #f4f7fb 0%, #edf2f9 100%);
    color: #0f172a;
}

main.container {
    max-width: 1180px;
}

.trovv-navbar {
    background: linear-gradient(90deg, #0f3d91 0%, #0d6efd 45%, #3b82f6 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.trovv-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.2px;
}

.trovv-brand-logo {
    height: 42px;
    width: auto;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.18));
}

.trovv-brand-text {
    font-size: 1.45rem;
    line-height: 1;
}

.trovv-nav-list {
    gap: 0.1rem;
}

.trovv-nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    border-radius: 999px;
    padding: 0.6rem 0.95rem !important;
    font-weight: 500;
    transition: all 0.2s ease;
}

    .trovv-nav-link:hover,
    .trovv-nav-link.active,
    .navbar .show > .trovv-nav-link {
        color: #fff !important;
        background: rgba(255, 255, 255, 0.14);
    }

.trovv-dropdown {
    border: 0;
    border-radius: 18px;
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.18);
    padding: 0.65rem;
    min-width: 260px;
}

    .trovv-dropdown .dropdown-item {
        border-radius: 12px;
        padding: 0.7rem 0.85rem;
    }

        .trovv-dropdown .dropdown-item:hover,
        .trovv-dropdown .dropdown-item:focus {
            background: #eef4ff;
            color: #0d47a1;
        }

.trovv-signedin-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    padding: 0.55rem 0.9rem;
    font-size: 0.92rem;
}

.trovv-header-btn {
    border-radius: 999px;
    padding: 0.55rem 0.95rem;
    font-weight: 600;
}

.trovv-header-btn-light {
    background: #fff;
    color: #0d47a1;
    border: 1px solid rgba(255, 255, 255, 0.7);
}

    .trovv-header-btn-light:hover,
    .trovv-header-btn-light.active {
        background: #eaf2ff;
        color: #0b3e91;
    }

.trovv-header-btn-outline {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.55);
}

    .trovv-header-btn-outline:hover {
        background: rgba(255, 255, 255, 0.12);
        color: #fff;
    }

.card {
    border-radius: 24px;
    border: 1px solid rgba(15, 23, 42, 0.06);
}

.card-header {
    border-top-left-radius: 24px !important;
    border-top-right-radius: 24px !important;
}

.home-shell {
    display: grid;
    gap: 1.5rem;
}

.trovv-home-hero {
    background: linear-gradient(135deg, #0b3e91 0%, #0d6efd 50%, #60a5fa 100%);
}

.trovv-chip {
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    padding: 0.45rem 0.85rem;
    font-weight: 600;
}

.trovv-home-logo-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.trovv-home-logo {
    max-height: 120px;
    filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.18));
}

.trovv-company-card,
.trovv-dashboard-card {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(6px);
}

.trovv-company-logo {
    width: 56px;
    height: 56px;
    object-fit: contain;
}

.trovv-tile {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.35rem 1.45rem;
    border-radius: 22px;
    color: #0f172a;
    background: #fff;
    border: 1px solid rgba(148, 163, 184, 0.22);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.06);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

    .trovv-tile:hover {
        transform: translateY(-2px);
        box-shadow: 0 18px 30px rgba(15, 23, 42, 0.10);
        border-color: rgba(13, 110, 253, 0.25);
    }

.trovv-tile-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.9rem;
    font-size: 1.4rem;
    background: rgba(255, 255, 255, 0.3);
}

.trovv-tile-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.trovv-tile-text {
    font-size: 0.95rem;
    opacity: 0.9;
}

.trovv-tile-arrow {
    font-size: 2rem;
    line-height: 1;
    opacity: 0.85;
}

.trovv-tile-primary {
    background: linear-gradient(135deg, #0d6efd, #3b82f6);
    color: #fff;
}

.trovv-tile-secondary {
    background: linear-gradient(135deg, #0f172a, #334155);
    color: #fff;
}

.trovv-tile-light {
    background: linear-gradient(135deg, #eef4ff, #dbeafe);
    color: #0f172a;
}

.trovv-tile-success {
    background: linear-gradient(135deg, #198754, #22c55e);
    color: #fff;
}

.trovv-tile-info {
    background: linear-gradient(135deg, #06b6d4, #67e8f9);
    color: #083344;
}

.trovv-tile-warning {
    background: linear-gradient(135deg, #f59e0b, #fde68a);
    color: #78350f;
}

.auth-shell {
    display: flex;
    align-items: center;
    justify-content: center;
}

.min-vh-75 {
    min-height: 75vh;
}

.auth-card {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(8px);
}

.auth-panel {
    background: linear-gradient(160deg, #0b3e91 0%, #0d6efd 52%, #60a5fa 100%);
}

.auth-panel-logo {
    max-width: 170px;
}

.auth-kicker {
    display: inline-block;
    padding: 0.4rem 0.75rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    font-weight: 700;
    letter-spacing: 0.02em;
}

.form-control,
.input-group-text,
.btn,
.alert,
.badge {
    border-radius: 14px;
}

.input-group.input-group-lg > .form-control,
.input-group.input-group-lg > .input-group-text,
.input-group.input-group-lg > .btn {
    min-height: 54px;
}

.input-group-text {
    background: #f8fafc;
    border-color: #dbe4f0;
}

.form-control {
    border-color: #dbe4f0;
    box-shadow: none;
}

    .form-control:focus {
        border-color: #60a5fa;
        box-shadow: 0 0 0 0.2rem rgba(96, 165, 250, 0.18);
    }

.btn-primary {
    background: linear-gradient(135deg, #0d6efd, #3b82f6);
    border: 0;
}

    .btn-primary:hover {
        background: linear-gradient(135deg, #0b5ed7, #2563eb);
    }

@media (max-width: 1199.98px) {
    .trovv-user-tools {
        margin-top: 1rem;
        align-items: stretch !important;
    }

    .trovv-signedin-pill {
        justify-content: center;
    }
}

@media (max-width: 767.98px) {
    main.container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .trovv-brand-logo {
        height: 36px;
    }

    .trovv-brand-text {
        font-size: 1.25rem;
    }

    .trovv-home-logo {
        max-height: 84px;
    }
}
