footer {
    background-color: #ffffff;
    border-top: 1px solid #e0e0e0;
    padding: 0.75rem;
    text-align: center;
    flex-shrink: 0;
    position: relative;
    z-index: 100;
}

footer p {
    color: #4d4d4d;
    font-size: 0.875rem;
    margin: 0;
}

footer .footer-contact-link {
    color: var(--accent-color, #0066cc);
    text-decoration: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

footer .footer-contact-link:hover {
    color: var(--accent-color, #0066cc);
    text-decoration: none;
}

footer .footer-contact-link i {
    font-size: 1rem;
}

footer .footer-contact-link:hover i {
    transform: none;
}

/* Session Timer Styles */
.session-timer {
    position: absolute;
    bottom: 0;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.25rem 0.5rem;
    background-color: transparent;
    border: none;
    font-size: 0.8125rem;
    color: #666666;
    z-index: 10;
    transition: all 0.3s ease;
}

.session-timer i {
    color: #999999;
    font-size: 0.75rem;
    opacity: 0.7;
}

.session-timer #session-timer-text {
    font-family: 'Courier New', monospace;
    font-weight: 400;
    min-width: 3.5rem;
    text-align: center;
    color: #666666;
}

/* Warning state (less than 5 minutes remaining) */
.session-timer.warning {
    color: #856404;
}

.session-timer.warning i {
    color: #ffc107;
    opacity: 0.8;
}

.session-timer.warning #session-timer-text {
    color: #856404;
}

/* Critical state (less than 2 minutes remaining) */
.session-timer.critical {
    color: #721c24;
    animation: pulse 1s ease-in-out infinite;
}

.session-timer.critical i {
    color: #dc3545;
    opacity: 1;
}

.session-timer.critical #session-timer-text {
    color: #721c24;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.8;
    }
}

/* Tablet Mode Styles - Keep normal size */
body.tablet-mode .session-timer {
    right: 1.5rem;
    /* Keep normal size, don't scale */
}

/* Responsive */
@media (max-width: 768px) {
    footer {
        padding: 0.625rem;
    }
    
    footer p {
        font-size: 0.8125rem;
    }
    
    .session-timer {
        right: 0.625rem;
        padding: 0.25rem 0.5rem;
        font-size: 0.75rem;
    }
    
    .session-timer i {
        font-size: 0.75rem;
    }
    
    .session-timer #session-timer-text {
        font-size: 0.75rem;
        min-width: 3rem;
    }
}

