/* Modern UI CSS - AR Image Converter */

:root {
    /* Accent color system - dynamically controlled by template settings */
    --accent-color: #3B82F6;
    --accent-color-rgb: 59, 130, 246;
    --accent-color-alpha-10: rgba(var(--accent-color-rgb), 0.1);
    --accent-color-alpha-20: rgba(var(--accent-color-rgb), 0.2);
    --accent-color-alpha-30: rgba(var(--accent-color-rgb), 0.3);
    --accent-color-alpha-50: rgba(var(--accent-color-rgb), 0.5);
    --accent-color-alpha-70: rgba(var(--accent-color-rgb), 0.7);
    
    /* Base colors */
    --glass-bg-color: rgba(25, 25, 35, 0.7);
    --glass-light-bg-color: rgba(255, 255, 255, 0.08);
    --glass-border-color: rgba(255, 255, 255, 0.1);
    --glass-highlight: rgba(255, 255, 255, 0.05);
    --glass-shadow: rgba(0, 0, 0, 0.5);
    
    /* Gradient colors */
    --primary-gradient-start: #1E3A8A;
    --primary-gradient-end: #3B82F6;
    --secondary-gradient-start: #0EA5E9;
    --secondary-gradient-end: #06B6D4;
    --info-gradient-start: #0284C7;
    --info-gradient-end: #0369A1;
    --success-gradient-start: #0D9488;
    --success-gradient-end: #14B8A6;
    --warning-gradient-start: #F9D423;
    --warning-gradient-end: #FF4E50;
    --danger-gradient-start: #ED213A;
    --danger-gradient-end: #93291E;
    --admin-gradient-start: #1E40AF;
    --admin-gradient-end: #3B82F6;
    --warning-gradient-end: #FF4E50;
    --danger-gradient-start: #FF416C;
    --danger-gradient-end: #FF4B2B;
}

/* Typography */
body {
    font-family: 'Poppins', sans-serif;
    letter-spacing: 0.3px;
    background-color: #121218;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(30, 58, 138, 0.3) 0%, rgba(30, 30, 40, 0) 28%),
        radial-gradient(circle at 90% 80%, rgba(14, 165, 233, 0.2) 0%, rgba(30, 30, 40, 0) 30%);
    background-attachment: fixed;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
}

/* Text opacity variations */
.text-white-80 {
    color: rgba(255, 255, 255, 0.8) !important;
}

.text-white-70 {
    color: rgba(255, 255, 255, 0.7) !important;
}

.text-white-50 {
    color: rgba(255, 255, 255, 0.5) !important;
}

/* Glass elements */
.glass-nav {
    background: var(--glass-bg-color);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border-color);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.glass-card {
    background: var(--glass-bg-color);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border-color);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.glass-card:hover {
    border-color: var(--accent-color-alpha-30);
    box-shadow: 0 10px 30px var(--accent-color-alpha-20);
}

.glass-card-header {
    background: rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid var(--glass-border-color);
    padding: 1rem 1.5rem;
}

.glass-dropdown {
    background: #1a1a25; /* Completely solid background */
    border: 1px solid var(--glass-border-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5); /* Stronger shadow */
    overflow: hidden;
    z-index: 1050; /* Higher z-index to prevent issues */
}

.glass-dropdown .dropdown-item {
    color: white;
    transition: all 0.2s ease;
    margin: 2px 0; /* Add some spacing between items */
    padding: 0.75rem 1rem; /* More clickable area */
    font-weight: 500;
}

.glass-dropdown .dropdown-item:hover {
    background: rgba(59, 130, 246, 0.15); /* Blue tinted hover background */
    transform: translateX(5px);
    color: white; /* Brighter text on hover */
    border-left: 2px solid #3B82F6;
}

/* Dropdown divider */
.glass-dropdown .dropdown-divider {
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    margin: 0.5rem 0;
    opacity: 1;
}

.glass-overlay {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.btn-glass {
    background: var(--glass-light-bg-color);
    border: 1px solid var(--glass-border-color);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(59, 130, 246, 0.3);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.2);
}

.btn-glass-primary {
    background: linear-gradient(45deg, var(--accent-color-alpha-70), var(--accent-color-alpha-50));
    border: 1px solid var(--accent-color-alpha-30);
    color: white;
    transition: all 0.3s ease;
}

.btn-glass-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px var(--accent-color-alpha-20);
    border-color: var(--accent-color-alpha-50);
    color: white;
}

/* Gradients */
.bg-gradient-primary {
    background: linear-gradient(45deg, var(--primary-gradient-start), var(--primary-gradient-end));
}

.bg-gradient-secondary {
    background: linear-gradient(45deg, var(--secondary-gradient-start), var(--secondary-gradient-end));
}

.bg-gradient-info {
    background: linear-gradient(45deg, var(--info-gradient-start), var(--info-gradient-end));
}

.bg-gradient-success {
    background: linear-gradient(45deg, var(--success-gradient-start), var(--success-gradient-end));
}

.bg-gradient-warning {
    background: linear-gradient(45deg, var(--warning-gradient-start), var(--warning-gradient-end));
}

.bg-gradient-danger {
    background: linear-gradient(45deg, var(--danger-gradient-start), var(--danger-gradient-end));
}

.bg-gradient-purple {
    background: linear-gradient(45deg, #1E3A8A, #3B82F6);
}

.bg-gradient-pink {
    background: linear-gradient(45deg, #0EA5E9, #06B6D4);
}

/* Glass backgrounds */
.bg-glass {
    background: var(--glass-light-bg-color);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border-color);
}

.bg-glass-red {
    background: rgba(255, 76, 76, 0.25);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 76, 76, 0.3);
    color: white;
}

.text-gradient-primary {
    background: linear-gradient(45deg, var(--primary-gradient-start), var(--primary-gradient-end));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gradient-secondary {
    background: linear-gradient(45deg, var(--secondary-gradient-start), var(--secondary-gradient-end));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gradient-info {
    background: linear-gradient(45deg, var(--info-gradient-start), var(--info-gradient-end));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gradient-purple {
    background: linear-gradient(45deg, #1E3A8A, #3B82F6);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gradient-pink {
    background: linear-gradient(45deg, #0EA5E9, #06B6D4);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.brand-gradient {
    background: linear-gradient(45deg, #fff, #06B6D4);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

.gradient-text {
    background: linear-gradient(45deg, #fff, #06B6D4);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Navbar Styling */
.navbar-nav .nav-link {
    position: relative;
    margin: 0 0.25rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: white;
    background: var(--glass-light-bg-color);
}

.navbar-nav .nav-link.active {
    color: white;
    background: var(--glass-light-bg-color);
}

/* Alerts */
.alert-glass {
    background: var(--glass-bg-color);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border-color);
    border-left-width: 5px;
    color: rgba(255, 255, 255, 0.9);
    padding: 1rem;
    margin-bottom: 1rem;
}

.alert-glass.alert-success {
    border-left-color: var(--success-gradient-end);
}

.alert-glass.alert-danger, .alert-glass.alert-error {
    border-left-color: var(--danger-gradient-end);
}

.alert-glass.alert-warning {
    border-left-color: var(--warning-gradient-end);
}

.alert-glass.alert-info {
    border-left-color: var(--info-gradient-end);
}

.alert-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: var(--glass-light-bg-color);
}

/* Footer Glass */
.footer-glass {
    background: var(--glass-bg-color);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid var(--glass-border-color);
}

.glass-divider {
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid var(--glass-border-color);
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    background: var(--glass-light-bg-color);
    color: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
    text-decoration: none;
    border-radius: 50%;
}

.social-icon i {
    font-size: 1.25rem;
}

.social-icon:hover {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    transform: translateY(-3px);
}

.footer-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.2s ease;
    display: block;
    padding: 0.35rem 0;
}

.footer-link:hover {
    color: white;
    transform: translateX(3px);
}

/* Accordion */
.glass-accordion {
    background: transparent;
    border: none;
    margin-bottom: 0.5rem;
}

.glass-accordion .accordion-header {
    border-radius: 0.5rem;
    overflow: hidden;
}

.glass-accordion .accordion-button {
    background: var(--glass-light-bg-color);
    color: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--glass-border-color);
    border-radius: 0.5rem !important;
    padding: 0.75rem 1.25rem;
    font-weight: 500;
    box-shadow: none;
}

.glass-accordion .accordion-button:not(.collapsed) {
    background: var(--glass-bg-color);
    color: white;
    box-shadow: none;
}

.glass-accordion .accordion-button:focus {
    box-shadow: none;
    border-color: rgba(255, 255, 255, 0.2);
}

.glass-accordion .accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.glass-accordion .accordion-body {
    background: var(--glass-bg-color);
    border: 1px solid var(--glass-border-color);
    border-top: none;
    border-radius: 0 0 0.5rem 0.5rem;
    padding: 1rem;
}

/* Card Shadows & Hover Effects */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

/* Image Cards */
.img-card {
    border-radius: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
}

.img-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.2);
}

.img-card-img {
    height: 220px;
    object-fit: cover;
}

.img-card-body {
    padding: 1.25rem;
    background: var(--glass-bg-color);
}

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

.spinner-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.loading-text {
    margin-top: 1rem;
    font-weight: 500;
    letter-spacing: 1px;
}

/* Modals */
.modal-glass .modal-content {
    background: var(--glass-bg-color);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border-color);
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.modal-glass .modal-header {
    border-bottom: 1px solid var(--glass-border-color);
}

.modal-glass .modal-footer {
    border-top: 1px solid var(--glass-border-color);
}

.modal-glass .btn-close {
    color: white;
    filter: invert(1) grayscale(100%) brightness(200%);
}

/* Additional UI Elements */

/* Glass input group for forms */
.glass-input-group {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
}

.glass-input-group:focus-within {
    box-shadow: 0 0 0 3px rgba(65, 88, 208, 0.15);
    border-color: rgba(255, 255, 255, 0.2);
}

.glass-input-group .input-group-text {
    padding: 0.75rem 1rem;
    background-color: transparent;
    border: none;
}

.glass-input-group .form-control {
    padding: 0.75rem 1rem;
    height: auto;
    background-color: transparent;
    border: none;
    color: white;
}

.glass-input-group .form-control::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

/* Glass inner card for form groups */
.glass-inner-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 0.5rem;
}

/* Form check styling */
.form-check-input {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.form-check-input:checked {
    background-color: rgba(65, 88, 208, 0.8);
    border-color: rgba(65, 88, 208, 0.8);
}

/* Glass table styling */
.glass-table {
    border-radius: 0.5rem;
    overflow: hidden;
}

.glass-table .table {
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.9);
}

.glass-table th {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
    padding: 0.75rem 1rem;
}

.glass-table td {
    border-color: rgba(255, 255, 255, 0.05);
    padding: 0.75rem 1rem;
    vertical-align: middle;
}

.glass-table tbody tr {
    transition: all 0.2s ease;
}

.glass-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.05);
}

/* Glass list group styling */
.glass-list .list-group-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.9);
    padding: 0.75rem 1rem;
    margin-bottom: 0.5rem;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
}

.glass-list .list-group-item:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(3px);
}

/* Colorful glass list items for orders */
.glass-item-blue {
    background: linear-gradient(135deg, rgba(26, 115, 232, 0.3) 0%, rgba(52, 169, 255, 0.35) 100%);
    border-left: 4px solid rgba(26, 115, 232, 0.9) !important;
    box-shadow: inset 0 0 15px rgba(26, 115, 232, 0.15);
}
.glass-item-blue:hover {
    background: linear-gradient(135deg, rgba(26, 115, 232, 0.35) 0%, rgba(52, 169, 255, 0.4) 100%);
}

.glass-item-purple {
    background: linear-gradient(135deg, rgba(103, 58, 183, 0.3) 0%, rgba(154, 103, 234, 0.35) 100%);
    border-left: 4px solid rgba(103, 58, 183, 0.9) !important;
    box-shadow: inset 0 0 15px rgba(103, 58, 183, 0.15);
}
.glass-item-purple:hover {
    background: linear-gradient(135deg, rgba(103, 58, 183, 0.35) 0%, rgba(154, 103, 234, 0.4) 100%);
}

.glass-item-green {
    background: linear-gradient(135deg, rgba(0, 200, 83, 0.3) 0%, rgba(105, 240, 174, 0.35) 100%);
    border-left: 4px solid rgba(0, 200, 83, 0.9) !important;
    box-shadow: inset 0 0 15px rgba(0, 200, 83, 0.15);
}
.glass-item-green:hover {
    background: linear-gradient(135deg, rgba(0, 200, 83, 0.35) 0%, rgba(105, 240, 174, 0.4) 100%);
}

.glass-item-red {
    background: linear-gradient(135deg, rgba(244, 67, 54, 0.3) 0%, rgba(255, 121, 97, 0.35) 100%);
    border-left: 4px solid rgba(244, 67, 54, 0.9) !important;
    box-shadow: inset 0 0 15px rgba(244, 67, 54, 0.15);
}
.glass-item-red:hover {
    background: linear-gradient(135deg, rgba(244, 67, 54, 0.35) 0%, rgba(255, 121, 97, 0.4) 100%);
}

.glass-item-gray {
    background: linear-gradient(135deg, rgba(97, 97, 97, 0.3) 0%, rgba(158, 158, 158, 0.35) 100%);
    border-left: 4px solid rgba(97, 97, 97, 0.9) !important;
    box-shadow: inset 0 0 15px rgba(97, 97, 97, 0.15);
}
.glass-item-gray:hover {
    background: linear-gradient(135deg, rgba(97, 97, 97, 0.35) 0%, rgba(158, 158, 158, 0.4) 100%);
}

/* Admin dashboard stats */
.glass-stats {
    background: var(--glass-light-bg-color);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.glass-stats:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

/* Accordion glass styling */
.accordion-glass .accordion-item {
    background: transparent;
    border: none;
}

.accordion-glass .accordion-button {
    background: rgba(255, 255, 255, 0.05);
    color: white;
}

.accordion-glass .accordion-button:not(.collapsed) {
    background: rgba(255, 255, 255, 0.1);
}

.accordion-glass .accordion-button:focus {
    box-shadow: none;
    border-color: rgba(255, 255, 255, 0.1);
}

.accordion-glass .accordion-button::after {
    filter: invert(1) grayscale(100%) brightness(200%);
}

/* Accent color controlled elements */
.accent-text {
    color: var(--accent-color) !important;
}

.accent-border {
    border-color: var(--accent-color-alpha-50) !important;
}

.accent-glow {
    box-shadow: 0 0 20px var(--accent-color-alpha-30) !important;
}

.accent-bg {
    background-color: var(--accent-color-alpha-20) !important;
}

/* Item names in thumbnails and cards */
.card-title,
.img-card .card-title,
.image-card .card-title {
    color: var(--accent-color);
    font-weight: 600;
}

/* Template specific styling for Minimal template */
.minimal-template .title,
.minimal-template .subtitle {
    color: var(--accent-color);
}

.minimal-template .glow-effect {
    box-shadow: 0 0 30px var(--accent-color-alpha-50);
}

/* Badge gradient styling */
.bg-gradient-success {
    background: linear-gradient(45deg, var(--success-gradient-start), var(--success-gradient-end));
}

.bg-gradient-danger {
    background: linear-gradient(45deg, var(--danger-gradient-start), var(--danger-gradient-end));
}

.bg-gradient-warning {
    background: linear-gradient(45deg, var(--warning-gradient-start), var(--warning-gradient-end));
}

.bg-gradient-info {
    background: linear-gradient(45deg, var(--info-gradient-start), var(--info-gradient-end));
}

.bg-gradient-secondary {
    background: linear-gradient(45deg, var(--secondary-gradient-start), var(--secondary-gradient-end));
}

/* Custom status color gradients for orders */
.bg-gradient-custom-blue {
    background: linear-gradient(45deg, #1E3A8A, #3B82F6);
}

.bg-gradient-custom-green {
    background: linear-gradient(45deg, #0D9488, #14B8A6);
}

.bg-gradient-custom-red {
    background: linear-gradient(45deg, #DC2626, #EF4444);
}

.bg-gradient-custom-purple {
    background: linear-gradient(45deg, #0EA5E9, #06B6D4);
}

.bg-gradient-custom-gray {
    background: linear-gradient(45deg, #475569, #64748B);
}

/* Button color variants */
.btn-glass-info {
    background: linear-gradient(45deg, rgba(14, 165, 233, 0.7), rgba(6, 182, 212, 0.7));
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: white;
    transition: all 0.3s ease;
}

.btn-glass-info:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.3);
    border-color: rgba(59, 130, 246, 0.5);
    color: white;
    background: linear-gradient(45deg, rgba(6, 182, 212, 0.8), rgba(14, 165, 233, 0.8));
}
.hero-glass-section {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.15) 0%, rgba(14, 165, 233, 0.1) 100%);
    border-radius: 0 0 2rem 2rem;
}

.hero-image-container {
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    transform: perspective(1000px) rotateY(-5deg);
    transition: all 0.5s ease;
}

.hero-image-container:hover {
    transform: perspective(1000px) rotateY(0deg);
}

.hero-decoration-1 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(30, 58, 138, 0.4) 0%, rgba(30, 58, 138, 0) 70%);
    border-radius: 50%;
    filter: blur(30px);
    z-index: 0;
}

.hero-decoration-2 {
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.4) 0%, rgba(14, 165, 233, 0) 70%);
    border-radius: 50%;
    filter: blur(25px);
    z-index: 0;
}

.ar-badge {
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.glass-icon-container {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.05) 100%);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    position: relative;
    border-radius: 50%;
    aspect-ratio: 1/1;
}

.glass-icon-container i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: block;
    line-height: 1;
}

.ai-decoration-1, .ai-decoration-2, .ai-decoration-3 {
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    filter: blur(20px);
    z-index: 1;
}

.ai-decoration-1 {
    top: -50px;
    left: 20%;
}

.ai-decoration-2 {
    bottom: -50px;
    right: 20%;
}

.ai-decoration-3 {
    top: 30%;
    right: 0;
}

.feature-icon-circle {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(65, 88, 208, 0.7) 0%, rgba(200, 80, 192, 0.7) 100%);
    border-radius: 50%;
    color: white;
    margin-bottom: 1rem;
}

.feature-icon-circle i {
    font-size: 2rem;
}

.btn-glass-light {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-glass-light:hover {
    background: rgba(255, 255, 255, 0.3);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.btn-glass-secondary {
    background: linear-gradient(45deg, rgba(90, 90, 100, 0.7), rgba(140, 140, 150, 0.7));
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    transition: all 0.3s ease;
}

.btn-glass-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.2);
    color: white;
}

.btn-glass-success {
    background: linear-gradient(45deg, rgba(6, 190, 182, 0.7), rgba(72, 177, 191, 0.7));
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    transition: all 0.3s ease;
}

.btn-glass-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.2);
    color: white;
}

.btn-glass-danger {
    background: linear-gradient(45deg, rgba(255, 65, 108, 0.7), rgba(255, 75, 43, 0.7));
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    transition: all 0.3s ease;
}

.btn-glass-danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.2);
    color: white;
}

.btn-glass-warning {
    background: linear-gradient(45deg, rgba(255, 190, 10, 0.7), rgba(255, 160, 0, 0.7));
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    transition: all 0.3s ease;
}

.btn-glass-warning:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.2);
    color: white;
}

/* Custom glass button variants for order status colors */
.btn-glass-blue {
    background: linear-gradient(45deg, rgba(26, 115, 232, 0.7), rgba(52, 169, 255, 0.7));
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    transition: all 0.3s ease;
}

.btn-glass-blue:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.2);
    color: white;
}

.btn-glass-purple {
    background: linear-gradient(45deg, rgba(103, 58, 183, 0.7), rgba(154, 103, 234, 0.7));
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    transition: all 0.3s ease;
}

.btn-glass-purple:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.2);
    color: white;
}

/* Glass price tag styles with status colors */
.glass-price-tag {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    min-width: 110px;
    transition: all 0.3s ease;
}

.glass-price-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.glass-price-tag .price-value {
    font-weight: 700;
    letter-spacing: 0.5px;
}

.glass-price-tag .item-count {
    opacity: 0.8;
}

/* Status-specific price tag styles */
.glass-price-blue {
    background: linear-gradient(135deg, rgba(26, 115, 232, 0.5) 0%, rgba(52, 169, 255, 0.5) 100%);
    border-color: rgba(26, 115, 232, 0.7);
    box-shadow: 0 4px 12px rgba(26, 115, 232, 0.3);
}
.glass-price-blue .price-value {
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}
.glass-price-blue .item-count {
    color: rgba(255, 255, 255, 0.9);
}

.glass-price-purple {
    background: linear-gradient(135deg, rgba(103, 58, 183, 0.5) 0%, rgba(154, 103, 234, 0.5) 100%);
    border-color: rgba(103, 58, 183, 0.7);
    box-shadow: 0 4px 12px rgba(103, 58, 183, 0.3);
}
.glass-price-purple .price-value {
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}
.glass-price-purple .item-count {
    color: rgba(255, 255, 255, 0.9);
}

.glass-price-green {
    background: linear-gradient(135deg, rgba(0, 200, 83, 0.5) 0%, rgba(105, 240, 174, 0.5) 100%);
    border-color: rgba(0, 200, 83, 0.7);
    box-shadow: 0 4px 12px rgba(0, 200, 83, 0.3);
}
.glass-price-green .price-value {
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}
.glass-price-green .item-count {
    color: rgba(255, 255, 255, 0.9);
}

.glass-price-red {
    background: linear-gradient(135deg, rgba(244, 67, 54, 0.5) 0%, rgba(255, 121, 97, 0.5) 100%);
    border-color: rgba(244, 67, 54, 0.7);
    box-shadow: 0 4px 12px rgba(244, 67, 54, 0.3);
}
.glass-price-red .price-value {
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}
.glass-price-red .item-count {
    color: rgba(255, 255, 255, 0.9);
}

.glass-price-gray {
    background: linear-gradient(135deg, rgba(97, 97, 97, 0.5) 0%, rgba(158, 158, 158, 0.5) 100%);
    border-color: rgba(97, 97, 97, 0.7);
    box-shadow: 0 4px 12px rgba(97, 97, 97, 0.3);
}
.glass-price-gray .price-value {
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}
.glass-price-gray .item-count {
    color: rgba(255, 255, 255, 0.9);
}

.gradient-text.gradient-danger {
    background: linear-gradient(45deg, #ff416c, #ff4b2b);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.border-danger {
    border-color: rgba(255, 65, 108, 0.5) !important;
}

.bg-glass {
    background: var(--glass-bg-color);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Device Compatibility Section */
.device-icon-container {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
}

.device-icon-container i {
    font-size: 1.75rem;
}

.device-visual-container {
    min-height: 300px;
    position: relative;
}

.device-decoration-1, .device-decoration-2 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    filter: blur(25px);
}

.device-decoration-1 {
    top: 10%;
    left: 10%;
}

.device-decoration-2 {
    bottom: 10%;
    right: 10%;
}

.phone-mockup {
    transform: perspective(1000px) rotateY(15deg) rotateX(5deg);
    transition: all 0.5s ease;
}

.phone-mockup:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

/* Image Sources Section */
.source-icon-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    padding: 6px;
    z-index: 1;
    margin-top: -40px; /* Adjust vertical position */
}

.source-icon {
    width: 68px;
    height: 68px;
    background: rgba(0, 0, 0, 0.3);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Call to Action Section */
.cta-decoration-1, .cta-decoration-2 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    filter: blur(30px);
}

.cta-decoration-1 {
    top: -50px;
    left: -50px;
}

.cta-decoration-2 {
    bottom: -50px;
    right: -50px;
}

.floating-element {
    animation: floating 4s ease-in-out infinite;
}

@keyframes floating {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

.image-frame {
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.ar-icon {
    width: 36px;
    height: 36px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.ar-icon i {
    font-size: 1.25rem;
}

.ar-icon-large {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    position: relative;
}

.ar-visual-container {
    max-width: 400px;
    margin: 0 auto;
}

.ar-effect {
    width: 50px;
    height: 50px;
}

.effect-ripple {
    position: absolute;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    animation: ripple 2s linear infinite;
}

.effect-ripple:before, .effect-ripple:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    animation: ripple 2s linear infinite;
}

.effect-ripple:before {
    animation-delay: 0.5s;
}

.effect-ripple:after {
    animation-delay: 1s;
}

@keyframes ripple {
    0% {
        transform: scale(0.5);
        opacity: 1;
    }
    100% {
        transform: scale(2);
        opacity: 0;
    }
}

/* Gallery Page Styles */
.gallery-header, .upload-header {
    position: relative;
    background: linear-gradient(135deg, rgba(65, 88, 208, 0.05) 0%, rgba(200, 80, 192, 0.05) 100%);
}

/* Upload Page Styles */
.upload-decoration-container {
    position: relative;
    width: 120px;
    height: 120px;
}

.upload-decoration-1, .upload-decoration-2 {
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(65, 88, 208, 0.3) 0%, rgba(65, 88, 208, 0) 70%);
    border-radius: 50%;
    filter: blur(20px);
}

.upload-decoration-1 {
    top: -30px;
    left: -30px;
}

.upload-decoration-2 {
    bottom: -30px;
    right: -30px;
    background: radial-gradient(circle, rgba(200, 80, 192, 0.3) 0%, rgba(200, 80, 192, 0) 70%);
}

.upload-dropzone {
    transition: all 0.3s ease;
    border: 2px dashed rgba(255, 255, 255, 0.2);
    min-height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(65, 88, 208, 0.05) 0%, rgba(200, 80, 192, 0.05) 100%);
}

.upload-dropzone:hover {
    border-color: rgba(255, 255, 255, 0.5);
    background: linear-gradient(135deg, rgba(65, 88, 208, 0.1) 0%, rgba(200, 80, 192, 0.1) 100%);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.preview-image {
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.preview-container {
    position: relative;
}

.preview-container .img-fluid {
    max-width: 90%;
    height: auto;
}

.preview-container::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(65, 88, 208, 0.2) 0%, rgba(65, 88, 208, 0) 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    filter: blur(25px);
    z-index: -1;
}

.dropzone-content {
    width: 100%;
    z-index: 1;
}

.inset-0 {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.form-control-glass, .form-select-glass {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
}

.form-control-glass:focus, .form-select-glass:focus {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    color: white;
    box-shadow: 0 0 0 0.25rem rgba(255, 255, 255, 0.1);
}

.form-floating > .form-control-glass::placeholder {
    color: transparent;
}

.form-floating > .form-control-glass:focus, 
.form-floating > .form-control-glass:not(:placeholder-shown) {
    padding-top: 1.625rem;
    padding-bottom: 0.625rem;
}

.form-floating > .form-control-glass:focus ~ label, 
.form-floating > .form-control-glass:not(:placeholder-shown) ~ label {
    opacity: 0.65;
    transform: scale(0.85) translateY(-0.5rem) translateX(0.15rem);
}

.form-floating > label {
    color: rgba(255, 255, 255, 0.6);
}

.guideline-icon {
    width: 32px;
    height: 32px;
}

.guideline-icon i {
    font-size: 1.25rem;
}

.filter-container button.active {
    background: var(--glass-light-bg-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.form-select-glass {
    background-color: var(--glass-bg-color);
    border: 1px solid var(--glass-border-color);
    color: white;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
}

.img-hover-zoom {
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.img-hover-zoom img {
    transition: transform 0.6s ease;
}

.img-card:hover .img-hover-zoom img {
    transform: scale(1.1);
}

.img-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.img-card:hover .img-overlay {
    opacity: 1;
}

.empty-state {
    padding: 3rem 1rem;
    text-align: center;
}

/* Pagination Styles */
.pagination-modern {
    gap: 0.5rem;
}

.pagination-modern .page-link {
    background: var(--glass-light-bg-color);
    border: 1px solid var(--glass-border-color);
    color: white;
    margin: 0;
    transition: all 0.3s ease;
}

.pagination-modern .page-item.active .page-link {
    background: linear-gradient(45deg, var(--primary-gradient-start), var(--primary-gradient-end));
    border-color: transparent;
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.pagination-modern .page-item:not(.active) .page-link:hover {
    background: var(--glass-highlight);
    transform: translateY(-2px);
}

.pagination-modern .page-item.disabled .page-link {
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.5);
    border-color: rgba(255, 255, 255, 0.05);
}

/* Media Queries */
@media (max-width: 767.98px) {
    .navbar-nav .nav-link {
        margin: 0.25rem 0;
    }
    
    .source-icon-wrapper {
        width: 70px;
        height: 70px;
        margin-top: -35px; /* Adjust for mobile */
    }
    
    .source-icon {
        width: 58px;
        height: 58px;
    }
    
    /* Adjust card body padding for icons on mobile */
    .glass-card .card-body.pt-5.mt-5 {
        padding-top: 3rem !important;
        margin-top: 3rem !important;
    }
    
    .feature-icon-circle {
        width: 60px;
        height: 60px;
    }
    
    .filter-container {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 0.5rem;
        -webkit-overflow-scrolling: touch;
    }
    
    .filter-container::-webkit-scrollbar {
        height: 4px;
    }
    
    .filter-container::-webkit-scrollbar-thumb {
        background: rgba(255, 255, 255, 0.2);
        border-radius: 4px;
    }
}

/* Global Icon Container Styling - Apply to ONLY specialized icon containers */
[class*="-icon"],
[class*="icon-"],
.rounded-circle,
.circle-icon,
.feature-icon-circle,
.ar-icon,
.guideline-icon,
.device-icon-container,
.social-icon,
.glass-icon-container,
/* Additional selectors to catch icon containers */
.icon-wrapper,
.icon-container,
[class*="circle"],
/* Universal icon centering utility class */
.center-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* Global Icon Styling - Apply to specialized icon containers ONLY */
[class*="-icon"] i,
[class*="icon-"] i,
.rounded-circle i,
.circle-icon i,
.feature-icon-circle i,
.ar-icon i,
.guideline-icon i,
.device-icon-container i,
.social-icon i,
.glass-icon-container i,
/* Additional selectors to catch other icons */
.icon-wrapper i,
.icon-container i,
[class*="circle"] i,
/* NOT applying to badges anymore */
.center-icon i {
    display: block;
    text-align: center;
    line-height: 1;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Badge styling - properly handle inline icons */
.badge i {
    display: inline-block;
    text-align: center;
    line-height: 1;
    vertical-align: middle;
    margin-right: 0.25rem;
}

/* Button styling for icons - separate from other icon containers to prevent overlap */
.btn, 
[class*="btn-glass"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn i, 
[class*="btn-glass"] i {
    display: inline-block;
    position: relative;
    top: 0;
    left: 0;
    transform: none;
    margin-right: 0.5rem;
    line-height: 1;
}

/* Fix for buttons that have only icons */
.btn.btn-icon i, 
[class*="btn-glass"].btn-icon i {
    margin-right: 0;
}

/* FontAwesome icons - only style when not in buttons */
.btn:not(.contains-icon) .fas, 
.btn:not(.contains-icon) .fab, 
.btn:not(.contains-icon) .far,
[class*="btn-glass"]:not(.contains-icon) .fas,
[class*="btn-glass"]:not(.contains-icon) .fab,
[class*="btn-glass"]:not(.contains-icon) .far {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    display: inline-block;
}

/* Hover effects */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Blur utilities */
.blur-sm {
    filter: blur(8px);
}

.blur-md {
    filter: blur(16px);
}

.blur-lg {
    filter: blur(24px);
}

/* Glass morphism */
.glass-morphism {
    background: var(--glass-bg-color);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border-color);
    box-shadow: var(--glass-shadow);
}

/* Badge with glass effect */
.bg-glass-primary {
    background: rgba(65, 88, 208, 0.3);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid rgba(65, 88, 208, 0.1);
}

.bg-glass-secondary {
    background: rgba(200, 80, 192, 0.3);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid rgba(200, 80, 192, 0.1);
}

.bg-glass-success {
    background: rgba(46, 213, 115, 0.3);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid rgba(46, 213, 115, 0.1);
}

/* Z-index utilities */
.z-index-1 {
    z-index: 1;
}

.z-index-2 {
    z-index: 2;
}

.z-index-3 {
    z-index: 3;
}

/* Image fit utilities */
.img-fit-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.img-fit-contain {
    width: 100%;
    height: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
    padding: 10px;
}

/* Gallery-specific card styles */
.gallery-image-container {
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.img-card {
    transition: all 0.3s ease;
}

.img-card:hover .gallery-image-container {
    background-color: rgba(0,0,0,0.1);
}

/* AI Image Generator Styles */
.style-card, .orientation-card {
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.style-card.selected, .orientation-card.selected, 
.form-check input:checked ~ label .orientation-card {
    border-color: var(--primary-gradient-end);
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.15);
}

/* Scale transformations */
.scale-110 {
    transform: scale(1.1) !important;
}

.scale-120 {
    transform: scale(1.2) !important;
}

.scale-150 {
    transform: scale(1.5) !important;
}

/* Brighter primary button for emphasis */
.btn-glass-primary-bright {
    background: linear-gradient(45deg, rgba(65, 88, 208, 0.85), rgba(200, 80, 192, 0.85));
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.btn-glass-primary-bright:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.3);
}

/* View toggle styles */
.card-view, .list-view {
    transition: all 0.3s ease-in-out;
}

.table-glass {
    background-color: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.table-nowrap th, 
.table-nowrap td {
    white-space: nowrap;
}

/* Responsive scrollable container with glass effect */
.glass-scroll {
    background-color: var(--glass-bg-color);
    border-radius: 8px;
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.3) transparent;
}

.glass-scroll::-webkit-scrollbar {
    height: 6px;
    background-color: transparent;
}

.glass-scroll::-webkit-scrollbar-thumb {
    border-radius: 3px;
    background-color: rgba(255, 255, 255, 0.3);
}

.glass-scroll::-webkit-scrollbar-thumb:hover {
    background-color: rgba(255, 255, 255, 0.5);
}

/* Mobile list card styling */
.mobile-list-card {
    background: rgba(20, 20, 30, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    transition: all 0.3s ease;
    overflow: hidden;
    margin-bottom: 16px !important;
}

.mobile-list-card:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.15);
}

/* View toggle buttons enhancement */
#cardViewBtn, #listViewBtn {
    font-weight: 500;
    padding: 10px 16px;
    transition: all 0.3s ease;
}

#cardViewBtn:hover, #listViewBtn:hover {
    transform: translateY(-2px);
}

#cardViewBtn.active, #listViewBtn.active {
    font-weight: 600;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* Responsive utilities for view button icons */
@media (max-width: 768px) {
    .orders-table {
        font-size: 0.9rem;
    }
    
    .orders-table .btn-group-sm > .btn {
        padding: 0.2rem 0.4rem;
        font-size: 0.75rem;
    }
    
    .mobile-list-card .badge {
        font-size: 0.7rem;
    }
    
    #cardViewBtn, #listViewBtn {
        font-size: 1.1rem;
        padding: 12px 16px;
    }
    
    .btn-group-lg > .btn {
        border-radius: 0.5rem;
    }
}

/* Pulsing animation for buttons (view in space) */
.pulsing-button {
    animation: button-pulse 2s infinite;
    position: relative;
    overflow: hidden;
}

@keyframes button-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 123, 255, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(0, 123, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 123, 255, 0);
    }
}

/* Glass highlight for pulsing buttons */
.btn-glass-highlight {
    background-color: rgba(13, 110, 253, 0.9) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    transition: all 0.3s ease-in-out;
}

.btn-glass-highlight:hover {
    background-color: rgba(13, 110, 253, 1) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

/* Highlight pulse animation for newly created elements */
.highlight-pulse {
    /* Animation disabled */
    animation: none;
}

@keyframes highlight-pulse-animation {
    0% {
        box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.7);
    }
    50% {
        box-shadow: 0 0 20px 10px rgba(40, 167, 69, 0.7);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(40, 167, 69, 0);
    }
}

/* Gallery card overlay for index page */
.overlay-card-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    padding: 1rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.glass-card:hover .overlay-card-info {
    opacity: 1;
    transform: translateY(0);
}

/* Gradient overlays */
.bg-gradient-overlay {
    background: linear-gradient(135deg, rgba(65, 88, 208, 0.15) 0%, rgba(200, 80, 192, 0.15) 100%);
    pointer-events: none;
}

/* Floating badges */
.floating-badge {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}