@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600;1,700&display=swap');

.container-wtyczka-warsztaty {
    background-color: #ffffff;
    border-radius: 10px;
    width: 100%;
    padding: 10px;
    max-width: 1000px;
    transition: opacity 0.5s ease, transform 0.5s ease;
    position: relative; 
    z-index: 1; 
    font-family: 'Montserrat', sans-serif;
}

h1 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 20px;
    text-align: left;
    color: #003F6E;
}

.standard-text{
    font-size: 1rem;
    font-family: 'Montserrat', sans-serif;
}

.notice {
    background-color: #ffeded;
    color: #d8000c;
    padding: 15px;
    margin-top: 20px;
    margin-bottom: 20px;
    border-left: 6px solid #d8000c;
    font-size: 1rem;
    border-radius: 5px;
}

.title{
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    text-align: left;
    color: #003F6E;
    font-family: 'Montserrat', sans-serif;
}

.sub-title{
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 30px;
    margin-top: 40px;
    text-align: left;
    color: #003F6E;
    font-family: 'Montserrat', sans-serif;
}

.sub-title-checkout{
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 30px;
    margin-top: 40px;
    text-align: left;
    color: #003F6E;
    font-family: 'Montserrat', sans-serif;
}

@media screen and (max-width:768px) {
    .title{
        font-size: 2rem;
    }
    .sub-title{
        font-size: 1.5rem;
    }
    .sub-title-checkout{
        font-size: 1.5rem;
    }
}


.calendar h2 {
    font-size: 20px;
    color: #003F6E;
    margin-bottom: 10px;
    text-align: left;
}

.range-group,
.checkbox-group,
.select-group,
.input-group {
    display: flex;
    flex-direction: column !important;
    margin-bottom: 20px !important;
}

label {
    font-weight: bold;
}

input[type="range"] {
    width: 100%;
}

input[type="checkbox"],
select,
input[type="text"] {
    margin-right: 10px;
}

.tooltiptext {
    display: none;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 5px;
    padding: 0px 6px;
    position: absolute;
    z-index: 1;
}

.tooltip-wtyczka .tooltiptext {
    display: block;
}

.total-cost-group {
    text-align: center;
    margin-top: 20px;
}

label {
    font-size: 16px;
    margin: 10px 0;
    display: block;

}
input[type="number"], input[type="range"], select {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border: 1px solid #ddd;
    border-radius: 5px;
    transition: all 0.3s ease;
    box-sizing: border-box;
    font-size: 16px;
}
input[type="number"]:focus, input[type="range"]:focus, select:focus {
    border-color: #003F6E;
    box-shadow: 0 0 5px rgba(0, 63, 110, 0.5);
}
.result {
    margin-top: 20px;
    font-size: 20px;
    font-weight: bold;
    color: #333;
}
.highlight {
    color: #003F6E;
}
.optional-services {
    margin-top: 20px;
}
.optional-service-item {
    display: flex;
    align-items: center;
    margin: 10px 0;
}
.optional-service-item input {
    margin-right: 10px;
}
.total-cost {
    font-size: 24px;
    color: #003F6E;
    text-align: right;
}
.booking-button {
    margin-top: 20px;
    padding: 12px 20px;
    font-size: 18px;
    color: #fff;
    background-color: #003F6E;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    transition: background-color 0.3s ease;
    width: 100%;
}
.booking-button:hover {
    background-color: #002A4A;
}
.explanation {
    margin-top: 20px;
    font-size: 14px;
    color: #777;
}
.info-icon {
    margin-left: 10px;
    font-size: 16px;
    color: #777;
    cursor: pointer;
    position: relative;
}
.info-icon:hover::after {
    content: attr(data-info);
    position: absolute;
    top: 25px;
    left: 0;
    background: #003F6E;
    color: #fff;
    padding: 10px;
    border-radius: 5px;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.detailed-info {
    margin-top: 20px;
    font-size: 14px;
    color: #777;
}
.faq {
    margin-top: 20px;
    font-size: 14px;
    color: #777;
}

.hidden {
    display: none; /* Remove the element from the document flow */
    opacity: 0; /* Make it fully transparent */
    transform: translateY(20px); /* Smoothly move the container down while hiding */
    pointer-events: none; /* Prevent interactions when hidden */
}

.calendar {
    margin-top: 20px;
    padding: 15px;
    background-color: #ffffff;
    border: 1px solid #ccc;
    border-radius: 5px;
    opacity: 0;
    display: none;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.calendar.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Main container for the month calendar */
.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr); /* 7 columns for days of the week */
    gap: 10px;
    transition: transform 0.5s ease-in-out;
    max-height: 600px; /* Increase height for a full month view */

    overflow-y: auto;
}

/* Calendar header for days of the week (Mon, Tue, etc.) */
.calendar-header {
    font-weight: bold;
    background-color: #f0f0f0;
    text-align: center;
    padding: 10px;
    border-radius: 5px;
    box-shadow: rgba(149, 157, 165, 0.075) 0px 8px 24px;
}

/* Each day cell in the calendar */
.calendar-day {
    background-color: #a0d6d6;
    text-align: center;
    padding: 10px;
    border-radius: 5px;
    box-shadow: rgba(149, 157, 165, 0.075) 0px 8px 24px;
    position: relative;
}

/* Empty days (to fill gaps before the 1st of the month or after the last) */
.calendar-empty {
    background-color: transparent;
    box-shadow: none;
    pointer-events: none;
}

/* Time slots within a day cell */
.calendar-cell {
    background-color: #caf0f8;
    text-align: center;
    padding: 10px;
    font-weight: 700;
    color: #003F6E;
    cursor: pointer;
    border-radius: 10px;
    transition: transform 0.5s ease-in-out;
    box-sizing: border-box;
    box-shadow: rgba(149, 157, 165, 0.075) 0px 8px 24px;
}

/* Hover effect for time slots */
.calendar-cell:hover {
    background-color: #90e0ef;
}

/* Disabled or empty time slots */
.calendar-cell-empty {
    background-color: #d4edda00;
    text-align: center;
    padding: 10px;
    cursor: pointer;
    transition: transform 0.5s ease-in-out;
    box-sizing: border-box;
    border: 2px solid transparent;
}

.calendar-cell-empty:hover {
    background-color: #c3e6cb00;
}

/* Responsive layout */
@media (max-width: 1024px) {
    .calendar-grid {
        grid-template-columns: repeat(7, 1fr); /* Keep 7 columns on medium screens */
    }
}

@media (max-width: 760px) {
    .calendar-grid {
        grid-template-columns: repeat(7, 1fr); /* Maintain 7 columns on small screens too */
    }
}



.booking-button {
    display: block;
    width: 100%;
    padding: 15px;
    font-size: 18px;
    color: #fff;
    background-color: #003F6E;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    margin-top: 50px;
}

.booking-button:hover {
    background-color: #002A4A;
    transform: scale(1.05);
}

.explanation {
    font-size: 14px;
    color: #666;
    margin-top: 20px;
    text-align: center;
}


label {
    font-size: 16px;
    margin-bottom: 10px;
    position: relative;
    font-family: 'Montserrat', sans-serif;
}

.tooltip-wtyczka {
    display: inline-block;
    position: relative;
    cursor: pointer;
    margin-left: 5px;
    color: #fff;
    background-color: #003F6E;
    padding: 0 6px;
    border-radius: 5px;
    font-size: 13px;
}

.tooltip-wtyczka .tooltiptext {
    visibility: hidden;
    width: 50vw;
    background-color: #003F6E;
    color: #fff;
    text-align: center;
    border-radius: 5px;
    padding: 5px;
    position: absolute;
    z-index: 1;
    bottom: 125%; /* Adjust this value to control the position */
    left: 50%;
    margin-left: -300px;
    opacity: 0;
    transition: opacity 0.3s;
}

.tooltip-wtyczka:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

.range-group,
.checkbox-group,
.total-cost-group {
    margin-bottom: 20px;
}

.range-group input[type="range"] {
    width: 100%;
    margin-top: 10px;
}

.checkbox-group {
    display: flex;
    flex-direction: column;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.checkbox-group input[type="checkbox"] {
    margin-right: 10px;
    height: 20px;
    width: 20px;
}

.service-button {
    margin-left: 10px;
    padding: 5px 10px;
    font-size: 14px;
    color: #fff;
    background-color: #003F6E;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.service-button:hover {
    background-color: #002A4A;
    transform: scale(1.05);
}

.total-cost {
    font-size: 20px;
    color: #003F6E;
    font-weight: bold;
    text-align: right;
    font-family: 'Montserrat', sans-serif;
}

.booking-button {
    display: block;
    width: 100%;
    padding: 15px;
    font-size: 18px;
    color: #fff;
    background-color: #003F6E;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.booking-button:hover {
    background-color: #002A4A;
    transform: scale(1.05);
}

.explanation {
    font-size: 14px;
    color: #666;
    margin-top: 20px;
    text-align: center;
}

.calendar h2 {
    font-size: 20px;
    color: #003F6E;
    margin-bottom: 10px;
}

.calendar ul {
    list-style: none;
    padding: 0;
}

.calendar li {
    padding: 10px;
    background-color: #fff;
    border: 1px solid #003F6E;
    margin-bottom: 5px;
    border-radius: 5px;
    cursor: pointer; /* Add pointer cursor to indicate clickability */
}

.calendar li.selected {
    background-color: #003F6E;
    color: #fff;
}

.disabled-button{
    display: block;
    width: 100%;
    padding: 15px;
    font-size: 18px;
    color: black;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    background-color: grey;
    margin-top: 50px;
    cursor: not-allowed;
}



.calendar-header {
    font-weight: bold;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

.calendar-cell,
.calendar-cell-empty {
    padding: 10px;
    text-align: center;
    border: 2px solid transparent;
    cursor: pointer;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}



@media (max-width: 360px) {
   

    .calendar-cell,
    .calendar-cell-empty {
        padding: 5px; /* Reduce padding for smaller screens */
    }
}

.calendar-buttons {
    justify-content: center;
    align-items: center;
    background-color: #003F6E;
    color: white;
    font-size: 16px;
    font-weight: 500;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: rgba(149, 157, 165, 0.075) 0px 8px 24px;
    margin-bottom: 10px;
}

/* Animation on click */
.calendar-buttons:active {
    background-color: #002c51;
    transform: scale(0.95);
}

.arrow {
    font-size: 25px;
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

 /* Akordeon FAQ */
 .accordion {
    background-color: #fff;
    color: #003F6E;
    cursor: pointer;
    padding: 20px;
    width: 90%;
    margin:auto;
    text-align: left;
    font-size: 1.1rem;
    transition: background-color 0.3s ease;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    position: relative;
    font-weight: 500;
}
.accordion:hover {
    background-color: #f1f1f1;
}
.accordion:after {
    content: '\f078';
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    position: absolute;
    right: 20px;
    font-size: 1rem;
    transition: transform 0.3s ease;
}
.accordion.active:after {
    transform: rotate(180deg);
}
.panel {
    padding: 0 20px;
    background-color: #fff;
    display: none;
    overflow: hidden;
    font-size: 1rem;
    border-radius: 0 0 5px 5px;
    border-top: none;
    line-height: 1.6;
}
.panel p {
    margin: 15px 0;
}

/* Mapka */
.map-container {
    margin-top: 50px;
    text-align: center;
}
.map-container h2 {
    font-size: 2rem;
    color: #003F6E;
    margin-bottom: 30px;
}
.map-responsive {
    overflow: hidden;
    padding-bottom: 56.25%;
    position: relative;
    height: 0;
    border-radius: 10px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}
.map-responsive iframe {
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    position: absolute;
    border: none;
    border-radius: 10px;
}

input[type="range"] {
    width: 100%;
    margin-top: 15px;
    -webkit-appearance: none;
    background: transparent;
}
input[type="range"]:focus {
    outline: none;
}
input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    background: #003F6E;
    width: 20px;
    height: 20px;
    position: relative;
    bottom: 5px;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s ease;
    border: 2px solid #fff;
    box-shadow: 0 0 5px rgba(0,0,0,0.2);
}
input[type="range"]::-webkit-slider-thumb:hover {
    background: #005a9c;
}
input[type="range"]::-webkit-slider-runnable-track {
    width: 100%;
    height: 5px;
    cursor: pointer;
    background: #ccc;
    border-radius: 5px;
}
/* Dodatkowe style dla innych przeglądarek */
input[type="range"]::-moz-range-thumb {
    background: #003F6E;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid #fff;
    box-shadow: 0 0 5px rgba(0,0,0,0.2);
}
input[type="range"]::-moz-range-track {
    width: 100%;
    height: 5px;
    cursor: pointer;
    background: #ccc;
    border-radius: 5px;
}
input[type="range"]::-ms-thumb {
    background: #003F6E;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid #fff;
    box-shadow: 0 0 5px rgba(0,0,0,0.2);
}
input[type="range"]::-ms-track {
    width: 100%;
    height: 5px;
    cursor: pointer;
    background: transparent;
    border-color: transparent;
    color: transparent;
}
input[type="range"]::-ms-fill-lower {
    background: #ccc;
    border-radius: 5px;
}
input[type="range"]::-ms-fill-upper {
    background: #ccc;
    border-radius: 5px;
}

.slider-value {
    font-size: 1.2rem;
    color: #005a9c;
    font-weight: 600;
    margin-top: 10px;
}

.error-message {
    color: #f44336; /* Red color for the error */
    font-size: 0.9rem;
    margin-top: 5px;
    display: block; /* Ensure it appears as a block element */
  }
  
  .checkbox-container {
    display: flex;
    flex-direction: column; /* Stack elements vertically */
    align-items: flex-start; /* Align them to the start */
  }
  
  .calendar-day.selected-day {
    background-color: #caf0f8; /* Highlight the selected day */
    border: 2px solid #003F6E; /* Optional border for the selected day */
}

.time-slot-container {
    margin-top: 10px;
    padding: 10px;
    background-color: #f0f0f0;
    border-radius: 5px;
}

.time-slot-section {
    display: grid; /* Use grid layout */
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); /* Responsive grid columns */
    gap: 10px; /* Space between grid items */
    margin-top: 20px; /* Space above the section */
    padding: 10px;
}

.calendar-cell {
    background-color: #e0ffe0; /* Light green for available slots */
    padding: 10px;
    text-align: center; /* Center text */
    border-radius: 5px; /* Rounded corners */
    cursor: pointer; /* Indicate clickable */
    transition: background-color 0.3s; /* Smooth transition for hover */
}

.calendar-cell:hover {
    background-color: #c1f0c1; /* Darker green on hover */
}



.day-unavailable {
    background-color: rgb(238, 238, 238); /* Light red background */
    color: black; /* Dark red text color */
}

#time-slot-title{
    display: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 30px;
    font-weight: 700;
}

#month-year-display{
    justify-content: center;
    align-items: center;
    font-size: 16px;
    font-weight: 700;
    padding: 10px 20px;
    margin-bottom: 10px;
    transition: all 0.3s ease;
box-shadow: rgba(149, 157, 165, 0.075) 0px 8px 24px;
font-family: 'Montserrat', sans-serif;
}

input{
    width: 50%;
    border-radius: 5px;
    padding: 10px;
    box-sizing: border-box;
    font-size: 16px;
    border-color: #003F6E;
}