body {
    background: linear-gradient(to right, 
        #f8f9fa 0%, 
        rgba(255, 182, 193, 0.1) 20%, 
        rgba(255, 218, 185, 0.1) 40%, 
        rgba(255, 255, 224, 0.1) 50%, 
        rgba(144, 238, 144, 0.1) 60%, 
        rgba(173, 216, 230, 0.1) 80%, 
        #f8f9fa 100%);
    background-attachment: fixed;
    min-height: 100vh;
    color: #212529;
}

.thumbnail {
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    overflow: hidden;
    border: 1px solid #dee2e6;
}

.thumbnail:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.thumbnail img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.basket-icon {
    position: relative;
}

.basket-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #000;
    color: white;
    width: 20px;
    height: 20px;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pagination-container {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.search-container {
    max-width: 400px;
    margin: 0 auto 2rem;
}

.modal-img {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
    padding: 1rem 0;
}

.btn {
    font-size: 0.8rem;
    padding: 0.375rem 0.75rem;
}

.form-control {
    border-radius: 0;
}

.modal-content {
    border-radius: 0;
}

.pagination .page-link {
    border-radius: 0;
    color: #000;
    background-color: #fff;
    border-color: #dee2e6;
}

.pagination .page-link:hover {
    color: #fff;
    background-color: #6c757d;
    border-color: #6c757d;
}

.pagination .page-item.active .page-link {
    background-color: #000;
    border-color: #000;
    color: #fff;
}

.pagination .page-item.disabled .page-link {
    color: #6c757d;
    background-color: #fff;
    border-color: #dee2e6;
}

.modal-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1050;
    width: 40px;
    height: 40px;
    padding: 0;
    font-size: 1.2rem;
}

.modal-prev {
    left: 15px;
}

.modal-next {
    right: 15px;
}

.modal-nav-btn:disabled {
    opacity: 0.3;
}

.runner-number {
    font-family: 'Courier New', monospace;
    font-weight: bold;
    background-color: #f8f9fa;
    padding: 2px 6px;
    border: 1px solid #dee2e6;
    margin: 0 2px;
    display: inline-block;
}

.runner-number.highlighted {
    background-color: #198754;
    color: #fff;
    border-color: #198754;
}

.thumbnail {
    position: relative;
}

.cart-indicator {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #000;
    color: #fff;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    z-index: 10;
}

.modal.fade .modal-dialog {
    transition: transform 0.3s ease-out, opacity 0.3s ease-out;
}

.modal.fade.show .modal-dialog {
    transform: none;
    opacity: 1;
}

.modal.fade:not(.show) .modal-dialog {
    transform: translate(0, -50px);
    opacity: 0;
}

.cart-item {
    display: flex;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #dee2e6;
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item-thumb {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border: 1px solid #dee2e6;
    margin-right: 15px;
}

.cart-item-details {
    flex: 1;
}

.cart-item-price {
    font-weight: bold;
    color: #000;
}

.cart-total {
    font-size: 1.2rem;
}

.cart-item-remove {
    margin-left: 10px;
}

#passwordScreen .card {
    border-radius: 0;
    border: 1px solid #dee2e6;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}