/* Parentals Application Styles - Shared/Base Styles */

/* CONVENTION: Always place styles in this CSS file.
   Avoid inline <style> blocks in views - use classes from this file instead.
   This keeps presentation layer separate and allows for easier maintenance.
*/

/* Navigation */
.navbar .navbar-nav {
    align-items: flex-end;
}

.navbar .navbar-nav .nav-link {
    white-space: nowrap;
}

.navbar-brand {
    font-weight: bold;
}

.brand-logo {
    display: inline-flex;
    align-items: center;
    padding-top: 0.15rem;
    padding-bottom: 0.15rem;
}

.brand-logo img {
    display: block;
    height: 42px;
    width: auto;
    max-width: min(220px, 42vw);
}

/* Footer */
.footer {
    background-color: #343a40;
    color: white;
    padding: 2rem 0;
}

/* User info in navbar */
.user-info {
    color: #fff;
    padding: 0.5rem 1rem;
    margin-right: 1rem;
}

/* Theme-specific styles are loaded from theme-{name}.css files */

/* Quick Filter Cards (Property, Contract listings) */
.clickable-card-link {
    display: block;
    text-decoration: none;
}

.clickable-card-link:hover {
    text-decoration: none;
}

.clickable-card {
    transition: all 0.3s ease;
    cursor: pointer;
}

.clickable-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.clickable-card:hover .card-body {
    background-color: #f8f9fa;
}

/* Tenant Availability Indicators (used in tenancy edit forms) */
.tenant-available {
    color: #198754;
    font-weight: 500;
}

.tenant-occupied {
    color: #6c757d;
}

select option.tenant-available {
    background-color: #d1e7dd;
}

select option.tenant-occupied {
    background-color: #f8f9fa;
}
