/* Override All Glow Effects - Force Subtle 3D */

/* Remove all existing glow effects globally */
* {
    box-shadow: none !important;
}

/* Apply subtle 3D effects to common elements */

/* Buttons */
.btn,
.btn-primary,
.btn-secondary,
.btn-success,
.btn-danger,
.btn-warning,
.btn-info,
.btn-light,
.btn-dark,
.btn-brand,
.btn-luxury,
.btn-gold,
.btn-outline-gold,
.elite-btn {
    border-radius: 12px !important;
    transition: all 0.2s ease !important;
    box-shadow: 
        0 4px 8px rgba(0, 0, 0, 0.15) !important,
        inset 0 1px 0 rgba(255, 255, 255, 0.2) !important,
        inset 0 -1px 0 rgba(0, 0, 0, 0.1) !important;
}

.btn:hover,
.btn-primary:hover,
.btn-secondary:hover,
.btn-success:hover,
.btn-danger:hover,
.btn-warning:hover,
.btn-info:hover,
.btn-light:hover,
.btn-dark:hover,
.btn-brand:hover,
.btn-luxury:hover,
.btn-gold:hover,
.btn-outline-gold:hover,
.elite-btn:hover {
    transform: translateY(-1px) !important;
    box-shadow: 
        0 6px 12px rgba(0, 0, 0, 0.2) !important,
        inset 0 1px 0 rgba(255, 255, 255, 0.3) !important,
        inset 0 -1px 0 rgba(0, 0, 0, 0.15) !important;
}

.btn:active,
.btn-primary:active,
.btn-secondary:active,
.btn-success:active,
.btn-danger:active,
.btn-warning:active,
.btn-info:active,
.btn-light:active,
.btn-dark:active,
.btn-brand:active,
.btn-luxury:active,
.btn-gold:active,
.btn-outline-gold:active,
.elite-btn:active {
    transform: translateY(0) !important;
    box-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.2) !important,
        inset 0 1px 0 rgba(255, 255, 255, 0.1) !important,
        inset 0 -1px 0 rgba(0, 0, 0, 0.2) !important;
}

/* Cards */
.card,
.card-luxury,
.card-brand,
.elite-glass,
.elite-glass-dark,
.elite-card {
    border-radius: 16px !important;
    transition: all 0.3s ease !important;
    box-shadow: 
        0 4px 15px rgba(0, 0, 0, 0.1) !important,
        inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
}

.card:hover,
.card-luxury:hover,
.card-brand:hover,
.elite-glass:hover,
.elite-glass-dark:hover,
.elite-card:hover {
    transform: translateY(-3px) !important;
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.15) !important,
        inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
}

/* Form Controls */
.form-control,
.form-control-brand,
.elite-form-control {
    border-radius: 12px !important;
    transition: all 0.3s ease !important;
    box-shadow: 
        inset 0 2px 4px rgba(0, 0, 0, 0.1) !important,
        0 1px 2px rgba(0, 0, 0, 0.05) !important;
}

.form-control:focus,
.form-control-brand:focus,
.elite-form-control:focus {
    box-shadow: 
        inset 0 2px 4px rgba(0, 0, 0, 0.1) !important,
        0 0 0 3px rgba(211, 223, 55, 0.1) !important;
}

/* Navigation */
.navbar,
.navbar-luxury {
    box-shadow: 
        0 2px 15px rgba(0, 0, 0, 0.1) !important,
        inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
}

.nav-link {
    border-radius: 8px !important;
    transition: all 0.3s ease !important;
}

.nav-link:hover {
    background: rgba(211, 223, 55, 0.05) !important;
    box-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.1) !important,
        inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
}

/* Badges */
.badge,
.badge-brand {
    border-radius: 8px !important;
    box-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.15) !important,
        inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
}

/* Alerts */
.alert {
    border-radius: 12px !important;
    border: none !important;
    box-shadow: 
        0 4px 15px rgba(0, 0, 0, 0.1) !important,
        inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
}

/* Modals */
.modal-content {
    border-radius: 20px !important;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.3) !important,
        inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
}

/* Dropdowns */
.dropdown-menu {
    border-radius: 12px !important;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.2) !important,
        inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
}

.dropdown-item {
    border-radius: 8px !important;
    margin: 2px 8px !important;
    transition: all 0.3s ease !important;
}

.dropdown-item:hover {
    box-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.1) !important,
        inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
}

/* Tables */
.table {
    border-radius: 12px !important;
    overflow: hidden !important;
    box-shadow: 
        0 4px 15px rgba(0, 0, 0, 0.1) !important,
        inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
}

.table th {
    box-shadow: inset 0 -1px 0 rgba(211, 223, 55, 0.1) !important;
}

/* Pagination */
.page-link {
    border-radius: 8px !important;
    margin: 0 2px !important;
    transition: all 0.3s ease !important;
    box-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.1) !important,
        inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
}

.page-link:hover {
    transform: translateY(-1px) !important;
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.15) !important,
        inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
}

.page-item.active .page-link {
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.15) !important,
        inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
}

/* Floating Buttons */
.floating-btn,
.floating-btn-3d {
    border-radius: 50% !important;
    transition: all 0.3s ease !important;
    box-shadow: 
        0 4px 15px rgba(0, 0, 0, 0.2) !important,
        inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
}

.floating-btn:hover,
.floating-btn-3d:hover {
    transform: translateY(-3px) scale(1.05) !important;
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.25) !important,
        inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
}

/* Icon Boxes */
.icon-box,
.brand-icon-box,
.elite-icon-box {
    border-radius: 16px !important;
    transition: all 0.3s ease !important;
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.15) !important,
        inset 0 1px 0 rgba(255, 255, 255, 0.2) !important,
        inset 0 -1px 0 rgba(0, 0, 0, 0.1) !important;
}

.icon-box:hover,
.brand-icon-box:hover,
.elite-icon-box:hover {
    transform: translateY(-2px) scale(1.05) !important;
    box-shadow: 
        0 6px 18px rgba(0, 0, 0, 0.2) !important,
        inset 0 1px 0 rgba(255, 255, 255, 0.3) !important,
        inset 0 -1px 0 rgba(0, 0, 0, 0.15) !important;
}

/* Remove any remaining glow animations */
@keyframes glow,
@keyframes eliteGlow,
@keyframes brandGlow,
@keyframes pulse-glow,
@keyframes shimmer-glow {
    from, to { 
        box-shadow: 
            0 4px 15px rgba(0, 0, 0, 0.1),
            inset 0 1px 0 rgba(255, 255, 255, 0.05);
    }
}

/* Ensure no text shadows that look like glow */
h1, h2, h3, h4, h5, h6,
.display-1, .display-2, .display-3, .display-4, .display-5, .display-6,
.elite-gradient-text,
.brand-gradient-text {
    text-shadow: none !important;
    filter: none !important;
}

/* Override any filter effects that create glow */
* {
    filter: none !important;
}

/* Allow only specific filters for images */
img {
    filter: brightness(1) contrast(1) !important;
}

/* Scrollbar 3D effect */
::-webkit-scrollbar {
    width: 8px !important;
}

::-webkit-scrollbar-track {
    background: var(--brand-dark) !important;
    border-radius: 4px !important;
}

::-webkit-scrollbar-thumb {
    background: var(--brand-lime) !important;
    border-radius: 4px !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--brand-lime-light) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
}

/* Loading spinner 3D effect */
.spinner-border,
.loading-3d {
    box-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.1) !important,
        inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
}

/* Ensure consistent border radius for all rounded elements */
.rounded { border-radius: 8px !important; }
.rounded-lg { border-radius: 12px !important; }
.rounded-xl { border-radius: 16px !important; }
.rounded-2xl { border-radius: 20px !important; }
.rounded-3xl { border-radius: 24px !important; }
.rounded-pill { border-radius: 50px !important; }

/* Remove any box-shadow animations */
.animate-pulse,
.animate-bounce,
.animate-ping {
    animation: none !important;
}

/* Ensure all interactive elements have consistent 3D effects */
button:not(.btn-close),
input[type="button"],
input[type="submit"],
input[type="reset"],
.clickable,
.interactive {
    border-radius: 8px !important;
    transition: all 0.2s ease !important;
    box-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.1) !important,
        inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
}

button:not(.btn-close):hover,
input[type="button"]:hover,
input[type="submit"]:hover,
input[type="reset"]:hover,
.clickable:hover,
.interactive:hover {
    transform: translateY(-1px) !important;
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.15) !important,
        inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .card,
    .card-luxury,
    .card-brand,
    .elite-glass,
    .elite-glass-dark,
    .elite-card {
        border-radius: 12px !important;
    }
    
    .btn,
    .btn-brand,
    .btn-luxury,
    .btn-gold,
    .elite-btn {
        border-radius: 8px !important;
        padding: 10px 20px !important;
        font-size: 0.9rem !important;
    }
    
    .icon-box,
    .brand-icon-box,
    .elite-icon-box {
        width: 50px !important;
        height: 50px !important;
    }
}