/*
Theme Name: Ski Club
Theme URI: https://redbullet.co.uk/
Description: A custom WordPress theme developed for Ski Club.
Author: Red Bullet
Author URI: https://redbullet.co.uk/
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: skiclub
Tags: one-column, two-columns, right-sidebar, flexible-header, accessibility-ready, custom-colors, custom-header, custom-menu, custom-logo, editor-style, featured-images, footer-widgets, post-formats, rtl-language-support, sticky-post, theme-options, threaded-comments, translation-ready
*/

/* Button loader */
.main-btn .btn-loader {
    display: none;
}
.main-btn .btn-loader.loader-show {
    display: inline-block;
    margin-right: 10px;
}
.btn-loader {
    width: 16px;
    height: 16px;
    margin-right: 15px;
}
.btn-loader:after {
    content: " ";
    display: block;
    width: 16px;
    height: 16px;
    margin: 1px;
    border-radius: 50%;
    border: 2px solid #000000;
    border-color: #000000 transparent #000000 transparent;
    -webkit-animation: btn-loader 1.2s linear infinite;
            animation: btn-loader 1.2s linear infinite;
}
.btn-loader.btn-loader-white:after {
    border: 2px solid #ffffff;
    border-color: #ffffff transparent #ffffff transparent;
}
@-webkit-keyframes btn-loader {
    0% {
      -webkit-transform: rotate(0deg);
              transform: rotate(0deg);
    }
    100% {
      -webkit-transform: rotate(360deg);
              transform: rotate(360deg);
    }
}
@keyframes btn-loader {
    0% {
      -webkit-transform: rotate(0deg);
              transform: rotate(0deg);
    }
    100% {
      -webkit-transform: rotate(360deg);
              transform: rotate(360deg);
    }
}

.booking-form-container {
    box-shadow: 0 3px 8px 0 rgba(112, 120, 135, 0.24);
    padding: 30px;
    margin-top: -140px;
    position: relative;
    z-index: 10000;
    background: #ffffff;
}

.booking-form .title {
    font-size: 32px;
    font-weight: 600;
    border-bottom: 1px solid #E3E3E3;
    padding-bottom: 8px;
}

.booking-form .field {
    margin-bottom: 10px;
}

.booking-form .field-title {
    font-size: 14px;
    margin-bottom: 4px;
    font-weight: 600;
}

.booking-form .radio-label {
    border: 2px solid #007AC2;
    border-left: none;
    font-size: 18px;
    color: #007AC2;
    font-weight: 600;
    padding: 10px 20px;
    cursor: pointer;
}

.booking-form .radio-label:first-of-type {
    border-left: 2px solid #007AC2;
}

.booking-form .text-input {
    width: 100%;
    border: 1px solid #E3E3E3;
    padding: 3px 10px;
    font-size: 16px;
    border-radius: 2px;
}

.booking-form .select-input {
    width: 100%;
    border: 1px solid #E3E3E3;
    padding: 6px 10px;
    font-size: 16px;
    border-radius: 2px;
}

.booking-form .textarea-input {
    width: 100%;
    border: 1px solid #E3E3E3;
    padding: 6px 10px;
    font-size: 16px;
    border-radius: 2px;
}

.booking-form .radio-input:checked + .radio-label {
    background: #007AC2;
    color: #ffffff;
}

.booking-form-button-container {
    padding-top: 30px;
    margin-top: 30px;
}

.booking-form .room {
    border: 1px solid #E3E3E3;
    padding: 14px;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 16px;
    font-weight: bold;
}

.booking-form .room .room-selected-dot {
    border-radius: 100%;
    border: 2px solid #007AC2;
    display: inline-block;
    width: 16px;
    height: 16px;
}

.booking-form .room .room-selected-dot.check {
    border-radius: 5px;
}

.booking-form .room .price {
    font-weight: normal;
}

.booking-form .room-type-radio:checked + .room {
    border-color: #007AC2 !important;
}

.booking-form .room-type-radio:checked + .room .room-selected-dot {
    background: #007AC2 !important;
    border: 2px solid #fff !important;
    outline: 2px solid #007AC2;
}

.booking-form .room:not(:last-child) {
    margin-bottom: 20px;
}

.booking-payment-error {
    color: #A21A34;
    background: #a21a3412;
    border: 1px solid #A21A34;
    padding: 10px;
    border-radius: 5px;
    margin-top: 16px;
}

.booking-payment-error:empty {
    display: none;
}

.booking-form .error {
    font-size: 14px;
    display: flex;
    align-items: center;
    color: #A21A34;
    line-height: 1.6;
    margin-top: 8px;
    gap: 6px;

    &:not(.no-icon):before {
        content: '';
        background: url('https://www.skiclub.co.uk/wp-content/themes/skiclub/assets/images/alert-triangle.svg') no-repeat;
        background-size: contain;
        width: 20px;
        height: 20px;
        display: inline-block;
        margin-right:4px;
    }
}

.payment-timer {
    background: #F6F6F6;
    padding: 10px;
    border-radius: 4px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    margin-bottom: 16px;
}

.payment-timer img {
    width: 16px;
    height: 16px;
    margin-right: 10px;
    display: inline-block;
}

.payment-timer span {
    margin-left: 4px;
    display: inline-block;
}

.payment-timer span {
    color: #A21A34;
    font-weight: bold;
}