/* Loading States */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loading-content {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
}

button[disabled] {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Enhanced keyboard focus indicators */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus,
.btn:focus,
.form-control:focus,
.form-select:focus {
    outline: 3px solid #0d6efd;
    outline-offset: 2px;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

/* Skip to main content link */
.skip-nav {
    position: absolute;
    top: -100px;
    left: 0;
    background: #0d6efd;
    color: white;
    padding: 1rem;
    z-index: 10000;
    text-decoration: none;
}

.skip-nav:focus {
    position: absolute;
    top: 0;
    left: 0;
}

/* Remove default focus for mouse users, keep for keyboard */
.no-focus-visible:focus:not(:focus-visible) {
    outline: none;
    box-shadow: none;
}
