﻿.disabled-group input,
.disabled-group select {
    opacity: 0.5;
    pointer-events: none;
}

.disabled-group label {
    opacity: 0.7;
}

.bg-toolbar-gray {
    background-color: lightgray !important;
}

/* User menu toggle in the navbar toolbar */
.user-menu-toggle {
    background-color: #0d6efd;
    color: #fff !important;
    border-radius: 2rem;
    padding: 0.35rem 1rem !important;
    font-weight: 600;
    box-shadow: 0 2px 6px rgba(13, 110, 253, 0.35);
    transition: background-color .15s ease-in-out, transform .1s ease-in-out;
}

    .user-menu-toggle:hover,
    .user-menu-toggle:focus,
    .user-menu-toggle.show {
        background-color: #0a58ca;
        color: #fff !important;
    }

    .user-menu-toggle::after {
        color: #fff;
    }

/* User menu dropdown panel */
.user-menu {
    background-color: #eaf3ff;
    border: 1px solid #b6d4fe;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

    .user-menu .dropdown-item:hover,
    .user-menu .dropdown-item:focus {
        background-color: #cfe2ff;
        color: #084298;
    }

/* ===== Dashboards ===== */
.dash-hero {
    background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
}

.dash-hero-icon {
    font-size: 3rem;
    opacity: 0.9;
}

.dash-hero-badge {
    background-color: rgba(255, 255, 255, 0.18);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.35);
    font-weight: 600;
}

.avatar-circle {
    width: 4.5rem;
    height: 4.5rem;
    flex: 0 0 4.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.6rem;
    font-weight: 700;
}

.action-tile {
    display: flex;
    align-items: center;
    gap: 1rem;
    border-radius: 1rem;
    transition: transform .15s ease-in-out, box-shadow .15s ease-in-out, border-color .15s ease-in-out;
}

    .action-tile:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
        border-color: #0d6efd;
    }

    .action-tile .icon-circle {
        width: 3rem;
        height: 3rem;
        flex: 0 0 3rem;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 0.85rem;
        font-size: 1.35rem;
    }

    .action-tile .tile-arrow {
        margin-left: auto;
        color: #6c757d;
        transition: transform .15s ease-in-out, color .15s ease-in-out;
    }

    .action-tile:hover .tile-arrow {
        transform: translateX(4px);
        color: #0d6efd;
    }

/* ===== Public informational pages (About Us / Privacy / Terms / Contact) ===== */
.legal-content {
    max-width: 900px;
}

    .legal-content h2 {
        font-size: 1.35rem;
        font-weight: 700;
        color: #0a58ca;
        margin-top: 2rem;
        margin-bottom: .75rem;
    }

    .legal-content h3 {
        font-size: 1.1rem;
        font-weight: 700;
        margin-top: 1.5rem;
        margin-bottom: .5rem;
    }

    .legal-content p {
        line-height: 1.65;
        margin-bottom: 1rem;
    }

    .legal-content ul {
        line-height: 1.65;
        margin-bottom: 1rem;
        padding-left: 1.25rem;
    }

        .legal-content ul li {
            margin-bottom: .35rem;
        }

    .legal-content a {
        word-break: break-word;
    }

/* ===== Footer ===== */
.footer-link {
    color: #adb5bd;
    text-decoration: none;
}

    .footer-link:hover,
    .footer-link:focus {
        color: #fff;
        text-decoration: underline;
    }

.footer-risk-disclosure {
    font-size: .8rem;
    line-height: 1.5;
    color: #adb5bd;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    text-wrap: balance;
}