/* Shared styles for the main dashboard pages */
body {
    font-family: 'Inter', sans-serif;
    background-color: #f3f4f6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex-grow: 1;
}

.hero-bg {
    background-color: #111827;
    background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.1) 1px, transparent 0);
    background-size: 2rem 2rem;
}

/* Specific to index.html */
.stat-card {
    background-color: white;
    border-radius: 0.75rem;
    padding: 1.5rem;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

/* Shared dropdown styles from auth-ui.js could eventually go in a global stylesheet */
.dropdown-container {
    position: relative;
    display: inline-block;
}

.dropdown-menu {
    position: absolute;
    right: 0;
    top: 100%;
    background-color: white;
    border-radius: .5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, .1), 0 2px 4px -1px rgba(0, 0, 0, .06);
    min-width: 160px;
    z-index: 20;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity .2s ease-out, transform .2s ease-out, visibility .2s;
    padding: .5rem 0;
}

.dropdown-container:hover .dropdown-menu,
.dropdown-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: .75rem 1rem;
    color: #4B5563;
    text-decoration: none;
    transition: background-color .1s ease-in-out;
    font-weight: 500;
}

.dropdown-menu a:hover {
    background-color: #F3F4F6;
    color: #4F46E5;
}

.dropdown-menu a.logout-option {
    color: #EF4444;
}

.dropdown-menu a.logout-option:hover {
    background-color: #FEF2F2;
    color: #DC2626;
}
