.logo-light {
    display: block;
}

.logo-dark {
    display: none;
}

[data-bs-theme="dark"] .logo-light {
    display: none;
}

[data-bs-theme="dark"] .logo-dark {
    display: block;
}

.navbar-brand a {
    position: relative;
    display: inline-block;
}

.navbar-brand-image {
    position: relative;
    transition: filter 0.3s ease, transform 0.3s ease;
}

[data-bs-theme="dark"] .navbar-brand-image {
    animation: logoGlow 3s ease-in-out infinite;
}

@keyframes logoGlow {
    0%, 100% {
        filter: drop-shadow(0 0 1px rgba(33, 150, 243, 0.6))
                drop-shadow(0 0 6px rgba(33, 150, 243, 0.25));
    }
    50% {
        filter: drop-shadow(0 0 1px rgba(33, 150, 243, 0.8))
                drop-shadow(0 0 10px rgba(33, 150, 243, 0.4));
    }
}

[data-bs-theme="dark"] .navbar-brand a:hover .navbar-brand-image {
    filter: drop-shadow(0 0 1px rgba(33, 150, 243, 0.9))
            drop-shadow(0 0 12px rgba(33, 150, 243, 0.5)) !important;
    transform: scale(1.02);
    animation-play-state: paused;
}

[data-bs-theme="light"] .navbar-brand a:hover .navbar-brand-image {
    transform: scale(1.02);
}

.avatar-icon-modern {
    position: relative;
    border-radius: 8px !important;
    transition: all 0.3s ease;
}

.avatar-icon-modern svg {
    width: 28px !important;
    height: 28px !important;
}

.avatar-icon-modern:hover {
    transform: translateY(-2px);
}

.avatar-teal-gradient {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%) !important;
    box-shadow: 0 2px 8px rgba(34, 197, 94, 0.25);
}

.avatar-teal-gradient:hover {
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.35);
}

.avatar-yellow-gradient {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%) !important;
    box-shadow: 0 2px 8px rgba(251, 191, 36, 0.25);
}

.avatar-yellow-gradient:hover {
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.35);
}

.avatar-red-gradient {
    background: linear-gradient(135deg, #f87171 0%, #ef4444 100%) !important;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.25);
}

.avatar-red-gradient:hover {
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.35);
}

.avatar-blue-gradient {
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%) !important;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.25);
}

.avatar-blue-gradient:hover {
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.35);
}

.avatar-warning-gradient {
    background: linear-gradient(135deg, #fb923c 0%, #f97316 100%) !important;
    box-shadow: 0 2px 8px rgba(249, 115, 22, 0.25);
}

.avatar-warning-gradient:hover {
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.35);
}

.avatar-azure-gradient {
    background: linear-gradient(135deg, #38bdf8 0%, #0ea5e9 100%) !important;
    box-shadow: 0 2px 8px rgba(14, 165, 233, 0.25);
}

.avatar-azure-gradient:hover {
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.35);
}

.avatar-success-gradient {
    background: linear-gradient(135deg, #4ade80 0%, #22c55e 100%) !important;
    box-shadow: 0 2px 8px rgba(34, 197, 94, 0.25);
}

.avatar-success-gradient:hover {
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.35);
}

.avatar-danger-gradient {
    background: linear-gradient(135deg, #fb7185 0%, #f43f5e 100%) !important;
    box-shadow: 0 2px 8px rgba(244, 63, 94, 0.25);
}

.avatar-danger-gradient:hover {
    box-shadow: 0 4px 12px rgba(244, 63, 94, 0.35);
}

.avatar-primary-gradient {
    background: linear-gradient(135deg, #206bc4 0%, #4dabf7 100%) !important;
    box-shadow: 0 2px 8px rgba(32, 107, 196, 0.25);
}

.avatar-primary-gradient:hover {
    box-shadow: 0 4px 12px rgba(32, 107, 196, 0.35);
}

.avatar-dark-gradient {
    background: linear-gradient(135deg, #4b5563 0%, #374151 100%) !important;
    box-shadow: 0 2px 8px rgba(75, 85, 99, 0.3);
}

.avatar-dark-gradient:hover {
    box-shadow: 0 4px 12px rgba(75, 85, 99, 0.4);
}

.avatar-bitcoin-gradient {
    background: linear-gradient(135deg, #f7931a 0%, #e8850f 100%) !important;
    box-shadow: 0 2px 8px rgba(247, 147, 26, 0.25);
}

.avatar-bitcoin-gradient:hover {
    box-shadow: 0 4px 12px rgba(247, 147, 26, 0.35);
}

.avatar-orange-gradient {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%) !important;
    box-shadow: 0 2px 8px rgba(249, 115, 22, 0.25);
}

.avatar-orange-gradient:hover {
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.35);
}

.card-sm:hover .avatar-icon-modern {
    transform: translateY(-2px) scale(1.02);
}

.badge.badge-dot {
    vertical-align: middle;
    position: relative;
    top: -1px;
}

.badge.bg-warning.badge-dot {
    background-color: #f97316 !important;
}

.badge.bg-azure.badge-dot {
    background-color: #0ea5e9 !important;
}

.badge.bg-dark.badge-dot {
    background-color: #9ca3af !important;
}

.badge.bg-success.badge-dot {
    background-color: #22c55e !important;
}

.badge.bg-danger.badge-dot {
    background-color: #f43f5e !important;
}

.icon.spin {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.nav-tabs .nav-link:not(.active):hover {
    color: #ffffff !important;
}

.nav-tabs .nav-link:not(.active):hover .icon {
    color: #ffffff !important;
}

.dropdown-menu .dropdown-item:hover,
.dropdown-menu .dropdown-item:focus {
    background-color: var(--tblr-nav-link-hover-bg, rgba(255, 255, 255, 0.04)) !important;
    color: inherit !important;
}

.dropdown-menu .dropdown-item:active,
.dropdown-menu .dropdown-item.active {
    color: #ffffff !important;
}

.profile-avatar-card {
    overflow: hidden;
    border: none !important;
}

.profile-avatar-card .card-body {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(99, 102, 241, 0.1) 100%);
    border-left: 4px solid #3b82f6;
}

[data-bs-theme="dark"] .profile-avatar-card .card-body {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(99, 102, 241, 0.1) 100%);
}

.profile-avatar-wrapper {
    position: relative;
    display: inline-block;
}

.profile-avatar-modern {
    width: 72px !important;
    height: 72px !important;
    background: #0080FF !important;
    border-radius: 16px !important;
    padding: 14px;
    box-shadow: 0 8px 28px rgba(0, 128, 255, 0.4);
    transition: all 0.3s ease;
}

.profile-avatar-modern img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.profile-avatar-wrapper:hover .profile-avatar-modern {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 12px 32px rgba(0, 128, 255, 0.5);
}

.profile-user-name {
    font-size: 1.1rem;
}

.profile-user-email {
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .profile-user-name {
        font-size: 1.1rem !important;
    }
    
    .profile-user-email {
        font-size: 1rem !important;
    }
}

.header-avatar-modern {
    width: 40px !important;
    height: 40px !important;
    background: #0080FF !important;
    border-radius: 4px !important;
    box-shadow: 0 4px 12px rgba(0, 128, 255, 0.35);
    padding: 8px !important;
}

.header-avatar-modern img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

[data-bs-theme="dark"] .header-user-name {
    color: #fff !important;
}

.tfa-modal-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.15) 0%, rgba(220, 38, 38, 0.05) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #dc2626;
    animation: tfaModalPulse 2s ease-in-out infinite;
}

@keyframes tfaModalPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.3); }
    50% { box-shadow: 0 0 0 12px rgba(220, 38, 38, 0); }
}

.tfa-modal-inputs {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.tfa-modal-inputs input {
    width: 44px;
    height: 52px;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 600;
    font-family: monospace;
    border: 2px solid var(--tblr-border-color);
    border-radius: 8px;
    background: var(--tblr-bg-surface);
    color: var(--tblr-body-color);
    outline: none;
    transition: all 0.2s ease;
}

.tfa-modal-inputs input:focus {
    border-color: #206bc4;
    box-shadow: 0 0 0 3px rgba(32, 107, 196, 0.15);
}

.tfa-modal-inputs input.filled {
    border-color: #22c55e;
    background: rgba(34, 197, 94, 0.08);
}

.btn-primary {
    position: relative;
    background: linear-gradient(135deg, #206bc4 0%, #1a56a3 100%) !important;
    border: none !important;
    font-weight: 600;
    letter-spacing: 0.3px;
    box-shadow: 0 2px 8px rgba(32, 107, 196, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.15);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(32, 107, 196, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
    background: linear-gradient(135deg, #1a56a3 0%, #206bc4 100%) !important;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 1px 4px rgba(32, 107, 196, 0.3) !important;
}

.btn-primary .icon {
    transition: transform 0.3s ease;
}

.btn-primary:hover .icon {
    transform: scale(1.15) rotate(5deg);
}

#checkPaymentBtn,
#checkPaymentBtnMobile {
    position: relative;
    background: linear-gradient(135deg, #2fb344 0%, #26913a 100%);
    border: none;
    font-weight: 600;
    letter-spacing: 0.3px;
    padding: 10px 24px;
    box-shadow: 0 2px 8px rgba(47, 179, 68, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.15);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

#checkPaymentBtn::before,
#checkPaymentBtnMobile::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

#checkPaymentBtn:hover,
#checkPaymentBtnMobile:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(47, 179, 68, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    background: linear-gradient(135deg, #26913a 0%, #2fb344 100%);
}

#checkPaymentBtn:hover::before,
#checkPaymentBtnMobile:hover::before {
    left: 100%;
}

#checkPaymentBtn:active,
#checkPaymentBtnMobile:active {
    transform: translateY(0);
    box-shadow: 0 1px 4px rgba(47, 179, 68, 0.3);
}

#checkPaymentBtn.counting,
#checkPaymentBtnMobile.counting {
    background: linear-gradient(135deg, #f59f00 0%, #d88500 100%);
    box-shadow: 0 2px 8px rgba(245, 159, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.15);
    animation: pulse-glow 2s ease-in-out infinite;
}

#checkPaymentBtn.counting:hover,
#checkPaymentBtnMobile.counting:hover {
    background: linear-gradient(135deg, #d88500 0%, #f59f00 100%);
    box-shadow: 0 4px 16px rgba(245, 159, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 2px 8px rgba(245, 159, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.15);
    }
    50% {
        box-shadow: 0 2px 12px rgba(245, 159, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    }
}

#cryptoAddress,
#cryptoAddressMobile {
    font-size: 15px;
    font-weight: 500;
    background: rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.08);
    transition: all 0.2s ease;
}

[data-bs-theme="dark"] #cryptoAddress,
[data-bs-theme="dark"] #cryptoAddressMobile {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.08);
}

#cryptoAddress:focus,
#cryptoAddressMobile:focus {
    background: white;
    border-color: #206bc4;
    box-shadow: 0 0 0 3px rgba(32, 107, 196, 0.1);
}

[data-bs-theme="dark"] #cryptoAddress:focus,
[data-bs-theme="dark"] #cryptoAddressMobile:focus {
    background: rgba(255, 255, 255, 0.05);
}

.btn-info,
.btn-outline-info {
    position: relative;
    background: linear-gradient(135deg, #4299e1 0%, #3182ce 100%) !important;
    border: none !important;
    color: white !important;
    font-weight: 600;
    letter-spacing: 0.3px;
    box-shadow: 0 2px 8px rgba(66, 153, 225, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.15);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.btn-info::before,
.btn-outline-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-info:hover,
.btn-outline-info:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(66, 153, 225, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
    background: linear-gradient(135deg, #3182ce 0%, #4299e1 100%) !important;
    color: white !important;
}

.btn-info:hover::before,
.btn-outline-info:hover::before {
    left: 100%;
}

.btn-info:active,
.btn-outline-info:active {
    transform: translateY(0);
    box-shadow: 0 1px 4px rgba(66, 153, 225, 0.3);
}

.btn-info .icon,
.btn-outline-info .icon {
    transition: transform 0.3s ease;
}

.btn-info:hover .icon,
.btn-outline-info:hover .icon {
    transform: scale(1.15);
}

.btn-success,
.btn-outline-success {
    position: relative;
    background: linear-gradient(135deg, #2fb344 0%, #26913a 100%) !important;
    border: none !important;
    color: white !important;
    font-weight: 600;
    letter-spacing: 0.3px;
    box-shadow: 0 2px 8px rgba(47, 179, 68, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.15);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.btn-success::before,
.btn-outline-success::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-success:hover,
.btn-outline-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(47, 179, 68, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
    background: linear-gradient(135deg, #26913a 0%, #2fb344 100%) !important;
    color: white !important;
}

.btn-success:hover::before,
.btn-outline-success:hover::before {
    left: 100%;
}

.btn-success:active,
.btn-outline-success:active {
    transform: translateY(0);
    box-shadow: 0 1px 4px rgba(47, 179, 68, 0.3);
}

.btn-success .icon,
.btn-outline-success .icon {
    transition: transform 0.3s ease;
}

.btn-success:hover .icon,
.btn-outline-success:hover .icon {
    transform: scale(1.15);
}

.btn-danger,
.btn-outline-danger {
    position: relative;
    background: linear-gradient(135deg, #d63939 0%, #b92e2e 100%) !important;
    border: none !important;
    color: white !important;
    font-weight: 600;
    letter-spacing: 0.3px;
    box-shadow: 0 2px 8px rgba(214, 57, 57, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.15);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.btn-danger::before,
.btn-outline-danger::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-danger:hover,
.btn-outline-danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(214, 57, 57, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
    background: linear-gradient(135deg, #b92e2e 0%, #d63939 100%) !important;
    color: white !important;
}

.btn-danger:hover::before,
.btn-outline-danger:hover::before {
    left: 100%;
}

.btn-danger:active,
.btn-outline-danger:active {
    transform: translateY(0);
    box-shadow: 0 1px 4px rgba(214, 57, 57, 0.3);
}

.btn-danger .icon,
.btn-outline-danger .icon {
    transition: transform 0.3s ease;
}

.btn-danger:hover .icon,
.btn-outline-danger:hover .icon {
    transform: scale(1.15);
}

.btn-warning,
.btn-outline-warning {
    position: relative;
    background: linear-gradient(135deg, #f59f00 0%, #d88500 100%) !important;
    border: none !important;
    color: white !important;
    font-weight: 600;
    letter-spacing: 0.3px;
    box-shadow: 0 2px 8px rgba(245, 159, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.15);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.btn-warning::before,
.btn-outline-warning::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-warning:hover,
.btn-outline-warning:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(245, 159, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
    background: linear-gradient(135deg, #d88500 0%, #f59f00 100%) !important;
    color: white !important;
}

.btn-warning:hover::before,
.btn-outline-warning:hover::before {
    left: 100%;
}

.btn-warning:active,
.btn-outline-warning:active {
    transform: translateY(0);
    box-shadow: 0 1px 4px rgba(245, 159, 0, 0.3);
}

.btn-warning .icon,
.btn-outline-warning .icon {
    transition: transform 0.3s ease;
}

.btn-warning:hover .icon,
.btn-outline-warning:hover .icon {
    transform: scale(1.15);
}

.category-header-card {
    position: relative;
    background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.category-header-card .card-body {
    position: relative;
}

.category-icon-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    font-size: 28px;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.category-header-card:hover .category-icon-wrapper {
    transform: scale(1.05);
    background: rgba(255, 255, 255, 0.2);
}

.category-title {
    font-size: 0.970rem;
    letter-spacing: 0.3px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.category-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    color: white;
    font-weight: 600;
    font-size: 0.875rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
    white-space: nowrap;
}

.service-id-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 5px 11px;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%) !important;
    border: none !important;
    border-radius: 8px;
    color: white !important;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: 0 1px 4px rgba(59, 130, 246, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.3px;
}

.service-id-badge-sm {
    padding: 4px 10px;
    font-size: 0.85rem;
}

.btn-blue {
    position: relative;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%) !important;
    border: none !important;
    color: white !important;
    font-weight: 600;
    letter-spacing: 0.3px;
    box-shadow: 0 1px 3px rgba(59, 130, 246, 0.15);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.btn-blue::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s;
}

.btn-blue:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.2) !important;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%) !important;
    color: white !important;
}

.btn-blue:hover::before {
    left: 100%;
}

.btn-orange {
    position: relative;
    background: linear-gradient(135deg, #f59f00 0%, #f08c00 100%) !important;
    border: none !important;
    color: white !important;
    font-weight: 600;
    letter-spacing: 0.3px;
    box-shadow: 0 1px 3px rgba(245, 159, 0, 0.15);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.btn-orange::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s;
}

.btn-orange:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(245, 159, 0, 0.2) !important;
    background: linear-gradient(135deg, #f08c00 0%, #d88500 100%) !important;
    color: white !important;
}

.btn-orange:hover::before {
    left: 100%;
}

.btn-blue .icon,
.btn-orange .icon {
    transition: transform 0.3s ease;
}

.btn-blue:hover .icon,
.btn-orange:hover .icon {
    transform: scale(1.1);
}

@media (max-width: 767.98px) {
    .btn-primary,
    .btn-info,
    .btn-success,
    .btn-danger,
    .btn-warning,
    .btn-outline-primary,
    .btn-outline-info,
    .btn-outline-success,
    .btn-outline-danger,
    .btn-outline-warning {
        min-height: 44px;
    }
    
    #cryptoAddressMobile {
        font-size: 13px;
    }
    
    .category-header-card .card-body {
        padding: 10px 12px !important;
    }
    
    .category-title {
        font-size: 0.95rem;
    }
    
    .category-badge {
        font-size: 0.75rem;
        padding: 4px 10px;
    }
    
    .category-icon-wrapper {
        width: 36px;
        height: 36px;
        font-size: 20px;
        margin-right: 10px !important;
    }
    
    .order-card .btn-sm {
        padding: 6px 12px !important;
        font-size: 0.8rem !important;
        min-height: unset !important;
    }
    
    .order-card .btn-sm .icon {
        width: 18px !important;
        height: 18px !important;
    }
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.status-badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    position: relative;
}

.h5 .status-badge {
    font-size: 0.970rem;
    font-weight: 600;
}

.h5 .status-badge-dot {
    width: 9px;
    height: 9px;
}

.status-badge-dot::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 50%;
    animation: pulse-ring 2s ease-out infinite;
}

.status-badge-online {
    color: #16a34a;
}

.status-badge-online .status-badge-dot {
    background: #22c55e;
    box-shadow: 0 0 8px rgba(34, 197, 94, 0.6);
}

.status-badge-online .status-badge-dot::before {
    background: rgba(34, 197, 94, 0.3);
}

.status-badge-offline {
    color: #dc2626;
}

.status-badge-offline .status-badge-dot {
    background: #ef4444;
    box-shadow: 0 0 8px rgba(239, 68, 68, 0.6);
}

.status-badge-offline .status-badge-dot::before {
    background: rgba(239, 68, 68, 0.3);
}

@keyframes pulse-ring {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(1.8);
    }
}

.h3 .status-badge {
    font-size: 1.05rem;
    font-weight: 600;
}

.h3 .status-badge-dot {
    width: 10px;
    height: 10px;
}

.performance-period-tabs {
    display: inline-flex;
    gap: 0;
    background: rgba(var(--tblr-primary-rgb), 0.08);
    padding: 3px;
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

[data-bs-theme="dark"] .performance-period-tabs {
    background: rgba(255, 255, 255, 0.06);
}

.performance-period-tab {
    padding: 6px 16px;
    border: none;
    background: transparent;
    color: var(--tblr-body-color);
    font-weight: 500;
    font-size: 0.875rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    white-space: nowrap;
}

.performance-period-tab:hover {
    background: rgba(var(--tblr-primary-rgb), 0.1);
}

.performance-period-tab.active {
    background: linear-gradient(135deg, #206bc4 0%, #1a56a3 100%);
    color: white;
    box-shadow: 0 2px 6px rgba(32, 107, 196, 0.25);
}

@media (max-width: 767.98px) {
    .performance-period-tabs {
        width: 100%;
    }
    
    .performance-period-tab {
        flex: 1;
        text-align: center;
        font-size: 0.8rem;
        padding: 8px 12px;
    }
}

#chart-performance {
    overflow: hidden;
    width: 100%;
    max-width: 100%;
}

#chart-performance .apexcharts-canvas {
    margin: 0 auto;
    max-width: 100%;
}

#chart-performance svg {
    max-width: 100%;
    overflow: visible;
}

.pub-header-login-btn {
    background: linear-gradient(135deg, #206bc4 0%, #1a56a3 100%) !important;
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    position: relative;
    overflow: hidden;
    transition: all 0.25s ease;
}

.pub-header-login-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transition: left 0.5s ease;
}

.pub-header-login-btn:hover {
    background: linear-gradient(135deg, #1a5aa0 0%, #154d8f 100%) !important;
    color: #fff !important;
    box-shadow: 0 3px 12px rgba(32, 107, 196, 0.35);
    transform: translateY(-1px);
}

.pub-header-login-btn:hover::before {
    left: 100%;
}

@media (max-width: 767.98px) {
    .pub-header .container-xl {
        position: relative;
    }

    .pub-header .navbar-brand {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        margin: 0;
    }

    .pub-header .navbar-nav {
        margin-left: auto !important;
    }
}

.pub-welcome-banner {
    position: relative;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.07) 0%, rgba(34, 197, 94, 0.02) 100%);
    border: 1px solid rgba(34, 197, 94, 0.15);
    overflow: hidden;
    padding: 16px 22px;
}

.pub-welcome-glow {
    position: absolute;
    top: -40px;
    right: -40px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(34, 197, 94, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.pub-welcome-content {
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
    z-index: 1;
}

.pub-welcome-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.18) 0%, rgba(34, 197, 94, 0.06) 100%);
    color: #4ade80;
    flex-shrink: 0;
}

.pub-welcome-text {
    flex: 1;
    min-width: 0;
}

.pub-welcome-text h3 {
    font-size: 14px;
    font-weight: 600;
    color: #e2e8f0;
    margin: 0;
}

.pub-welcome-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.pub-welcome-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.25s ease;
}

.pub-welcome-btn-primary {
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.pub-welcome-btn-primary:hover {
    background: linear-gradient(135deg, #15803d 0%, #166534 100%);
    color: #fff;
    text-decoration: none;
    box-shadow: 0 3px 12px rgba(34, 197, 94, 0.3);
    transform: translateY(-1px);
}

.pub-welcome-btn-secondary {
    background: rgba(255, 255, 255, 0.06);
    color: #94a3b8;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.pub-welcome-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #e2e8f0;
    text-decoration: none;
    transform: translateY(-1px);
}

@media (max-width: 767.98px) {
    .pub-welcome-banner {
        padding: 16px;
    }

    .pub-welcome-content {
        flex-direction: column;
        text-align: center;
        gap: 14px;
    }

    .pub-welcome-icon {
        margin: 0 auto;
    }

    .pub-welcome-text h3 {
        font-size: 13px;
        line-height: 1.5;
    }

    .pub-welcome-actions {
        width: 100%;
        justify-content: center;
    }

    .pub-welcome-btn {
        flex: 1;
        justify-content: center;
    }
}

@media (max-width: 400px) {
    .pub-welcome-actions {
        flex-direction: column;
    }

    .pub-welcome-btn {
        width: 100%;
    }
}

.card-body:has(#chart-performance) {
    overflow: hidden;
    padding: 0 !important;
}

@media (max-width: 767.98px) {
    #chart-performance {
        padding: 0 8px;
    }
}
