/* Additional Styles for RB Lombard */

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Additional Button Styles */
button:focus {
    outline: none;
}

/* Form Input Focus */
input:focus, textarea:focus {
    outline: none;
}

/* Animation for elements */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* Loading State */
.loading {
    pointer-events: none;
    opacity: 0.6;
}

/* Success State */
.success {
    border-color: #27ae60 !important;
}

/* Error State */
.error {
    border-color: #e74c3c !important;
}

/* Helper Text */
.textfield-helper {
    display: block;
    font-size: 12px;
    color: #e74c3c;
    margin-top: 5px;
    min-height: 18px;
}

/* Additional Form Styles */
form {
    color: #2c3e50;
}

/* Range Slider */
.range {
    margin: 20px 0;
}

.button-group {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
}

.button-group .button {
    flex: 1;
    text-align: center;
}

.button-group label {
    display: block;
    padding: 10px;
    cursor: pointer;
    border: 2px solid #ddd;
    border-radius: 5px;
    margin: 0 5px;
    transition: all 0.3s;
}

.button-group label:hover {
    border-color: #3498db;
}

.button-group label.active {
    background: #3498db;
    color: #fff;
    border-color: #3498db;
}

/* Table Styles */
table.year tbody {
    max-height: 400px;
    overflow-y: auto;
    display: block;
}

table.year thead, table.year tbody tr {
    display: table;
    width: 100%;
    table-layout: fixed;
}

/* Callback Button */
.callback-button {
    display: block;
    width: 40px;
    height: 40px;
    background: #27ae60;
    border-radius: 50%;
    position: relative;
    transition: all 0.3s;
}

.callback-button:hover {
    background: #229954;
    transform: scale(1.1);
}

.callback-button:before {
    content: "☎";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 20px;
    color: #fff;
}

/* Columns Layout */
.columns {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.column {
    flex: 1;
    padding: 0 15px;
    min-width: 300px;
}

/* Additional Responsive */
@media (max-width: 992px) {
    .column {
        flex: 100%;
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .form-container {
        padding: 30px 20px;
    }

    #header-mobile .content {
        display: flex;
        align-items: center;
    }

    #header-mobile .logo {
        flex: 1;
    }

    #header-mobile .request {
        margin-right: 10px;
    }

    .orange-button {
        padding: 10px 20px;
        font-size: 14px;
    }
}

/* Print Styles */
@media print {
    #header, #header-mobile, #navigation, .modal {
        display: none !important;
    }
}
