/* Size for brand */
nav .navbar-brand
{
    font-size: xx-large;
}

.container-button
{
    text-align: center;
    margin-top: 0.5rem;
}

.app-form
{
    max-width: 28rem;
    margin: 0 auto;
}

.app-form .form-label
{
    font-weight: 500;
    margin-bottom: 0.35rem;
}

.app-form .form-control,
.app-form .form-select
{
    width: 100%;
}

.app-form-title
{
    margin-bottom: 1.5rem;
    text-align: center;
}

.app-form .form-actions
{
    margin-top: 1rem;
    text-align: center;
}

.app-form .form-actions .btn
{
    min-width: 10rem;
}

.apology-card
{
    border-radius: 1rem;
    overflow: hidden;
}

.apology-icon
{
    width: 7rem;
    height: 7rem;
}

.apology-icon svg
{
    width: 100%;
    height: 100%;
}

.apology-code
{
    font-size: 0.85rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.apology-hint
{
    background-color: #f8f9fa;
}

.app-page-header
{
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: space-between;
    margin-bottom: 1.25rem;
}

.app-page-header h2
{
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

.app-page-actions
{
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.app-table-card
{
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 0.85rem;
    box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.04);
    overflow: hidden;
}

.app-table
{
    margin-bottom: 0;
}

.app-table thead th
{
    background: #212529;
    border: none;
    color: #fff;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    padding: 0.9rem 1rem;
    text-transform: uppercase;
    white-space: nowrap;
}

.app-table tbody td
{
    border-color: #eef1f4;
    padding: 0.9rem 1rem;
    vertical-align: middle;
}

.app-table tbody tr:nth-child(even)
{
    background-color: #f9fafb;
}

.app-table tbody tr:last-child td
{
    border-bottom: none;
}

.app-table tbody tr:hover
{
    background-color: #f1f5f9;
}

.app-table-primary
{
    color: #212529;
    font-weight: 600;
}

.app-table-muted
{
    color: #6c757d;
}

.app-table-actions
{
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    justify-content: center;
}

.app-table .form-control-plaintext
{
    min-height: auto;
    padding: 0;
}

.app-table .editable-field.form-control,
.app-table .edit-input.form-control,
.app-table .edit-input.form-select
{
    max-width: 14rem;
    min-width: 10rem;
}

.app-status-badge
{
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    padding: 0.4em 0.65em;
}

.app-status-badge.status-pending
{
    background: #fff3cd;
    color: #664d03;
}

.app-status-badge.status-done
{
    background: #d1e7dd;
    color: #0f5132;
}

.app-status-badge.status-cancelled
{
    background: #e9ecef;
    color: #495057;
}

.app-empty-state
{
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 0.85rem;
    margin-bottom: 0;
}

.calendar-wrapper
{
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 0.85rem;
    box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.04);
    margin-bottom: 2.5rem;
    overflow: hidden;
}

.calendar-table
{
    margin-bottom: 0;
}

.calendar-table th,
.calendar-table td
{
    vertical-align: top;
}

.calendar-table tbody tr:last-child td,
.calendar-table tbody tr:last-child th
{
    border-bottom: none;
}

.calendar-hour-col
{
    width: 5rem;
    white-space: nowrap;
}

.calendar-cell
{
    min-width: 8rem;
    min-height: 4.5rem;
    padding: 0.35rem;
}

.calendar-event
{
    background: #e8f4fd;
    border-left: 4px solid #4dabf7;
    border-radius: 0.35rem;
    font-size: 0.8rem;
    margin-bottom: 0.35rem;
    padding: 0.35rem 0.45rem;
}

.calendar-event.status-done
{
    background: #ebfbee;
    border-left-color: #51cf66;
}

.calendar-event.status-cancelled
{
    background: #f8f9fa;
    border-left-color: #adb5bd;
}

.dashboard-hero
{
    padding: 1.5rem 1.75rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 1rem;
    border: 1px solid #dee2e6;
}

.dashboard-title
{
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
}

.dashboard-tagline
{
    color: #495057;
    font-size: 1.05rem;
    margin-bottom: 0.25rem;
}

.dashboard-period
{
    font-size: 0.95rem;
}

.dashboard-kpi
{
    border: none;
    border-radius: 0.85rem;
    box-shadow: 0 0.35rem 1rem rgba(0, 0, 0, 0.08);
}

.dashboard-kpi-label
{
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    opacity: 0.92;
    text-transform: uppercase;
}

.dashboard-kpi-value
{
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.2;
    margin-top: 0.35rem;
}

.dashboard-chart-card
{
    border: 1px solid #e9ecef;
    border-radius: 0.85rem;
    box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.04);
}

.dashboard-upcoming
{
    border: 1px solid #e9ecef;
    border-radius: 0.85rem;
    box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.04);
    overflow: hidden;
}

.dashboard-upcoming .card-header
{
    background: #212529;
    border-bottom: none;
    color: #fff;
    font-weight: 600;
    padding: 0.85rem 1.25rem;
}

.dashboard-upcoming .table thead th
{
    background: #f8f9fa;
    border-bottom-width: 1px;
    color: #495057;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
}

.settings-section
{
    border: 1px solid #e9ecef;
    border-radius: 0.85rem;
    box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.04);
}
