/* === Card Animation === */
.card {
    transition: transform 0.2s ease-in-out;
    border-radius: 1rem;
}

.card:hover {
    transform: scale(1.02);
}

/* === Button Hover === */
.btn-outline-primary,
.btn-outline-secondary {
    transition: all 0.2s ease;
}

.btn-outline-primary:hover,
.btn-outline-secondary:hover {
    opacity: 0.85;
}

/* === Header === */
header {
    background: linear-gradient(115deg, #1dbe0f, #b36705);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    font-family: 'Poppins', sans-serif;
}

body {
    background: linear-gradient(150deg, #d83e00 0%, #129658 100%);
    font-family: 'Poppins', sans-serif;
    color: #333;

}

.custom-alert {
    background-color: #f44336;
    color: white;
    padding: 15px 20px;
    border-radius: 5px;
    margin: 10px;
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-width: 250px;
}

.custom-alert .close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    margin-left: 15px;
    cursor: pointer;
}


/* === Card Title === */
.card-body h5 {
    font-weight: 600;
}

/* === Table Style === */
.table th {
    white-space: nowrap;
}

textarea.form-control {
    resize: none;
}

/* === Badge Style === */
.badge {
    font-size: 14px;
    min-width: 30px;
}

/* === Submit Button Style === */
#btnSubmit {
    background: linear-gradient(135deg, #0d6efd, #6610f2);
    border: none;
    font-weight: bold;
    transition: 0.3s ease;
}

#btnSubmit:hover {
    opacity: 0.9;
}

/* === Footer === */
footer {
    background-color: transparent;
    color: #eee;
}


.card[data-aos] {
    animation: fadeIn 0.6s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.best-seller-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: gold;
    color: #333;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 4px;
}

/* === Spinner Positioning === */
#loadingSpinner {
    display: flex;
    justify-content: center;
    align-items: center;
}

#floatingCartBtn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
}
