﻿/* Custom scrollbar for better aesthetic */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

    ::-webkit-scrollbar-thumb:hover {
        background: #94a3b8;
    }

/* Glassmorphism utility */
.glass-nav {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

/* Hero Pattern Background */
.hero-bg {
    /*background: linear-gradient(135deg, #b01e18 0%, #da251d 100%);*/
    background: linear-gradient(to right, #1568de, #1ca7ec);
    position: relative;
    overflow: hidden;
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.3;
}

.text-shadow-sm {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}


/* custom login */
/* Custom pattern for the background */
.bg-pattern {
    background-color: transparent;
    background-image: radial-gradient(rgba(244, 192, 37, 0.1) 2px, transparent 2px);
    background-size: 30px 30px;
}

.wave-decoration {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 200px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%23f4c025' fill-opacity='0.1' d='M0,160L48,176C96,192,192,224,288,224C384,224,480,192,576,165.3C672,139,768,117,864,128C960,139,1056,181,1152,186.7C1248,192,1344,160,1392,144L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: cover;
    pointer-events: none;
}

/*Custom register*/
.custom-wave-bg {
    background-color: #1568de;
    background-image: radial-gradient(rgba(21, 104, 222, 0.1) 2px, rgba(28, 167, 236, 0.1) 2px, transparent 2px);
    position: relative;
    overflow: hidden;
}

.custom-wave-bg::before {
    content: "";
    position: absolute;
    top: -20%;
    left: -10%;
    width: 120%;
    height: 120%;
    background: url("data:image/svg+xml,%3Csvg width='100%25' height='100%25' viewBox='0 0 1600 800' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 400C300 350 500 550 800 450C1100 350 1300 200 1600 300V800H0V400Z' fill='rgba(255,255,255,0.03)'/%3E%3Cpath d='M0 600C400 550 600 750 1000 650C1300 550 1400 500 1600 550V800H0V600Z' fill='rgba(255,255,255,0.03)'/%3E%3C/svg%3E");
    background-size: cover;
    pointer-events: none;
}

.gold-glow {
    box-shadow: 0 0 40px -10px rgba(244, 192, 37, 0.3);
}