:root {
    --primary: #024caa;
    --secondary: #9ba4b5;
    --success: #73ec8b;
    --warning: #e7b733;
    --danger: #e14c4c;
    --info: #4cc9fe;
}

:root[data-bs-theme="light"] {
    --bg-gradient: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, rgba(200, 200, 200, 0.5) 25%, rgba(200, 200, 200, 1) 50%, rgba(200, 200, 200, 0.5) 75%, rgba(0, 0, 0, 0) 100%);
    --auction-category-bg-color: #024CAA;
    --auction-category-text-color: #F5F5F5;
    --item-limit-color: #024CAA;
    --item-title-color: #333333;
}
  
:root[data-bs-theme="dark"] {
    --bg-gradient: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(52, 53, 59, 0.5) 25%, rgba(52, 53, 59, 1) 50%, rgba(52, 53, 59, 0.5) 75%, rgba(255, 255, 255, 0) 100%);
    --auction-category-bg-color: #3d699f;
    --auction-category-text-color: #DDDDDD;
    --item-limit-color: #3d699f;
    --item-title-color: #DDDDDD;
}

.preloader {
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loader {
    animation: rotate 1s infinite;
    height: 50px;
    width: 50px;
}

.loader:before,
.loader:after {
    border-radius: 50%;
    content: "";
    display: block;
    height: 20px;
    width: 20px;
}
.loader:before {
    animation: ball1 1s infinite;
    background-color: #333333;
    box-shadow: 30px 0 0 #0d6efd;
    margin-bottom: 10px;
}
.loader:after {
    animation: ball2 1s infinite;
    background-color: #0d6efd;
    box-shadow: 30px 0 0 #333333;
}

@keyframes rotate {
    0% { transform: rotate(0deg) scale(0.8) }
    50% { transform: rotate(360deg) scale(1.2) }
    100% { transform: rotate(720deg) scale(0.8) }
}

@keyframes ball1 {
    0% {
    box-shadow: 30px 0 0 #0d6efd;
    }
    50% {
    box-shadow: 0 0 0 #0d6efd;
    margin-bottom: 0;
    transform: translate(15px, 15px);
    }
    100% {
    box-shadow: 30px 0 0 #0d6efd;
    margin-bottom: 10px;
    }
}

@keyframes ball2 {
    0% {
    box-shadow: 30px 0 0 #333333;
    }
    50% {
    box-shadow: 0 0 0 #333333;
    margin-top: -20px;
    transform: translate(15px, 15px);
    }
    100% {
    box-shadow: 30px 0 0 #333333;
    margin-top: 0;
    }
}

#formRegister label {
    font-size: 12px;
    margin-bottom: 0.5rem;
    color: #555555;
}
#formRegister input, #formRegister select {
    /* background-color: #f0f0f7 !important; */
    border-radius: 0.5rem;
    font-size: 14px;
}

.poster {
    width: 100%;
}

.auction-category {
    width: 100%;
}

.auction-category a {
    background-color: white;
    color: #333333;
    border: 1px solid #dddddd;
    font-weight: 600;
    text-decoration: none;
    transition: 0.5s;
}

.auction-category .title {
    font-size: 18px;
    font-weight: 600;
    color: #024CAA;
    margin-bottom: 1rem;
}

.auction-category .body {
    width: 100%;
    /* display: flex;
    justify-content: center;
    align-items: center; */
    gap: 1rem;
    overflow-x: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
    /* padding: 2.5px 0px; */
    background: var(--bg-gradient);
}

.auction-category .body::-webkit-scrollbar { 
    display: none;
}

.auction-category .body a {
    width: 150px;
    min-width: 150px;
    max-width: 150px;
    height: 150px;
    min-height: 150px;
    max-height: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    border-radius: 1rem;
    background-color: var(--primary);
    color: #f5f5f5;
    /* box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px; */
    border: none;
}

.auction-category .body a:hover {
    color: var(--warning);
}

.auction-category .total {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 0;
    right: 0;
    width: 30px;
    height: 30px;
    margin: 0.25rem;
    border-radius: 50%;
    font-size: 10px;
    background-color: var(--warning);
    color: #f5f5f5;
}

.auction-catalog {
    width: 100%;
    margin-bottom: 1rem;
}

.auction-catalog .title {
    font-size: 18px;
    font-weight: 600;
    color: #024CAA;
    margin-bottom: 1rem;
}

.btn-favorite, .btn-share {
    background-color: white;
    color: #888888;
}

.btn-favorite:hover, .btn-share:hover {
    background-color: #024CAA;
    color: white !important;
}

.item-title {
    font-size: 12px;
    font-weight: 500;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--item-title-color);   
}

.item-limit {
    font-size: 16px;
    font-weight: 600;
    color: var(--item-limit-color);
}

.item-schedule {
    font-size: 12px;
    font-weight: 500;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--item-title-color);   
}