@layer utilities {
    .no-scrollbar::-webkit-scrollbar {
        display: none;
    }
    .no-scrollbar {
        -ms-overflow-style: none; /* IE and Edge */
        scrollbar-width: none; /* Firefox */
    }
}


.gradient-text {
    background: linear-gradient(135deg, #d11243 0%, #ff6b6b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-pattern {
    background-image: radial-gradient(circle at 1px 1px, rgba(209, 18, 67, 0.15) 1px, transparent 0);
    background-size: 20px 20px;
}
.float-animation {
    animation: float 6s ease-in-out infinite;
}
@keyframes float {
    0%,
    100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}
.slide-in {
    animation: slideIn 0.8s ease-out forwards;
    opacity: 0;
    transform: translateY(30px);
}
@keyframes slideIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}
.pulse-ring {
    position: relative;
}
.pulse-ring::before {
    content: "";
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid #d11243;
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.5;
    }
}
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}
.scroll-reveal.active {
    opacity: 1;
    transform: translateY(0);
}
.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Login Slide Panel Styles */
.login-overlay {
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}
.login-overlay.active {
    opacity: 1;
    visibility: visible;
}
.login-panel {
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.login-panel.active {
    transform: translateX(0);
}

/* Compact styles for small screens */
@media (max-height: 768px) {
    .login-container {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    .login-header {
        margin-bottom: 0.75rem;
    }
    .login-header .logo-icon {
        width: 2rem;
        height: 2rem;
    }
    .login-header .logo-text {
        font-size: 1rem;
    }
    .login-title {
        font-size: 1.25rem;
        margin-bottom: 0.25rem;
    }
    .login-subtitle {
        font-size: 0.75rem;
    }
    .social-btn {
        padding: 0.5rem 0.75rem;
        font-size: 0.875rem;
    }
    .social-btn img {
        width: 1rem;
        height: 1rem;
    }
    .divider {
        margin: 0.75rem 0;
        font-size: 0.75rem;
    }
    .input-group input {
        padding: 0.625rem 0.75rem;
        font-size: 0.875rem;
    }
    .input-group label {
        font-size: 0.875rem;
    }
    .input-group input:focus + label,
    .input-group input:not(:placeholder-shown) + label {
        transform: translateY(-18px) scale(0.8);
    }
    .options-row {
        font-size: 0.75rem;
        margin-bottom: 0.75rem;
    }
    .login-btn {
        padding: 0.625rem;
        font-size: 0.875rem;
    }
    .signup-text {
        font-size: 0.75rem;
        margin-top: 0.75rem;
    }
    .trust-badges {
        margin-top: 0.75rem;
        padding-top: 0.75rem;
    }
    .trust-badges i {
        font-size: 1.25rem;
    }
}

/* Extra compact for very small screens */
@media (max-height: 600px) {
    .login-container {
        padding: 0.75rem;
    }
    .login-header {
        margin-bottom: 0.5rem;
    }
    .social-login {
        gap: 0.5rem;
    }
    .divider {
        margin: 0.5rem 0;
    }
    .input-group {
        margin-bottom: 0.5rem;
    }
}

/* Social Button Hover Effects */
.social-btn {
    transition: all 0.3s ease;
}
.social-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.google-btn:hover {
    background-color: #f8f9fa;
}
.facebook-btn:hover {
    background-color: #166fe5;
    color: #f8f9fa;
}

/* Input Focus Animation */
.input-group {
    position: relative;
}
.input-group input:focus + label,
.input-group input:not(:placeholder-shown) + label {
    transform: translateY(-24px) scale(0.85);
    color: #d11243;
}
.input-group label {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    transition: all 0.2s ease;
    pointer-events: none;
    color: #9ca3af;
    background: white;
    padding: 0 4px;
}
.input-group input:focus {
    border-color: #d11243;
    box-shadow: 0 0 0 3px rgba(209, 18, 67, 0.1);
}

/* Divider Animation */
.divider::before,
.divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, #e5e7eb, transparent);
}

/* Pulse Animation for Login Button */
.pulse-ring {
    position: relative;
}
.pulse-ring::before {
    content: "";
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid #d11243;
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.5;
    }
}


.sidebar-link {
        transition: all 0.3s;
    }
.sidebar-link:hover,
.sidebar-link.active {
    background: linear-gradient(90deg, #fef2f2 0%, #fff5f5 100%);
    color: #d11243;
    border-right: 3px solid #d11243;
}
.dashboard-card {
    transition: all 0.3s;
}
.dashboard-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.1);
}
.order-status {
    position: relative;
}
.order-status::before {
    content: "";
    position: absolute;
    left: 15px;
    top: 30px;
    bottom: -20px;
    width: 2px;
    background: #e5e7eb;
}
.order-status:last-child::before {
    display: none;
}
.status-dot {
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(209, 18, 67, 0.4);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(209, 18, 67, 0);
    }
}
.tab-content {
    animation: fadeIn 0.4s ease;
}
.tab-content.active {
    display: block;
}
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.address-card {
    transition: all 0.3s;
}
.address-card:hover {
    border-color: #d11243;
}
.reward-badge {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
}
.membership-card {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
}
.progress-ring {
    transform: rotate(-90deg);
}
.progress-ring-circle {
    transition: stroke-dashoffset 0.5s;
}