/* ==================================================
   ACCOUNT PROFILE - MANAGE MY ACCOUNT
   Visual improvements for user account management
   ================================================== */

/* Profile Header Improvements */
.profile-header-enhanced {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.15);
}

/* Avatar Container Improvements */
.avatar-container-enhanced {
    position: relative;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.avatar-container-enhanced .avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 5px solid #fff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    object-fit: cover;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.avatar-container-enhanced:hover .avatar {
    transform: scale(1.05);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.avatar-container-enhanced .avatar-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    cursor: pointer;
}

.avatar-container-enhanced:hover .avatar-overlay {
    opacity: 1;
}

.avatar-container-enhanced .avatar-overlay i {
    color: #fff;
    font-size: 1.5rem;
}

/* Profile Photo Update Improvements */
.update-photo {
    position: relative;
    display: inline-block;
}

.update-photo .layer-black {
    position: absolute;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.6);
    opacity: 0;
    transition: opacity 0.3s ease;
    cursor: pointer;
}

.update-photo:hover .layer-black {
    opacity: 1;
}

.update-photo .d-flex.align-items-center {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
    cursor: pointer;
}

.update-photo:hover .d-flex.align-items-center {
    opacity: 1;
}

.update-photo .handle {
    color: #fff;
    font-size: 0.85rem;
    text-decoration: none;
}

.update-photo .handle i {
    display: block;
    font-size: 1.8rem;
    margin-bottom: 0.25rem;
}

/* Card Improvements */
.card-enhanced {
    border: none;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.card-enhanced:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.card-enhanced .card-body {
    padding: 2rem;
}

/* Form Improvements */
.form-label-group-enhanced {
    position: relative;
    margin-bottom: 1.5rem;
}

.form-label-group-enhanced input,
.form-label-group-enhanced select,
.form-label-group-enhanced textarea {
    height: 3.5rem;
    border-radius: 12px;
    border: 2px solid #e2e8f0;
    padding: 1rem 1rem;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background: #fff;
}

.form-label-group-enhanced input:focus,
.form-label-group-enhanced select:focus,
.form-label-group-enhanced textarea:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    outline: none;
}

.form-label-group-enhanced label {
    position: absolute;
    top: 50%;
    left: 1rem;
    transform: translateY(-50%);
    background: #fff;
    padding: 0 0.5rem;
    color: #718096;
    transition: all 0.3s ease;
    pointer-events: none;
}

.form-label-group-enhanced input:focus ~ label,
.form-label-group-enhanced input:not(:placeholder-shown) ~ label,
.form-label-group-enhanced select:focus ~ label,
.form-label-group-enhanced textarea:focus ~ label {
    top: 0;
    font-size: 0.75rem;
    color: #667eea;
    font-weight: 600;
}

/* Button Improvements */
.btn-enhanced {
    height: 3.5rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-enhanced::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-enhanced:hover::before {
    width: 300px;
    height: 300px;
}

.btn-green-enhanced {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    color: #fff;
}

.btn-green-enhanced:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

/* Menu Sidebar Improvements */
.attributes-menu-wrap-enhanced {
    background: #fff;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.attributes-menu-wrap-enhanced ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.attributes-menu-wrap-enhanced li {
    margin-bottom: 0.5rem;
}

.attributes-menu-wrap-enhanced li:last-child {
    margin-bottom: 0;
}

.attributes-menu-wrap-enhanced a {
    display: flex;
    align-items: center;
    padding: 1rem 1.25rem;
    color: #4a5568;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.attributes-menu-wrap-enhanced a:hover {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    color: #667eea;
    transform: translateX(5px);
}

.attributes-menu-wrap-enhanced a.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.attributes-menu-wrap-enhanced a i {
    margin-right: 0.75rem;
    font-size: 1.25rem;
    width: 24px;
    text-align: center;
}

/* Icon Headers */
.with-icon-account::before {
    content: '\f007';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-right: 0.75rem;
    color: #667eea;
    font-size: 1.25rem;
}

/* Profile Info Display */
.profile-info-display {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.profile-info-display h5 {
    color: #2d3748;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.profile-info-display p {
    color: #718096;
    margin-bottom: 0.25rem;
    font-size: 0.95rem;
}

/* Alert Improvements */
.alert-enhanced {
    border-radius: 12px;
    border: none;
    padding: 1rem 1.5rem;
    margin-bottom: 1.5rem;
}

.alert-success-enhanced {
    background: linear-gradient(135deg, rgba(72, 187, 120, 0.1) 0%, rgba(56, 161, 105, 0.1) 100%);
    color: #2f855a;
    border-left: 4px solid #48bb78;
}

.alert-warning-enhanced {
    background: linear-gradient(135deg, rgba(237, 137, 54, 0.1) 0%, rgba(221, 107, 32, 0.1) 100%);
    color: #c05621;
    border-left: 4px solid #ed8936;
}

.alert-danger-enhanced {
    background: linear-gradient(135deg, rgba(245, 101, 101, 0.1) 0%, rgba(229, 62, 62, 0.1) 100%);
    color: #c53030;
    border-left: 4px solid #f56565;
}

/* Loading States */
.loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    z-index: 10;
}

/* Notifications List Improvements */
.notification-dropdown-enhanced {
    background: #fff;
    border-radius: 16px;
}

.notification-dropdown-enhanced ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.notification-dropdown-enhanced li {
    border-bottom: 1px solid #e2e8f0;
    transition: background 0.2s ease;
}

.notification-dropdown-enhanced li:last-child {
    border-bottom: none;
}

.notification-dropdown-enhanced li a {
    display: block;
    padding: 1.25rem;
    text-decoration: none;
    color: #4a5568;
}

.notification-dropdown-enhanced li:hover {
    background: rgba(102, 126, 234, 0.05);
}

.notification-dropdown-enhanced .notify-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
}

.notification-dropdown-enhanced .notify-icon i {
    color: #667eea;
    font-size: 1.25rem;
}

.notification-dropdown-enhanced .text-heading {
    color: #2d3748;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.notification-dropdown-enhanced .dropdown-text-light {
    color: #a0aec0;
    font-size: 0.875rem;
}

/* Delete Account Section */
.delete-account-section {
    background: linear-gradient(135deg, rgba(245, 101, 101, 0.05) 0%, rgba(229, 62, 62, 0.05) 100%);
    border-radius: 12px;
    padding: 1.5rem;
    border: 2px solid rgba(245, 101, 101, 0.2);
    margin-top: 2rem;
}

.delete-account-section h6 {
    color: #c53030;
    font-weight: 700;
}

.delete-account-section p {
    color: #718096;
}

.delete-account-section .text-green {
    color: #c53030 !important;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.delete-account-section .text-green:hover {
    color: #9b2c2c !important;
    text-decoration: underline;
}

/* Request Archive Section */
.request-archive-section {
    background: linear-gradient(135deg, rgba(66, 153, 225, 0.05) 0%, rgba(49, 130, 206, 0.05) 100%);
    border-radius: 12px;
    padding: 1.5rem;
    border: 2px solid rgba(66, 153, 225, 0.2);
    margin-bottom: 1.5rem;
}

.request-archive-section h6 {
    color: #2c5282;
    font-weight: 700;
}

.request-archive-section p {
    color: #718096;
}

/* Mobile Menu Profile */
.profile-menu-mobile {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 1rem;
}

/* Avatar Upload Improvements */
.avatar-uploader .avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #fff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.avatar-uploader .avatar-uploader-icon {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #667eea;
    border: 3px dashed #667eea;
    cursor: pointer;
    transition: all 0.3s ease;
}

.avatar-uploader .avatar-uploader-icon:hover {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.2) 0%, rgba(118, 75, 162, 0.2) 100%);
    transform: scale(1.05);
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .card-enhanced .card-body {
        padding: 1.5rem;
    }
    
    .form-label-group-enhanced input,
    .form-label-group-enhanced select,
    .form-label-group-enhanced textarea {
        height: 3rem;
    }
    
    .btn-enhanced {
        height: 3rem;
    }
    
    .profile-info-display {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .profile-header-enhanced {
        padding: 1.5rem;
    }
    
    .card-enhanced .card-body {
        padding: 1rem;
    }
    
    .avatar-container-enhanced .avatar,
    .avatar-container-enhanced .avatar-overlay {
        width: 100px;
        height: 100px;
    }
}

/* Animation Classes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.slide-in-right {
    animation: slideInRight 0.6s ease-out;
}

/* Skeleton Loading Improvements */
.skeleton-enhanced {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Additional spacing utilities */
.mb-custom {
    margin-bottom: 1.5rem;
}

.mt-custom {
    margin-top: 1.5rem;
}

.p-custom {
    padding: 1.5rem;
}

/* ==================================================
   ENHANCED UX IMPROVEMENTS - SPECIFIC CARDS
   ================================================== */

/* Grey Background Cards Improvement */
.grey-bg {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.03) 0%, rgba(118, 75, 162, 0.03) 100%) !important;
    border: 1px solid rgba(102, 126, 234, 0.1);
}

/* Header Icons Enhancement */
.header_icon._icons {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.3);
    position: relative;
    transition: all 0.3s ease;
}

.header_icon._icons:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 12px 32px rgba(102, 126, 234, 0.4);
}

.header_icon._icons::before {
    font-family: 'Material Design Iconic Font', 'Font Awesome 5 Free', 'Font Awesome 5 Pro';
    font-weight: 900;
    font-size: 2.5rem;
    color: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Specific Icon Colors and Icons */
.header_icon._icons.location::before {
    content: '\f041';
    font-family: 'Font Awesome 5 Free';
}

.header_icon._icons.location {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.header_icon._icons.bag::before {
    content: '\f290';
    font-family: 'Font Awesome 5 Free';
}

.header_icon._icons.bag {
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
}

.header_icon._icons.digital-wallet::before {
    content: '\f555';
    font-family: 'Font Awesome 5 Free';
}

.header_icon._icons.digital-wallet {
    background: linear-gradient(135deg, #ed8936 0%, #dd6b20 100%);
}

.header_icon._icons.favourite::before {
    content: '\f004';
    font-family: 'Font Awesome 5 Free';
}

.header_icon._icons.favourite {
    background: linear-gradient(135deg, #f56565 0%, #e53e3e 100%);
}

.header_icon._icons.points::before {
    content: '\f005';
    font-family: 'Font Awesome 5 Free';
}

.header_icon._icons.points {
    background: linear-gradient(135deg, #ecc94b 0%, #d69e2e 100%);
}

.header_icon._icons.credit_card::before {
    content: '\f09d';
    font-family: 'Font Awesome 5 Free';
}

.header_icon._icons.credit_card {
    background: linear-gradient(135deg, #4299e1 0%, #3182ce 100%);
}

/* Address Cards Enhancement */
.address-slot {
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    transition: all 0.3s ease;
    background: #fff;
    position: relative;
    overflow: hidden;
}

.address-slot::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.address-slot:hover::before {
    transform: scaleX(1);
}

.address-slot:hover {
    border-color: #667eea;
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.15);
    transform: translateY(-4px);
}

.address-slot h5 {
    color: #2d3748;
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.address-slot .module.truncate-overflow p {
    color: #4a5568;
    line-height: 1.6;
    font-size: 0.95rem;
}

.address-slot .btn.normal.small {
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    background: transparent;
    border: 1px solid #e2e8f0;
    color: #4a5568;
}

.address-slot .btn.normal.small:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border-color: transparent;
    transform: translateY(-2px);
}

/* Empty State Cards */
.card .grey-bg {
    padding: 2rem !important;
    border-radius: 16px;
}

/* Order Row Enhancement */
.kmrs-row {
    background: #fff;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    padding: 1.5rem !important;
    transition: all 0.3s ease;
    margin-bottom: 1rem !important;
}

.kmrs-row:hover {
    border-color: #667eea;
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.12);
    transform: translateY(-2px);
}

.kmrs-row img.img-60 {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border: 3px solid #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.kmrs-row h6 {
    color: #2d3748;
    font-weight: 700;
}

.kmrs-row .badge {
    border-radius: 8px;
    padding: 0.4rem 0.8rem;
    font-weight: 600;
    font-size: 0.75rem;
}

.kmrs-row .badge-light {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    color: #667eea;
    border: 1px solid rgba(102, 126, 234, 0.2);
}

/* List Items Enhancement (Favorites) */
.list-items {
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
    border-radius: 16px;
    overflow: hidden;
}

.list-items:hover {
    border-color: #667eea;
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.15);
    transform: translateY(-4px);
}

.list-items .el-image {
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.list-items:hover .el-image {
    transform: scale(1.05);
}

.list-items h5 {
    color: #2d3748;
    font-weight: 700;
    font-size: 1.1rem;
    margin-top: 0.75rem;
}

.list-items h6 {
    color: #718096;
    font-size: 0.875rem;
    font-weight: 600;
}

.list-items .a-12 {
    color: #a0aec0;
    font-size: 0.875rem;
}

.list-items .bold {
    font-weight: 700;
    color: #4a5568;
}

/* Payment Cards Enhancement */
.card-listing {
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.card-listing::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.card-listing:hover::before {
    transform: scaleX(1);
}

.card-listing:hover {
    border-color: #667eea;
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.15);
    transform: translateY(-4px);
}

/* Search Input Enhancement */
.order-search-wrap .search-geocomplete {
    position: relative;
}

.order-search-wrap .form-control {
    height: 3rem;
    border-radius: 12px;
    border: 2px solid #e2e8f0;
    padding-left: 3rem;
    transition: all 0.3s ease;
}

.order-search-wrap .form-control:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.order-search-wrap .search_placeholder {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #a0aec0;
}

/* Gradient Yellow Background Alternative */
.gradient-yellow-bgx {
    background: linear-gradient(135deg, rgba(236, 201, 75, 0.1) 0%, rgba(214, 158, 46, 0.1) 100%) !important;
    border: 1px solid rgba(236, 201, 75, 0.2);
}

/* Fixed Height Cards */
.fixed-height {
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Make Grey Effect for Inactive Items */
.make-grey {
    opacity: 0.6;
    filter: grayscale(50%);
}

.make-grey .layer-grey {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 12px;
}

/* Dropdown Actions Enhancement */
.dropdown-actions {
    border-radius: 12px;
    border: none;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.dropdown-actions .dropdown-item {
    padding: 0.75rem 1.25rem;
    transition: all 0.2s ease;
    border-radius: 8px;
    margin: 0.25rem 0.5rem;
}

.dropdown-actions .dropdown-item:hover {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    color: #667eea;
    transform: translateX(4px);
}

.dropdown-actions .dropdown-item i {
    color: #667eea;
}

/* Tabs Enhancement */
.el-tabs {
    margin-top: 1.5rem;
}

.el-tabs__item {
    font-weight: 600;
    color: #718096;
    transition: all 0.3s ease;
    padding: 1rem 1.5rem;
}

.el-tabs__item:hover {
    color: #667eea;
}

.el-tabs__item.is-active {
    color: #667eea;
}

.el-tabs__active-bar {
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    height: 3px;
}

/* Skeleton Improvements */
.el-skeleton {
    padding: 1rem 0;
}

/* Rounded Button Icon */
.rounded-button-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.rounded-button-icon:hover {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

/* Text Improvements */
h5 {
    color: #2d3748;
    font-weight: 700;
}

.text-grey {
    color: #718096 !important;
}

.text-dark {
    color: #2d3748 !important;
}

/* Stats Display Enhancement */
.grey-bg h5 {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.25rem;
}

.grey-bg p {
    color: #4a5568;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
}

/* Animated Numbers Enhancement */
[v-cloak] h5 {
    min-height: 2.5rem;
}

/* Card Header in Grey Background */
.card .grey-bg .row {
    align-items: center;
}

.card .grey-bg h5:not(.m-0) {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.card .grey-bg p {
    font-size: 1rem;
    text-transform: none;
    letter-spacing: normal;
}

/* Badge Enhancements */
.badge {
    font-weight: 600;
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
}

/* Save Store Component Enhancement */
component-save-store,
[is="component-save-store"] {
    display: inline-block;
}

component-save-store button,
component-save-store a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(245, 101, 101, 0.1) 0%, rgba(229, 62, 62, 0.1) 100%);
    border: 2px solid rgba(245, 101, 101, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
}

component-save-store button:hover,
component-save-store a:hover {
    background: linear-gradient(135deg, #f56565 0%, #e53e3e 100%);
    border-color: transparent;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(245, 101, 101, 0.4);
}

component-save-store button i,
component-save-store a i {
    color: #e53e3e;
    font-size: 1.25rem;
    transition: color 0.3s ease;
}

component-save-store button:hover i,
component-save-store a:hover i {
    color: #fff;
}

/* Active/Saved State */
component-save-store button.active,
component-save-store a.active {
    background: linear-gradient(135deg, #f56565 0%, #e53e3e 100%);
    border-color: transparent;
}

component-save-store button.active i,
component-save-store a.active i {
    color: #fff;
}

/* Truncate Text Improvements */
.text-truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.truncate-overflow {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    line-height: 1.5;
    max-height: 4.5em;
}

/* Address Button Specific Styles */
.btn-edit-address {
    background: linear-gradient(135deg, rgba(66, 153, 225, 0.1) 0%, rgba(49, 130, 206, 0.1) 100%) !important;
    color: #3182ce !important;
    border: 1px solid rgba(66, 153, 225, 0.3) !important;
}

.btn-edit-address:hover {
    background: linear-gradient(135deg, #4299e1 0%, #3182ce 100%) !important;
    color: #fff !important;
    border-color: transparent !important;
}

.btn-delete-address {
    background: linear-gradient(135deg, rgba(245, 101, 101, 0.1) 0%, rgba(229, 62, 62, 0.1) 100%) !important;
    color: #e53e3e !important;
    border: 1px solid rgba(245, 101, 101, 0.3) !important;
}

.btn-delete-address:hover {
    background: linear-gradient(135deg, #f56565 0%, #e53e3e 100%) !important;
    color: #fff !important;
    border-color: transparent !important;
}

/* Add New Address Button Enhancement */
.btn-green[href*="showNewAddress"],
.btn-green[onclick*="showNewAddress"] {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

/* Order Now Button Special Style */
.btn-green[href*="restaurants"] {
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
    border: none;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(72, 187, 120, 0.3);
}

.btn-green[href*="restaurants"]:hover {
    background: linear-gradient(135deg, #38a169 0%, #2f855a 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(72, 187, 120, 0.4);
}

/* Responsive Improvements */
@media (max-width: 992px) {
    .header_icon._icons {
        width: 60px;
        height: 60px;
    }
    
    .header_icon._icons::before {
        font-size: 2rem;
    }
    
    .kmrs-row {
        padding: 1rem !important;
    }
}

@media (max-width: 768px) {
    .address-slot,
    .card-listing,
    .list-items {
        margin-bottom: 1rem;
    }
    
    .order-search-wrap {
        margin-bottom: 1rem;
    }
    
    .btn-edit-address,
    .btn-delete-address {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
}

/* ==================================================
   MICRO-INTERACTIONS AND POLISH
   ================================================== */

/* Icon Pulse Animation */
@keyframes iconPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.header_icon._icons {
    animation: iconPulse 3s ease-in-out infinite;
}

/* Smooth Image Loading */
.el-image img {
    transition: opacity 0.3s ease;
}

/* Button Ripple Effect Enhancement */
.btn:active {
    transform: scale(0.98);
}

/* Link Hover Effects */
a:not(.btn) {
    transition: color 0.2s ease;
}

/* Card Shadow Depth on Focus */
.card:focus-within {
    box-shadow: 0 12px 40px rgba(102, 126, 234, 0.2);
}

/* Smooth Scroll Behavior */
html {
    scroll-behavior: smooth;
}

/* Selection Styling */
::selection {
    background: rgba(102, 126, 234, 0.3);
    color: #2d3748;
}

::-moz-selection {
    background: rgba(102, 126, 234, 0.3);
    color: #2d3748;
}

/* Focus Visible for Accessibility */
*:focus-visible {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}

/* Smooth Opacity Transitions */
[v-cloak] {
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Image Hover Zoom */
.card img {
    transition: transform 0.4s ease;
}

.card:hover img {
    transform: scale(1.02);
}

/* Text Gradient on Hover for Links */
.card a h5:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Smooth Border Transitions */
input, select, textarea, .card {
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Enhanced Box Shadow for Interactive Elements */
.btn, .card, .badge, .alert {
    will-change: transform, box-shadow;
}

/* Prevent Layout Shift */
.img-60, .img-50, .img-40, .img-120 {
    aspect-ratio: 1;
    object-fit: cover;
}

/* Smooth State Transitions */
* {
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==================================================
   FINAL POLISH AND UTILITIES
   ================================================== */

/* Container Max Width */
.container-fluid {
    max-width: 1400px;
}

/* Equal Height Columns */
.equal {
    display: flex;
    flex-wrap: wrap;
}

.equal > [class*='col-'] {
    display: flex;
    flex-direction: column;
}

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

.overlay-loader {
    z-index: 100;
}

/* Prevent Text Selection on Buttons */
.btn, button {
    user-select: none;
    -webkit-user-select: none;
}

/* Improved Focus States */
button:focus,
a:focus,
input:focus {
    outline: none;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: #f7fafc;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

/* Print Styles */
@media print {
    .btn, .dropdown, .header_icon {
        display: none;
    }
    
    .card {
        box-shadow: none;
        border: 1px solid #e2e8f0;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}
