/* Use Montserrat font and soft card UI, inspired by the attached screenshot and appointments_final.html */

body {
    background: #23232b;
    font-family: 'Montserrat', Arial, sans-serif;
    color: #23232b;
    
}

.container-fluid {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 95%;
    background: #fff;
    border-radius: 16px;
    margin: 32px auto;
    padding: 32px 24px 24px 24px;
    box-shadow: 0 4px 32px rgba(0,0,0,0.12);
}

.a {
    text-decoration: none;
    color: black; 
}

.a :hover {
    text-decoration: none;
    color:black;
    font-weight: bold;}

    h4, h5, h6 {
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 700;
    color: #23232b;
    margin-bottom: 0.5em;
}

h4 {
    font-size: 2rem;
    margin-bottom: 1.2em;
}

h5 {
    font-size: 1.35rem;
    margin-bottom: 0.8em;
}

h6 {
    font-size: 1.1rem;
    margin-bottom: 0.6em;
}

label, .form-label {
    font-weight: 500;
    color: #23232b;
    margin-bottom: 0.25em;
}

input[type="text"], input[type="number"], input[type="email"], select, .form-control {
    background: #f4f4f6;
    border: none;
    border-radius: 8px;
    padding: 12px 16px;
    color: #23232b;
    margin-bottom: 12px;
    width: 100%;
    box-sizing: border-box;
    transition: box-shadow 0.2s;
    font-family: 'Montserrat', Arial, sans-serif;
}

input[type="text"]:focus, input[type="number"]:focus, input[type="email"]:focus, select:focus, .form-control:focus {
    outline: none;
    box-shadow: 0 0 0 2px #e5e5e5;
    font-family: 'Montserrat', Arial, sans-serif;
}
.d-none {
    display: none;
}

.btn, button {
    border-radius: 8px;
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 600;
    padding: 12px 24px;
    transition: background 0.2s, color 0.2s, border 0.2s;
    border: none;
}

.btn-primary, .btn.btn-primary {
    background: #ff4d6d;
    color: #fff;
    border: none;
}

.btn-primary:hover, .btn-primary:focus {
    background: #e13b5a;
    color: #fff;
}

.btn-secondary, .btn.btn-secondary {
    background: #e5e5e5;
    color: #23232b;
    border: none;
}

.btn-secondary:hover, .btn-secondary:focus {
    background: #d1d1d1;
    color: #23232b;
}

.appointment-slot {
    background: #EFF0F0;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(40, 40, 48, 0.04);
    padding: 24px 16px;
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.appointment-slot:hover {
    background: #f4f4f6;
    box-shadow: 0 4px 16px rgba(40, 40, 48, 0.12);
}
.appointment-slot.active {
    background: #ff4d6d;
    color: #fff;
    box-shadow: 0 4px 16px rgba(255, 77, 109, 0.12);
}

input[type="radio"] {
    accent-color: #ff4d6d;
}

.form-label.required:after {
    content: " *";
    color: #ff4d6d;
    font-weight: bold;
}

.step {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(40, 40, 48, 0.04);
    padding: 24px 16px;
    margin-bottom: 24px;
}

.booking_button_group {
    display: flex;
    flex-direction: column;
    gap: 32px;
    align-items: stretch;
    margin-bottom: 16px;
}

.booking-category-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: flex-start;
    margin-bottom: 0;
}

.booking-category-label {
    font-weight: 700;
    color: #23232b;
    margin-bottom: 8px;
    text-align: left;
    width: 100%;
    font-family: 'Montserrat', Arial, sans-serif;
    letter-spacing: 0.5px;
}

.booking_button_group .task-button,
.dealer_button_group button,
.konsern_button_group button {
    flex: 1 1 30%;
    min-width: 180px;
    max-width: 32%;
    background: #f4f4f6;
    color: #23232b;
    border: 1.5px solid #e5e5e5;
    margin-bottom: 8px;
    transition: background 0.2s, color 0.2s, border 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 8px rgba(40,40,48,0.04);
    padding: 18px 10px 14px 10px;
    border-radius: 16px;
    text-align: center;
    font-weight: 600;
    display: flex;
    flex-direction: column;
    align-items: center;
    word-break: break-word;
}

.booking_button_group .task-button .text-muted {
    color: #8b8c90 !important;
    font-weight: 400;
}

.booking_button_group .task-button.active,
.booking_button_group .task-button:hover,
.dealer_button_group button.active,
.konsern_button_group button.active,
.dealer_button_group button:hover,
.konsern_button_group button:hover {
    background: #ff4d6d;
    color: #fff;
    border-color: #ff4d6d;
    box-shadow: 0 4px 16px rgba(255,77,109,0.12);
}

.booking_button_group .task-button.active .text-muted,
.booking_button_group .task-button:hover .text-muted {
    color: #fff !important;
}

.booking_button_group .task-button strong {
    font-weight: 700;
    margin-bottom: 2px;
    display: block;
}

.booking_button_group .task-button span {
    font-weight: 500;
}

.day-column {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 12px;
    min-height: 400px;
}

/* Horizontal scroll for days */
.horizontal-scroll {
    display: flex;
    flex-direction: row;
    gap: 24px;
    overflow-x: auto;
    padding-bottom: 16px;
    margin-bottom: 24px;
    width: 100%;
    scrollbar-width: thin;
    scrollbar-color: #e5e5e5 #fff;
}

.horizontal-scroll::-webkit-scrollbar {
    height: 10px;
}
.horizontal-scroll::-webkit-scrollbar-thumb {
    background: #e5e5e5;
    border-radius: 8px;
}
.horizontal-scroll::-webkit-scrollbar-track {
    background: #fff;
    border-radius: 8px;
}

/* Each day as a vertical column */
.day-column {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 12px;
    min-width: 320px;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    box-sizing: border-box;
}

.day-header {
    font-size: 1.1rem;
    margin-bottom: 12px;
    font-weight: 700;
    color: #23232b;
    text-align: center;
}

/* Keep date filter row on top */
.date-filter-row {
    width: 100%;
    margin-bottom: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
    background: transparent;
}

/* Responsive adjustments */
@media (max-width: 900px) {
    .horizontal-scroll {
        gap: 12px;
    }
    .day-column {
        min-width: 240px;
    }
}

@media (max-width: 600px) {
    .horizontal-scroll {
        gap: 8px;
    }
    .day-column {
        min-width: 180px;
        padding: 8px;
    }
}

.day-header {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

@media (max-width: 900px) {
    .booking_button_group .task-button,
    .dealer_button_group button,
    .konsern_button_group button {
        max-width: 48%;
    }
}
@media (max-width: 600px) {
    .booking_button_group .task-button,
    .dealer_button_group button,
    .konsern_button_group button {
        max-width: 100%;
    }
}

input[type="date"].form-control {
    background: #f4f4f6;
    color: #23232b;
    border: none;
    border-radius: 8px;
    padding: 12px 16px;
}

input[type="date"].form-control:focus {
    outline: none;
    box-shadow: 0 0 0 2px #e5e5e5;
}

.text-muted {
    color: #8b8c90 !important;
}

@media (max-width: 768px) {
    .container-fluid {
        max-width: 95%;
        padding: 12px 4px;
    }
    .step {
        padding: 12px 4px;
    }
    h4 {
        font-size: 1.4rem;
    }
    h5 {
        font-size: 1.1rem;
    }
    h6 {
        font-size: 1rem;
    }
    .card-header h5 {
        font-size: 1rem;
    }
    #reg_nr {
        font-size: 1.2rem !important;
        letter-spacing: 1px !important;
    }
    .btn-lg {
        font-size: 1rem;
        padding: 0.6rem 1rem;
    }
}

.a {
    text-decoration: none;
    color: black; 
}

.a :hover {
    text-decoration: none;
    color:black;
    font-weight: bold;}


