/* Fee Advisor Specific Styles */

/* General Layout */
.button-container {
    margin-top: 20px;
}

body {
    background-color: #E5ECF9;
}

#header {
    padding: 20px;
    font-weight: bold;
}

/* Navigation Styles */
.navbar-primary {
    height: 40px;
}

.navbar-logo {
    width: 280px;
    margin-left: 40px;
}

.navbar-spacer {
    width: 280px;
}

.title-container {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    padding-top: 20px;
    top: 52px;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 20px;
}

.policy-link {
    pointer-events: auto;
}

/* Page Title */
.page-title {
    color: rgb(20, 91, 169);
}

/* Form Elements */
.formatted-number {
    text-align: right;
}

/* Table Visibility */
.contract-totals {
    display: none;
}

.fee-table {
    display: none;
}

/* Background Colors */
.bg-success2 {
    background-color: #d4edda !important;
}

.bg-info2 {
    background-color: #d1ecf1 !important;
}

/* Animations */
.blink_me {
    animation: blinker 1s linear infinite;
}

@keyframes blinker {
    50% {
        opacity: 0.3;
    }
}

/* Navigation */
.navbar-separator {
    border-left: 1px solid #dee2e6;
    height: 30px;
}

/* Stale Results Warning System */
.stale-results {
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.stale-warning {
    background-color: #fff3cd;
    border: 2px solid #ffc107;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: #856404;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02);
    }
}

/* Table Styles */
.initial-table {
    background-color: cornsilk;
}

.initial-table-row {
    background-color: khaki;
}

.fee-table {
    font-size: large;
}

.table-header-left {
    background-color: darkgray;
    font-size: large;
}

.table-header-right {
    background-color: darkgray;
    font-size: large;
    text-align: right;
}

/* Result Input Fields */
.result-input-contracts {
    background-color: darkseagreen;
    font-size: x-large;
}

.result-input-fee {
    background-color: gold;
    font-size: x-large;
}

/* Red Box Warning - Subtle yet visible */
.red-box {
    background-color: #fef9e7;
    border-left: 4px solid #f39c12;
    border-radius: 6px;
    padding: 18px 20px;
    margin: 20px 0;
    font-size: 1.05em;
    line-height: 1.7;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    background-image: linear-gradient(to right, #fef9e7 0%, #fffef8 100%);
}

.red-box mark {
    background-color: #ffd966;
    padding: 2px 5px;
    border-radius: 3px;
    font-weight: bold;
}

.red-box u {
    text-decoration: underline;
    text-decoration-color: #3498db;
    text-decoration-thickness: 1.5px;
    color: #2874a6;
    font-weight: 500;
}
