/* General Resets & Layout */
body {
    overflow-x: hidden;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.background {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('img/KON1385-scaled.jpg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    min-height: 100vh;
    width: 100%;
}

/* Responsive Search Box */
.search-box {
    width: 100%;
    max-width: 600px; /* يتحكم في العرض الأقصى في الشاشات الكبيرة */
}

/* Animations */
.anim {
    color: #0dcaf0;
    transition: all 0.5s;
    display: inline-block;
}
.anim:hover {
    transform: rotate(360deg);
}

/* Loader Styles */
#loader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #0d0d11;
}

.loader {
    width: 180px;
    height: 140px;
    background-image: radial-gradient(circle 25px at 25px 25px, #FFF 100%, transparent 0), radial-gradient(circle 50px at 50px 50px, #FFF 100%, transparent 0), radial-gradient(circle 25px at 25px 25px, #FFF 100%, transparent 0), radial-gradient(circle 15px at 15px 15px, #FFF 100%, transparent 0), linear-gradient(#FFF 50px, transparent 0);
    background-size: 50px 50px, 100px 75px, 50px 50px, 30px 32px, 136px 20px;
    background-repeat: no-repeat;
    background-position: 0px 30px, 30px 0px, 113px 29px, 147px 50px, 23px 60px;
    position: relative;
}

.loader::after {
    content: '';  
    position: absolute;
    left: 2px;
    top: 65px;
    width: 2px;
    height: 6px;
    color: #FFF;
    animation: animloader 0.6s linear infinite;
}

@keyframes animloader {
    0% { box-shadow: 25px 0, 50px 0, 75px 0, 100px 0, 125px 0, 150px 0; }
    50% { box-shadow: 25px 20px, 50px 60px transparent, 75px 30px transparent, 100px 70px transparent, 125px 40px, 150px 60px transparent; }
    100% { box-shadow: 25px 60px transparent, 50px 60px transparent, 75px 50px transparent, 100px 70px transparent, 125px 70px transparent, 150px 60px transparent; }
}

/* Cards Custom Style */
.card {
    border-radius: 15px;
    overflow: hidden;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.1);
}
