/* Body adjustments for fixed footer */
body {
    min-height: calc(100% - 40px);
    padding-bottom: 40px; /* Prevent content from being hidden by fixed footer */
}

/* Partner Portal Footer Styles - Isolated from page styles */
.footer {
    /* CSS Variables */
    --font-primary: Helvetica Neue, Helvetica, Arial, sans-serif;
    --font-secondary: arial, sans-serif;
    --color-brand: #009dcc;
    --color-brand-hover: #ff0000;
    --color-text: #000;
    --color-gray: #BDBEBD;
    
    /* Layout */
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 40px;
    margin: 0;
    padding: 0;
    background: white;
    z-index: 1000;
    display: flex;
    align-items: center;
    
    /* Typography - inherited by all children */
    font-family: var(--font-primary);
    font-size: 15px;
    font-weight: 300;
    line-height: normal;
    color: #00617e;
}

.footer *,
.footer *::before,
.footer *::after {
    box-sizing: border-box;
}

/* Logo */
.footer .logo {
    position: absolute;
    top: 0;
    left: 5px;
}

.footer img {
    display: block;
    border: none;
}

/* Date Display */
.footer .date-display {
    position: absolute;
    top: 10px;
    left: 200px;
    color: var(--color-gray);
}

/* Content Layout */
.footer .footer-content {
    width: 100%;
    display: flex;
    align-items: center;
}

.footer .footer-spacer {
    width: 90px;
    flex-shrink: 0;
}

.footer .footer-right {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

/* Quick Search */
.footer .quick-search {
    font-size: 7pt;
    color: var(--color-text);
    white-space: nowrap;
}

.footer input {
    font-size: 8pt;
    color: var(--color-text);
    padding: 2px;
    border: 1px solid var(--color-text);
    margin: 1px;
    background: white;
}

/* Depot Selector */
.footer .depot-selector {
    white-space: nowrap;
    font-size: 8pt;
    color: var(--color-text);
}

.footer .depot-form {
    margin: 0;
    padding: 0;
}

.footer select {
    height: 17px;
    font-size: 6.5pt;
    padding: 0 2px;
    border: 1px solid var(--color-text);
    background: white;
    color: var(--color-text);
}

/* User Section */
.footer .user-section {
    text-align: right;
    font-size: 8pt;
    line-height: 1.2;
    font-family: var(--font-secondary);
    color: var(--color-text);
}

.footer .user-section br {
    margin: 2px 0;
}

.footer .nav-links {
    white-space: nowrap;
}

/* Navigation Links */
.footer a {
    color: var(--color-brand);
    text-decoration: none;
    font-weight: bold;
    font-size: 8pt;
    font-family: var(--font-secondary);
    cursor: pointer;
}

.footer a:hover {
    color: var(--color-brand-hover);
}

/* User Info */
.footer .user-info {
    font-size: 8pt;
    font-family: var(--font-secondary);
    color: var(--color-text);
}

.footer .user-info-text {
    font-size: 8pt;
    font-family: var(--font-secondary);
    color: var(--color-brand);
}
