/* Cookie Banner Styling */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #333;
    color: #fff;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
}
.cookie-content {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    width: 100%;
}
.cookie-buttons button {
    margin-left: 10px;
}

/* Modal Styling */
.cookie-modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1001;
}
.cookie-modal-content {
    text-align: left;
}
.modal-buttons {
    text-align: right;
    margin-top: 20px;
}

/* Toggle Switch */
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}
.switch input {
    display: none;
}
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.4s;
}
.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: 0.4s;
}
input:checked + .slider {
    background-color: #2196F3;
}
input:checked + .slider:before {
    transform: translateX(26px);
}
.slider.round {
    border-radius: 34px;
}
.slider.round:before {
    border-radius: 50%;
}
/* Using this style sheet for the registration discount badge too */
/* Register link — matches Browse now in rblanding.html */
.rb-register-link {
    color: #1f6fd6 !important;
    font-weight: 700;
}

.rb-register-link:hover {
    color: #165bb2 !important;
}
/* Register promo badge — styled to match rb-cta */
.navbar .register-badge {
    display: inline-block;
    vertical-align: middle;

    font-size: 0.72rem;
    font-weight: 700;
    white-space: nowrap;

    padding: 4px 8px;
    border-radius: 999px;

    color: #1f6fd6;
    background: rgba(31,111,214,.12);
    border: 1px solid rgba(31,111,214,.28);

    animation: registerPulse 1.9s ease-in-out infinite;
}

/* Soft pulse — same color family */
@keyframes registerPulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 rgba(31,111,214,0.0);
    }
    50% {
        transform: scale(1.06);
        box-shadow: 0 0 14px rgba(31,111,214,0.35);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 rgba(31,111,214,0.0);
    }
}
/* Make the badge feel clickable */
.navbar .register-badge:hover {
    background: rgba(31,111,214,.18);
}