﻿/* Bootstrap 3-like link colors */
a {
    color: #337ab7;
    text-decoration: none;
}

/* Panel-like card styling */
.card {
    border-radius: 4px;
    box-shadow: 0 1px 1px rgba(0,0,0,.05);
    border: 1px solid #ddd;
    margin-bottom: 20px;
}

.card-header {
    background-color: #f5f5f5;
    border-bottom: 1px solid #ddd;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
    padding: 10px 15px;
}

.card-title {
    font-size: 16px;
    margin-top: 0;
    margin-bottom: 0;
    color: inherit;
}

.card-body {
    padding: 15px;
}

.card-footer {
    background-color: #f5f5f5;
    border-top: 1px solid #ddd;
    border-bottom-right-radius: 3px;
    border-bottom-left-radius: 3px;
    padding: 10px 15px;
}

/* Table condensed */
.table-sm th, .table-sm td {
    padding: 5px;
}

/* Button default (Bootstrap 5 uses btn-secondary) */
.btn-secondary {
    color: #333;
    background-color: #fff;
    border-color: #ccc;
}

    .btn-secondary:hover, .btn-secondary:focus {
        background-color: #e6e6e6;
        border-color: #adadad;
    }

/* Remove underline from links unless hovered */
a:not(.btn):not(.nav-link):not(.dropdown-item) {
    text-decoration: none;
}

    a:not(.btn):not(.nav-link):not(.dropdown-item):hover {
        text-decoration: underline;
    }

/* Custom .underline class for headings */
.underline {
    text-decoration: underline;
}

/* Custom .bold class for headings */
.bold {
    font-weight: bold;
}

/* Custom .small-size class for smaller text */
.small-size {
    font-size: 0.85em;
}

/* Custom .empty class for empty table rows or divs */
.empty {
    color: #a94442;
    font-style: italic;
}

/* Custom .page-break for printing */
.page-break {
    page-break-after: always;
}

.table > :not(caption) > * > * {
    background-color: inherit !important;
}

/* Custom .hidden-print for hiding elements when printing */
@media print {
    .hidden-print {
        display: none !important;
    }
}
