
/* ===== GLOBAL BUTTON OUTLINE FIX - FOCUS COLORS ===== */
/* Ensure each button outline variant has proper focus color matching its theme */

/* General button focus - fallback */
.btn:focus {
    border-width: 1px !important;
    border-style: solid !important;
    outline: none !important;
    /* box-shadow: 0 0 0 0.2rem rgba(var(--bs-primary-rgb), 0.25) !important; */
}

/* Primary button outline focus */
.btn-outline-primary:focus,
.btn-outline-primary.focus,
.btn-outline-primary:active:focus,
.btn-outline-primary.active:focus,
.show > .btn-outline-primary.dropdown-toggle:focus {
    border-color: #405189 !important;
    border-width: 1px !important;
    border-style: solid !important;
    /* box-shadow: 0 0 0 0.2rem rgba(64, 81, 137, 0.25) !important; */
}

/* Secondary button outline focus */
.btn-outline-secondary:focus,
.btn-outline-secondary.focus,
.btn-outline-secondary:active:focus,
.btn-outline-secondary.active:focus,
.show > .btn-outline-secondary.dropdown-toggle:focus {
    border-color: #74788d !important;
    border-width: 1px !important;
    border-style: solid !important;
    /* box-shadow: 0 0 0 0.2rem rgba(116, 120, 141, 0.25) !important; */
}

/* Success button outline focus */
.btn-outline-success:focus,
.btn-outline-success.focus,
.btn-outline-success:active:focus,
.btn-outline-success.active:focus,
.show > .btn-outline-success.dropdown-toggle:focus {
    border-color: #0ab39c !important;
    border-width: 1px !important;
    border-style: solid !important;
    /* box-shadow: 0 0 0 0.2rem rgba(10, 179, 156, 0.25) !important; */
}

/* Info button outline focus */
.btn-outline-info:focus,
.btn-outline-info.focus,
.btn-outline-info:active:focus,
.btn-outline-info.active:focus,
.show > .btn-outline-info.dropdown-toggle:focus {
    border-color: #299cdb !important;
    border-width: 1px !important;
    border-style: solid !important;
    /* box-shadow: 0 0 0 0.2rem rgba(41, 156, 219, 0.25) !important; */
}

/* Warning button outline focus */
.btn-outline-warning:focus,
.btn-outline-warning.focus,
.btn-outline-warning:active:focus,
.btn-outline-warning.active:focus,
.show > .btn-outline-warning.dropdown-toggle:focus {
    border-color: #f7b84b !important;
    border-width: 1px !important;
    border-style: solid !important;
    /* box-shadow: 0 0 0 0.2rem rgba(247, 184, 75, 0.25) !important; */
}

/* Danger button outline focus */
.btn-outline-danger:focus,
.btn-outline-danger.focus,
.btn-outline-danger:active:focus,
.btn-outline-danger.active:focus,
.show > .btn-outline-danger.dropdown-toggle:focus {
    border-color: #f06548 !important;
    border-width: 1px !important;
    border-style: solid !important;
    /* box-shadow: 0 0 0 0.2rem rgba(240, 101, 72, 0.25) !important; */
}

/* Light button outline focus */
.btn-outline-light:focus,
.btn-outline-light.focus,
.btn-outline-light:active:focus,
.btn-outline-light.active:focus,
.show > .btn-outline-light.dropdown-toggle:focus {
    border-color: #ced4da !important;
    border-width: 1px !important;
    border-style: solid !important;
    /* box-shadow: 0 0 0 0.2rem rgba(206, 212, 218, 0.25) !important; */
}

/* Dark button outline focus */
.btn-outline-dark:focus,
.btn-outline-dark.focus,
.btn-outline-dark:active:focus,
.btn-outline-dark.active:focus,
.show > .btn-outline-dark.dropdown-toggle:focus {
    border-color: #212529 !important;
    border-width: 1px !important;
    border-style: solid !important;
    /* box-shadow: 0 0 0 0.2rem rgba(33, 37, 41, 0.25) !important; */
}

/* Removed mobile override for .chat-room-list height */

/* Global override: ensure chat-room-list does not have forced height */
.chat-room-list {
    height: auto !important;
}