.mw-566{
    max-width: 566px;
}

.area-social{
    z-index: 99;
}

.img-zalo {
    margin-left: 5px;
}
.slide-slick .slide-cation h5{
    line-height: 1.5em;
}

.ticket-info { 
    color: red;
    white-space: nowrap;
}
.menu-header li, .menu-header a {
    padding: 5px;
}
#exportTicketModal figure img,#exportTicketModal img{
    max-width: 100%;
    height: auto;;
}
.list-analytic {
    justify-content: unset;
    gap:20px;
}
.title-event{
    line-height: 1.5;
    max-height: 90px;
}
@media screen and (max-width: 768px) {
    .list-analytic {
        justify-content: center;
    }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Login Modal Styles - Desktop */
#loginModal .modal-dialog {
    max-width: 320px;
}
#loginModal .modal-content {
    border: none;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(230, 126, 34, 0.3);
}
#loginModal .modal-header {
    background: linear-gradient(135deg, #e67e22 0%, #d35400 100%);
    border-radius: 12px 12px 0 0;
    padding: 15px 20px;
}
#loginModal .modal-title {
    color: white;
    font-weight: 600;
    font-size: 18px;
}
#loginModal .btn-close {
    filter: brightness(0) invert(1);
    opacity: 0.8;
}
#loginModal .btn-close:hover {
    opacity: 1;
}
#loginModal .form-control,
#loginModal .form-control-sm {
    border: 2px solid #fdebd0;
    border-radius: 8px;
    padding: 10px 12px;
    transition: all 0.3s ease;
}
#loginModal .form-control-sm {
    font-size: 14px;
}
#loginModal .form-control:focus,
#loginModal .form-control-sm:focus {
    border-color: #e67e22;
    box-shadow: 0 0 0 3px rgba(230, 126, 34, 0.2);
}
#loginModal .form-label {
    color: #d35400;
    font-weight: 500;
    margin-bottom: 6px;
}
#loginModal .form-check-input {
    border-color: #e67e22;
    width: 18px;
    height: 18px;
}
#loginModal .form-check-input:checked {
    background-color: #e67e22;
    border-color: #e67e22;
}
#loginModal .btn-primary {
    background: linear-gradient(135deg, #e67e22 0%, #d35400 100%);
    border: none;
    border-radius: 8px;
    padding: 10px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
}
#loginModal .btn-primary:hover {
    background: linear-gradient(135deg, #d35400 0%, #a04000 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(230, 126, 34, 0.4);
}
#loginModal .btn-primary:active {
    transform: translateY(0);
}
#loginModal .modal-body {
    padding: 25px 25px 20px;
}

/* Login Modal Styles - Mobile */
#loginMobileModal .modal-dialog,
#userMobileModal .modal-dialog {
    max-width: 90%;
}
#loginMobileModal .modal-content,
#userMobileModal .modal-content {
    border: none;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(230, 126, 34, 0.3);
}
#loginMobileModal .form-control {
    border: 2px solid #fdebd0;
    border-radius: 8px;
    padding: 10px 12px;
    transition: all 0.3s ease;
}
#loginMobileModal .form-control:focus {
    border-color: #e67e22;
    box-shadow: 0 0 0 3px rgba(230, 126, 34, 0.2);
}
#loginMobileModal .btn-primary {
    background: linear-gradient(135deg, #e67e22 0%, #d35400 100%);
    border: none;
    border-radius: 8px;
    padding: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
}
#loginMobileModal .btn-primary:hover {
    background: linear-gradient(135deg, #d35400 0%, #a04000 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(230, 126, 34, 0.4);
}

/* Transaction Modal Styles - Desktop */
#transactionModal .modal-dialog {
    max-width: 600px;
}
#transactionModal .modal-content {
    border: none;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(230, 126, 34, 0.3);
}
#transactionModal .modal-header {
    background: linear-gradient(135deg, #e67e22 0%, #d35400 100%);
    border-radius: 12px 12px 0 0;
    padding: 15px 20px;
}
#transactionModal .modal-title {
    color: white;
    font-weight: 600;
}
#transactionModal .transaction-item {
    border-left: 4px solid #e67e22;
    margin-bottom: 10px;
    padding: 12px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
#transactionModal .transaction-amount {
    font-weight: 600;
    color: #e67e22;
}
#transactionModal .transaction-date {
    font-size: 12px;
    color: #999;
}
#transactionModal .pagination {
    justify-content: center;
    margin-top: 15px;
}

/* Transaction Modal Styles - Mobile */
#transactionMobileModal .modal-dialog {
    max-width: 90%;
}
#transactionMobileModal .modal-content {
    border: none;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(230, 126, 34, 0.3);
}
#transactionMobileModal .transaction-item {
    border-left: 4px solid #e67e22;
    margin-bottom: 10px;
    padding: 12px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
#transactionMobileModal .transaction-amount {
    font-weight: 600;
    color: #e67e22;
}
#transactionMobileModal .transaction-date {
    font-size: 12px;
    color: #999;
}
#transactionMobileModal .pagination {
    justify-content: center;
}

/* Dropdown Menu End */
.dropdown-menu-end {
    right: 0;
    left: auto !important;
}

/* Đổi mật khẩu — modal & ô nhập nhỏ ~một nửa so với mặc định */
#changePasswordModal .modal-content,
#changePasswordMobileModal .modal-content {
    overflow: hidden;
    border-radius: 12px;
    border: none;
    background-color: #fff;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}
#changePasswordModal .modal-dialog,
#changePasswordMobileModal .modal-dialog {
    max-width: 260px;
    margin: 0.5rem auto;
}
#changePasswordModal .modal-header,
#changePasswordMobileModal .modal-header {
    padding: 0.4rem 0.65rem;
    background: linear-gradient(135deg, #e67e22 0%, #d35400 100%);
    border-radius: 0;
    border-bottom: none;
}
#changePasswordModal .modal-title,
#changePasswordMobileModal .modal-title {
    font-size: 0.9rem;
}
#changePasswordModal .modal-title i,
#changePasswordMobileModal .modal-title i {
    font-size: 0.85em;
}
#changePasswordModal .btn-close,
#changePasswordMobileModal .btn-close {
    padding: 0.35rem;
    margin: -0.2rem -0.35rem -0.2rem auto;
}
#changePasswordModal .modal-body,
#changePasswordMobileModal .modal-body {
    padding: 0.65rem 0.75rem 0.75rem;
}
#changePasswordModal .form-label,
#changePasswordMobileModal .form-label {
    font-size: 0.75rem;
    margin-bottom: 0.2rem;
}
#changePasswordModal .form-control,
#changePasswordMobileModal .form-control {
    padding: 0.28rem 0.45rem;
    font-size: 0.8rem;
    line-height: 1.35;
}
#changePasswordModal .modal-body .mb-3,
#changePasswordMobileModal .modal-body .mb-3 {
    margin-bottom: 0.5rem !important;
}
#changePasswordModal small.text-muted,
#changePasswordMobileModal small.text-muted {
    font-size: 0.65rem;
}
#changePasswordModal .modal-body .alert,
#changePasswordMobileModal .modal-body .alert {
    padding: 0.35rem 0.5rem;
    font-size: 0.75rem;
    margin-bottom: 0.5rem !important;
}
#changePasswordModal #changePasswordSubmitBtn,
#changePasswordMobileModal #changePasswordMobileSubmitBtn {
    padding: 0.35rem 0.6rem;
    font-size: 0.8rem;
    background: linear-gradient(135deg, #e67e22 0%, #d35400 100%);
    border: none;
    color: #fff;
}
#changePasswordModal #changePasswordSubmitBtn:hover,
#changePasswordModal #changePasswordSubmitBtn:focus,
#changePasswordMobileModal #changePasswordMobileSubmitBtn:hover,
#changePasswordMobileModal #changePasswordMobileSubmitBtn:focus {
    color: #fff;
    background: linear-gradient(135deg, #cf711f 0%, #ba4a00 100%);
    border: none;
}
#changePasswordModal #changePasswordSubmitBtn:disabled,
#changePasswordMobileModal #changePasswordMobileSubmitBtn:disabled {
    color: rgba(255, 255, 255, 0.85);
    opacity: 0.85;
}