
.custom-progress-bar {
    position: relative;
    height: 30px;
    background-color: #f3f3f3;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.custom-progress-bar-fill {
    position: absolute;
    height: 100%;
    background-color: #b6ffc2;
    transition: width 0.3s ease;
    z-index: 1; /* Behind the text */
}

.custom-progress-bar-text-container {
    position: absolute;
    width: 100%;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    z-index: 2; /* Above the progress bar fill */
}

.edit-card {
    border: 1px solid #ccc;
    transition: border-color 0.2s;
}
.edit-card:hover {
    border-color: #007bff;
}
.selected-card {
    border: 2px solid #007bff !important;
    background-color: #e7f1ff;
}
.disabled-card {
    opacity: 0.6;
    cursor: not-allowed;
}

.custom-progress-bar-text {
    position: absolute;
    font-size: 14px;
    font-weight: bold;
    line-height: 30px; /* Match the height for vertical centering */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.custom-progress-bar-text-dark {
    color: black;
    z-index: 3; /* Always on top */
}

.custom-progress-bar-text-light {
    color: white;
    z-index: 2; /* Revealed by the fill */
    clip-path: inset(0 0 0 calc(100% - var(--progress-width, 0%)));
    transition: clip-path 0.3s ease;
}
.selectable:hover {
    background-color: #eef7ff;
    transform: translateY(-2px);
}

/* Zustand, wenn ein Element ausgewählt ist */
.selectable.selected {
    background-color: rgba(200, 255, 213, 0.41);
    color: #1c7a30;
    border: 1px solid #1c7a30;
}

.loading-container {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 9999 !important; /* Ensure it's above other elements */
  }
  
  .loading-progress {
    width: 150px !important;
    height: 150px !important;
  }
  
  .loading-progress circle {
    fill: none !important;
    stroke-width: 5 !important;
  }
  
  .loading-progress .track {
    stroke: #eee !important;
  }
  
  .loading-progress .progress {
    stroke: #004b82 !important;
    stroke-linecap: round !important;
    animation: dash 1.5s ease-in-out infinite !important;
  }
  
  .loading-progress-text {
    margin-top: 16px !important;
    font-size: 16px !important;
    color: #333 !important;
    text-align: center !important;
  }

  .line {
    flex-grow: 1; /* Line stretches across available space */
    height: 2px; /* Thin line */
    background-color: #ddd; /* Light gray line color */
    z-index: 0; /* Line should be beneath the text */
    margin-top: -28px !important;
    margin-bottom: 21px !important;
  }
  

/* Unterzeilen (Referent, Ort, Preis) */
.selectable span,
.selectable div {
    font-size: 0.9em;
    margin-top: 5px;
    margin-top: 5px;
    position: absolute;
}

/* Styling für die Zeitslots */
.slot {
    margin-top: 20px;
    padding: 10px;
    border: 1px dashed #bbb;
    border-radius: 8px;
    background-color: #f5f5f5;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Überschrift für den Zeitslot */
.slot strong {
    font-size: 1.1em;
    display: block;
    margin-bottom: 10px;
    color: #333;
}

.success-container {
    max-width: 800px;
    margin: 50px auto;
    padding: 20px;
    text-align: center;
    border: 1px solid #d4d4d4;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    background-color: #fefefe;
}

.success-icon {
    font-size: 60px;
    color: #28a745;
    margin-bottom: 20px;
}

.success-title {
    font-size: 32px;
    color: #333;
    margin-bottom: 15px;
}

.success-message {
    font-size: 16px;
    color: #555;
    margin-bottom: 20px;
}

.booking-summary,
.course-list {
    text-align: left;
    margin-top: 20px;
}

.booking-summary ul,
.course-list ul {
    list-style-type: none;
    padding: 0;
}

.booking-summary li,
.course-list li {
    font-size: 16px;
    color: #444;
    margin-bottom: 8px;
}

.course-list .day-segment {
    margin-top: 15px;
}

h2, h3, h4 {
    color: #333;
}

.white-placeholder::placeholder {
  color: white !important;
  opacity: .6; 
}

.success-container {
    max-width: 600px;
    margin: 50px auto;
    text-align: center;
    font-family: Arial, sans-serif;
    color: #333;
}
.success-icon {
    margin-bottom: 20px;
}
.checkmark {
    width: 100px;
    height: 100px;
    display: block;
    margin: 0 auto;
}
.success-title {
    font-size: 2rem;
    color: green;
    margin-bottom: 10px;
}
.success-message {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
}
.event-summary {
    margin-top: 30px;
    text-align: left;
}
.event-summary h2 {
    font-size: 1.5rem;
    color: #444;
    margin-bottom: 10px;
}
.event-summary ul {
    list-style: none;
    padding: 0;
    font-size: 1rem;
}
.event-summary ul li {
    margin-bottom: 10px;
}
.event-summary ul li strong {
    color: green;
}

.responsive-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    font-family: sans-serif;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); /* Equal breaking points */
    gap: 20px; /* Space between items */
}

/* Styling for grid items */
.grid-item {
    padding: 15px;
    text-align: left;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    color: #333;
}

/* Selected state */
.grid-item.selected {
    background-color: #d4edda;
}

/* Styling for titles */
.grid-item-title {
    font-size: 1.2rem;
    display: block;
    margin-bottom: 5px;
    line-height: 19px !important;
}

/* Price styles */
.price {
    color: #666;
    right: 0;
    margin-right: 15px !important;
}

.price-inclusive {
    color: #28a745;
    right: 0;
    margin-right: 15px !important;
}

/* Spots info styles */
.spots-info {
    display: block;
    margin-top: 10px;
    font-size: 0.9rem;
    margin-left: 15px !important;
}

.spots-info.red {
    color: red;
}

.spots-info.green {
    color: green;
}


.styled-title {
    display: flex;
    align-items: center;
    position: relative;
    font-size: 2.5rem; /* Adjust as needed */
    font-weight: bold;
    color: #333;
    margin-bottom: 1rem;
}

.title-text {
    background-color: rgb(245, 245, 245); /* Matches the background to hide the line */
    z-index: 1; /* Ensures it's above the line */
    padding-right: 10px; /* Space between text and line */
}

.date-text {
    margin-left: auto;
    font-size: 0.9rem; /* Smaller text size */
    color: #aaa; /* Light gray */
    background-color: rgb(245, 245, 245); /* Matches the background to hide the line */
    z-index: 1; /* Ensures it's above the line */
    padding-left: 10px; /* Space between date and line */
    margin-bottom: -16px;
    font-family: Arial;
    font-weight: 500;
    font-weight: 600;
    letter-spacing: normal;
}

.styled-title::after {
    content: "";
    flex-grow: 1;
    height: 1px; /* Thin line */
    background-color: rgb(245, 245, 245); /* Light gray color */
    position: absolute;
    left: 0;
    bottom: 50%; /* Center the line vertically with the text */
    z-index: 0; /* Ensure it's below the text */
}

/* Adjust padding to 0 for tablets (screens between 768px and 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
    .responsive-container {
        padding: 0;
    }
}

@media (max-width: 600px) {
    .grid-item-title {
        font-size: 1rem !important; 
        line-height: 17px !important; 
    }

    .grid-container
    {
        gap: 10px !important;
    }
}

.total-price-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding: 10px;
    background-color: #ffffff;
    border: 1px solid #ddd;
    border-radius: 8px;
}

.total-price-text {
    margin: 0;
    color: #333;
}

.total-price-note {
    color: #888;
}

.success-button {
    padding: 10px 30px;
}

.price-label {
    position: absolute;
    top: 10px;
    right: 20px;
    color: gray;
    padding-top: 10px;
    line-height: 1.4;
}


/* General Styling for Selectable Items */
.selectable {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 15px;
    padding-bottom: 30px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #f9f9f9;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: left; /* Align text to the left */
}

.selectable:hover {
    background-color: #eef7ff;
    transform: translateY(-2px);
}

/* Selected State */
.selectable.selected {
    background-color: rgba(200, 255, 213, 0.41);
    color: #1c7a30;
    border: 1px solid #1c7a30;
}

/* Title Styling */
.selectable strong {
    font-size: 1.13rem;
    margin-bottom: 0px;
}

/* Description Styling */
.selectable small {
    font-size: 0.9rem;
    margin-top: 5px;
    display: block;
    color: #666;
}

/* Price and Spots Info */
.price {
    font-size: 0.9rem;
    color: #666;
    margin-top: 5px;
    text-align: right;
}

.price-inclusive {
    color: #28a745;
    font-size: 0.9rem;
    text-align: right;
}

.spots-info {
    margin-top: 5px;
    font-size: 0.9rem;
    color: #888;
    text-align: right;
}

.spots-info.red {
    color: red;
}

.spots-info.green {
    color: green;
}

/* Grid Layout */
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Adjust to two columns or full width */
    gap: 20px;
}
.booking-footer {
    display: none;
}

.combi-price {
    color: gray !important;
    font-size: 0.9rem !important;
    padding-top: 40px !important;
}

.grid-item.disabled {
    background-color: lightgray;
    pointer-events: none; /* Disable interaction */
    cursor: not-allowed; /* Show not-allowed cursor */
    opacity: 0.6; /* Make it visually appear disabled */
}

.grid-item.disabled .grid-item-title {
    color: #888; /* Lighter text for disabled elements */
}

.grid-item.disabled .spots-info {
    font-weight: 600;
    color: #333;
}

@media (max-width: 600px) {
    .price-label {
        top: 40px;
        right: 10px;
        font-size: 21px; /* Larger font size for mobile */
    }
    .grid-container {
        grid-template-columns: 1fr; /* Single column on mobile */
        gap: 10px;
    }

    .selectable {
        padding: 10px;
        border-radius: 5px;
        padding-bottom: 30px;
    }

    .selectable strong {
        font-size: 1.13rem;
    }

    .selectable small,
    .price,
    .spots-info {
        font-size: 0.8rem;
    }

    .spots-info
    {
            display: block;
            margin-top: 10px;
            font-size: 0.9rem;
            margin-left: 10px !important;
    }

    .total-price-container {
        flex-direction: column;
        align-items: flex-start;
    }
    .price {
        margin-right: 10px !important;
    }

    .price-inclusive {
        margin-right: 10px !important;
    }

    .price-label{
        position: initial;
        padding: 0;
        margin-bottom: 0px !important;
    }

    .success-button {
        width: 100%; /* Full width button */
        margin-top: 10px;
    }

    .custom-steps .rz-steps-title {
        display: none;
    }
    
    .responsive-container {
        padding-left: 0;
        padding-right: 0;
    }

    .rz-footer {
        display: none !important;
    }

    .booking-footer {
        display: block;
    }
}