@keyframes slideDown {
    from {
        top: -100px;
        opacity: 0;
    }
    to {
        top: 0;
        opacity: 1;
    }
}

@media (min-width: 992px) {
    .sticky {
        position: fixed;
        top: 0;
        width: 100%;
        z-index: 1000;
        background: #fff;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        animation: slideDown 0.3s ease-in-out;
    }
}
.canvas-open {
    background-color: wheat;
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1100; 
    position: fixed; 
}

body.sticky-active {
    padding-top: 80px;
}
    .btn-check:checked + .btn {
    background-color: #0d6efd;
    color: #fff;
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.2rem rgba(13,110,253,.25);
    }
    .btn-outline-primary:hover {
        background-color: #e9f2ff;
        color: #0d6efd;
        border-color: #0d6efd;
    }
    input[type="number"]::-webkit-inner-spin-button,
    input[type="number"]::-webkit-outer-spin-button {
        -webkit-appearance: none;
        margin: 0;
    }

    .room-card-hover {
        transition: box-shadow 0.2s, transform 0.2s;
        position: relative;
    }
    .room-card-hover:hover {
        box-shadow: 0 8px 32px rgba(0,0,0,0.12), 0 1.5px 6px rgba(0,0,0,0.08);
        transform: translateY(-4px) scale(1.02);
        border-color: #0d6efd;
    }
    .card-title {
        font-size: 1.2rem;
    }
    .badge.bg-primary.price-badge {
        font-size: 1rem;
        border-radius: 1rem;
        position: absolute;
        top: 12px;
        left: 12px;
        right: auto;
        z-index: 2;
        padding: 0.5em 1.2em;
        box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    }
    .form-check-input:checked {
        background-color: #0d6efd;
        border-color: #0d6efd;
    }
    .form-check-input {
        width: 1.2em;
        height: 1.2em;
    }

    #back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    background-color: wheat;
    color: #333;
    border: none;
    outline: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    display: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

#back-to-top:hover {
    background-color: #f5deb3;
    transform: translateY(-3px);
}
