/* SZ Nedeljka Čabrinovića 64 - custom branding overrides */

/* Subtle background gradient for body */
body {
    background-color: #f5f7fb !important;
}

/* Tighter card spacing */
.card-header {
    background-color: #f8f9fa;
    font-weight: 600;
}

/* Admin badge in tables */
.role-admin {
    background-color: #fff3cd;
    color: #664d03;
}
.role-user {
    background-color: #cfe2ff;
    color: #084298;
}

/* Cost type badges */
.tip-per_kvm {
    background-color: #cfe2ff;
    color: #084298;
}
.tip-fixed {
    background-color: #fff3cd;
    color: #664d03;
}

/* Status badges */
.status-active {
    background-color: #d1e7dd;
    color: #0a3622;
}
.status-inactive {
    background-color: #f8d7da;
    color: #58151c;
}

/* Action buttons inline in table cells */
.actions-cell {
    white-space: nowrap;
}
.actions-cell .btn,
.actions-cell form {
    margin-right: 4px;
    display: inline-block;
}

/* Smaller form helper text */
.form-text {
    font-size: 0.85em;
}

/* Highlight 'me' row in users table */
.me-row {
    background-color: #fff8d4 !important;
}

/* Emphasis for current period in dropdowns */
option:checked {
    font-weight: 600;
}

/* Inline price-change form on apartment_costs */
.price-change-form {
    display: none;
    background-color: #fff8d4;
    padding: 0.75rem;
    border: 1px solid #ffe69c;
    border-radius: 0.375rem;
    margin-top: 0.5rem;
}
.price-change-form.show {
    display: block;
}

/* Card hover effect for index page action cards */
.card-hover {
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    cursor: pointer;
}
.card-hover:hover {
    transform: translateY(-2px);
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,.10) !important;
}
