/* ============================================
   Kurse Styles - Vorlage basierend auf Screenshots
   ============================================ */

/* Link-Styles für Kurs-Container zurücksetzen */
.kurse-vorschau-container a,
.kurse-archiv-container a {
    color: inherit !important;
    text-decoration: none !important;
}

.kurse-vorschau-container a:hover,
.kurse-archiv-container a:hover {
    color: inherit !important;
    text-decoration: none !important;
}

/* Account-Navigation: Nur Unterstreichung entfernen */
.woocommerce-MyAccount-navigation ul a {
    text-decoration: none !important;
}

/* Fusion-Buttons als <a> Tag: Keine Text-Decoration */
a.fusion-button,
a.fusion-button:hover,
a.bssh-stornieren-btn,
a.bssh-stornieren-btn:hover {
    text-decoration: none !important;
}

/* WooCommerce Account Content - Base Styling */
.hentry .woocommerce-MyAccount-content {
    border-radius: 8px;
    background-color: #ffffff;
    border-style: none;
}

/* Container für Vorschau */
.kurse-vorschau-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Kurse vorschau container - Avada specific overrides */
.hentry .fusion-flex-column .kurse-vorschau-container {
    padding-left: 0px;
    padding-right: 0px;
    margin-left: 0px;
    margin-right: 0px;
    max-width: 100%;
}

#boxed-wrapper #wrapper #main .fusion-row #content .hentry .post-content .fusion-builder-row-3 .fusion-flex-align-items-flex-start .fusion-flex-column .fusion-column-wrapper .kurse-vorschau-container {
    width: 100%;
}

.kurse-archiv-container {
    max-width: 100%;
    margin: 0 auto;
    margin-left: 0px;
    margin-right: 0px;
    padding: 20px 0;
}

/* Kurs Card - Listen-Ansicht (Vorschau UND Archiv) - Row Layout */
.kurse-vorschau-container .kurs-card,
.kurse-archiv-container .kurs-card {
    display: block;
    padding: 24px;
    background: #FFFFFF;
    box-shadow: 0px 4px 24px rgba(0, 0, 0, 0.06);
    border-radius: 8px;
    transition: all 0.2s ease;
    text-decoration: none;
    margin-bottom: 16px;
    font-family: inherit;
    position: relative; /* Wichtig für absolute positionierte Kinder in Mobile */
}

.kurse-vorschau-container .kurs-card:hover,
.kurse-archiv-container .kurs-card:hover {
    box-shadow: 0px 6px 28px rgba(0, 0, 0, 0.1);
}

/* Row inside card with columns */
.kurs-card-row {
    display: grid;
    grid-template-columns: auto auto 1fr auto auto;
    align-items: center;
    gap: 12px;
}

/* Datum rechtsbündig direkt vor Button */
.kurs-card-row .kurs-date {
    text-align: right;
    margin-right: 8px;
}

/* Kurstyp Badge - Exact specifications from design */
.kurs-typ {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 6px 8px;
    gap: 8px;
    width: 72px;
    height: 24px;
    border-radius: 4px;
    font-family: inherit;
    font-style: normal;
    font-weight: 500;
    font-size: 12px;
    line-height: 12px;
    color: #000000;
    white-space: nowrap;
    flex: none;
    order: 0;
    flex-grow: 0;
}

.kurs-typ.in-person {
    background: #ffffff;
    border: 1px solid #00838F;
}

.kurs-typ.online {
    background: #ffffff;
    border: 1px solid #3E33D3;
}

.kurs-typ.hybrid {
    background: #ffffff;
    border: 1px solid #fde68a;
}

/* Location */
.kurs-location {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #000000;
    font-size: 16px;
    white-space: nowrap;
    font-family: inherit;
}

.kurs-location svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* Title - No heading tag, just div */
.kurs-card-title {
    font-size: 18px;
    font-weight: 600;
    color: #111827;
    margin: 0;
    line-height: 1.4;
    text-align: left;
    font-family: inherit;
    text-decoration: underline;
    text-decoration-color: transparent;
    text-decoration-thickness: 2px;
    text-underline-offset: 6px;
    text-decoration-skip-ink: auto;
    transition: text-decoration-color 0.2s ease;
}

.kurs-card:hover .kurs-card-title {
    text-decoration-color: #2D2E2E;
}

.kurse-archiv-container .kurs-title {
    font-size: 20px;
    font-weight: 600;
    color: #111827;
    margin: 8px 0;
    line-height: 1.3;
}

/* Date */
.kurs-date {
    color: #6b7280;
    font-size: 14px;
    margin: 0;
    white-space: nowrap;
    font-family: inherit;
}

.kurs-date strong {
    font-weight: 700;
    color: #111827;
    font-size: 16px;
}

.kurs-date .date-value {
    font-weight: 400;
    color: #000000;
    font-size: 16px;
}

/* Avada Button in Card - Arrow on left of text */
.kurs-button-inline {
    display: inline-flex !important;
    align-items: center !important;
    flex-direction: row !important;
    gap: 8px !important;
    white-space: nowrap !important;
    font-weight: 500 !important;
}

.kurs-button-inline svg {
    width: 20px;
    height: 20px;
    transition: transform 0.2s ease;
    order: -1;
}

.kurs-button-inline .fusion-button-text {
    order: 1;
    font-size: 16px;
}

.kurs-card:hover .kurs-button-inline svg {
    transform: translateX(-3px);
}

/* ============================================
   Filter Section (Archiv Seite)
   ============================================ */

.kurse-filter-section {
    margin-bottom: 32px;
    border-style: none;
    padding-left: 0px;
    padding-right: 0px;
}

.kurse-filter-form {
    display: flex;
    gap: 12px;
    align-items: stretch;
    flex-wrap: nowrap;
}

.filter-group {
    flex: 0 0 auto;
}

.filter-select {
    padding: 10px 16px;
    border: 1px solid #E5E7EB;
    border-radius: 4px;
    background: white;
    font-size: 16px;
    color: #000000;
    cursor: pointer;
    transition: border-color 0.2s;
    font-family: inherit;
    height: 44px;
    min-width: 150px;
}

.filter-select:hover {
    border-color: #D1D5DB;
}

.filter-select:focus {
    outline: none;
    border-color: #9CA3AF;
}

/* Search Group */
.search-group {
    display: flex;
    gap: 0;
    flex: 0 0 auto;
    position: relative;
    margin-left: auto;
    max-width: 450px;
}

.search-input {
    flex: 1;
    padding: 10px 56px 10px 16px;
    border: 1px solid #E5E7EB;
    border-radius: 4px;
    font-size: 16px;
    color: #000000;
    transition: border-color 0.2s;
    font-family: inherit;
    height: 44px;
    min-width: 0;
    width: 100%;
}

.search-input:focus {
    outline: none;
    border-color: #9CA3AF;
}

.search-input::placeholder {
    color: #6B7280;
}

.search-icon {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 44px;
    background: transparent;
    color: #000000;
    border: none;
    border-radius: 0 4px 4px 0;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-icon svg {
    width: 24px;
    height: 24px;
}

/* Kurse Liste */
.kurse-liste {
    display: flex;
    flex-direction: column;
}

/* No Results */
.no-results {
    text-align: center;
    padding: 60px 20px;
    background: #f9fafb;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
}

.no-results p {
    color: #6b7280;
    font-size: 16px;
    margin: 0;
}

/* ============================================
   Bewerbungsfelder für WooCommerce Checkout (Avada-kompatibel)
   ============================================ */

/* Verstecke "Keine Zahlungsmethoden verfügbar" Meldung NUR bei Bewerbungskursen */
body.has-bewerbung-kurs.woocommerce-checkout .woocommerce-NoticeGroup-checkout {
    display: none !important;
}

body.has-bewerbung-kurs.woocommerce-checkout .woocommerce-NoticeGroup {
    display: none !important;
}

body.has-bewerbung-kurs.woocommerce-checkout .wc_payment_methods {
    display: none !important;
}

body.has-bewerbung-kurs.woocommerce-checkout .wc-block-components-notice-banner {
    display: none !important;
}

/* Entferne alle Design-Elemente - nutze 100% Avada/WooCommerce Styling */

/* Section - keine Border, kein Background, keine Box-Shadow */
.checkout .fusion-flex-column .woocommerce-additional-fields,
.checkout .fusion-flex-column .bssh-bewerbung-section {
    border-style: none !important;
    background-color: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
}

/* Upload-Felder - 16px padding */
.bssh-bewerbung-section .form-row {
    padding-left: 16px !important;
    padding-right: 16px !important;
}

/* Berufsgruppe Field - kein extra Padding */
#bewerbung_berufsgruppe_field {
    padding-left: 16px !important;
    padding-right: 16px !important;
}

/* File Upload Wrapper */
.bssh-file-upload-wrapper {
    margin-bottom: 20px;
}

.bssh-file-input-group {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.bssh-file-input-group .bssh-file-button {
    flex-shrink: 0;
}

.bssh-file-input-group .bssh-file-name {
    display: inline-block;
    padding: 8px 12px;
    background: var(--awb-color2);
    border: 1px solid var(--awb-color3);
    border-radius: 4px;
    color: var(--body_typography-color);
    font-size: 14px;
    font-style: italic;
    flex-grow: 1;
    min-width: 200px;
}

.bssh-format-hint {
    display: block;
    margin-top: 6px;
    color: var(--body_typography-color);
    opacity: 0.7;
}

/* Verstecke native File Input komplett */
.bssh-hidden-file-input {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0,0,0,0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* Bedingte Felder (für Arzt/Psychologe) - nur Sichtbarkeit */
.bewerbung-arzt,
.bewerbung-psychologe {
    display: none;
}

.bewerbung-arzt.show,
.bewerbung-psychologe.show {
    display: block;
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Verstecke Mengen-Spalte in Order Review (nur Einzelverkauf) */
.woocommerce-checkout-review-order-table .product-quantity,
.woocommerce-checkout-review-order-table th.product-quantity {
    display: none !important;
}

/* 769px und größer */
@media (min-width: 769px) {
    .checkout .fusion-flex-column .woocommerce-additional-fields,
    .checkout .fusion-flex-column .bssh-bewerbung-section {
        padding-left: 0 !important;
        padding-right: 0 !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }
}

/* ============================================
   Meine Kursinhalte - My Account Tab
   ============================================ */
.bssh-kursinhalte-wrapper {
    margin-top: 20px;
}

.bssh-kursinhalte-wrapper h2 {
    margin-bottom: 30px;
    font-family: var(--h2_typography-font-family) !important;
    font-weight: var(--h2_typography-font-weight) !important;
    font-style: var(--h2_typography-font-style) !important;
    font-size: var(--h2_typography-font-size) !important;
    line-height: var(--h2_typography-line-height) !important;
    letter-spacing: var(--h2_typography-letter-spacing) !important;
    text-transform: var(--h2_typography-text-transform) !important;
}

.bssh-kurs-content-item {
    margin-bottom: 40px;
    padding: 30px;
    background: var(--awb-color2);
    border: 1px solid var(--awb-color3);
    border-radius: 6px;
}

.bssh-kurs-content-item h3 {
    margin-top: 0;
    margin-bottom: 20px;
    color: var(--awb-color5);
}

.bssh-kurs-content {
    color: var(--body_typography-color);
}

.bssh-kurs-content img {
    max-width: 100%;
    height: auto;
}

.bssh-kurs-content a {
    color: var(--link_hover_color);
}

.bssh-kurs-content a:hover {
    color: var(--link_hover_color);
    text-decoration: underline;
}

/* ============================================
   Responsive Design
   ============================================ */

@media (max-width: 768px) {
    .kurs-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .kurs-button {
        width: 100%;
        justify-content: center;
    }

    .kurse-filter-form {
        flex-direction: column;
        align-items: stretch;
    }

    .filter-group,
    .search-group {
        width: 100%;
        min-width: auto;
    }

    .filter-select {
        width: 100%;
    }

    .bssh-bewerbung-section {
        padding: 16px;
    }
}

@media (max-width: 860px) {
    /* Mobile: Stack vertically */
    .kurs-card-row {
        display: flex;
        flex-direction: column;
        gap: 12px;
        align-items: stretch;
    }
    
    /* First row: Kurstyp and Location side by side */
    .kurs-card-row .kurs-typ,
    .kurs-card-row .kurs-location {
        order: 1;
    }
    
    .kurs-card-row .kurs-typ {
        align-self: flex-start;
    }
    
    .kurs-card-row .kurs-location {
        align-self: flex-end;
        margin-left: auto;
        position: absolute;
        right: 24px;
        top: 24px;
    }
    
    /* Title */
    .kurs-card-row .kurs-card-title {
        order: 2;
        margin-top: 8px;
    }
    
    /* Date */
    .kurs-card-row .kurs-date {
        order: 3;
        text-align: left;
        margin-right: 0;
    }
    
    /* Button NOT full width - align left */
    .kurs-card-row .kurs-button-inline {
        order: 4;
        align-self: flex-start;
        margin-top: 4px;
    }
    
    /* Ensure cards have relative positioning for absolute location */
    .kurse-vorschau-container .kurs-card,
    .kurse-archiv-container .kurs-card {
        padding: 20px;
        position: relative;
    }
    
    .kurs-title {
        font-size: 16px;
    }
    
    /* Filter responsive */
    .kurse-filter-form {
        flex-direction: column;
        gap: 12px;
    }
    
    .filter-group,
    .search-group {
        width: 100%;
        max-width: none;
    }
    
    .filter-select,
    .search-input {
        width: 100%;
        min-width: 100%;
    }
    
    .search-group {
        margin-left: 0;
    }
}

/* ============================================
   Keine Kurse Meldung
   ============================================ */
.kurse-keine-kurse {
    text-align: center;
    padding: 40px 20px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    margin-bottom: 20px;
}

.kurse-keine-kurse p {
    margin: 0;
    color: #6b7280;
    font-size: 16px;
    line-height: 1.5;
}

/* ============================================
   Bewerbungsprozess Styles
   ============================================ */

.bssh-bewerbung-section {
    background: #ffffff;
    border: 2px solid #3e33d3;
    border-radius: 8px;
    padding: 30px;
    margin: 30px 0;
    box-shadow: 0 2px 8px rgba(62, 51, 211, 0.1);
}

.bssh-bewerbung-section h3 {
    color: #3e33d3;
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 22px;
    font-weight: 700;
    border-bottom: 2px solid #3e33d3;
    padding-bottom: 12px;
}

.bssh-bewerbung-section .form-row {
    margin-bottom: 24px;
    background: #f8f9fa;
    padding: 16px;
    border-radius: 6px;
}

.bssh-bewerbung-section label {
    font-weight: 600;
    color: #333;
    display: block;
    margin-bottom: 10px;
    font-size: 15px;
}

.bssh-bewerbung-section .required {
    color: #dc3545;
    font-weight: bold;
}

.bssh-bewerbung-section input[type="file"],
.bssh-bewerbung-section select {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-size: 15px;
    background: white;
    transition: border-color 0.3s;
}

.bssh-bewerbung-section input[type="file"]:focus,
.bssh-bewerbung-section select:focus {
    border-color: #3e33d3;
    outline: none;
}

.bssh-bewerbung-section small {
    display: block;
    margin-top: 8px;
    color: #666;
    font-size: 13px;
    font-style: italic;
}

/* Wichtiger Hinweis Box */
.bssh-bewerbung-section p strong {
    color: #856404;
}

/* Admin Meta Box Styles */
.bssh-bewerbung-admin table.widefat {
    margin: 16px 0;
}

.bssh-bewerbung-admin .button-primary {
    background: #28a745;
    border-color: #28a745;
}

.bssh-bewerbung-admin .button-primary:hover {
    background: #218838;
    border-color: #1e7e34;
}

.bssh-approve-bewerbung {
    font-weight: 600;
}

.bssh-reject-bewerbung {
    background: #dc3545;
    border-color: #dc3545;
    color: #fff;
}

.bssh-reject-bewerbung:hover {
    background: #c82333;
    border-color: #bd2130;
    color: #fff;
}

/* ============================================
   WooCommerce My Account & Order Details Anpassungen
   ============================================ */

/* Überschriften - Avada H2/H3 Styling */
.woocommerce-order-details__title,
h2.woocommerce-order-details__title {
    font-family: var(--h2_typography-font-family) !important;
    font-weight: var(--h2_typography-font-weight) !important;
    font-style: var(--h2_typography-font-style) !important;
    font-size: var(--h2_typography-font-size) !important;
    line-height: var(--h2_typography-line-height) !important;
    letter-spacing: var(--h2_typography-letter-spacing) !important;
    text-transform: var(--h2_typography-text-transform) !important;
}

.avada-customer-details header h2,
.woocommerce-columns--addresses .title h3 {
    font-family: var(--h3_typography-font-family) !important;
    font-weight: var(--h3_typography-font-weight) !important;
    font-style: var(--h3_typography-font-style) !important;
    font-size: var(--h3_typography-font-size) !important;
    line-height: var(--h3_typography-line-height) !important;
    letter-spacing: var(--h3_typography-letter-spacing) !important;
    text-transform: var(--h3_typography-text-transform) !important;
}

/* Tabellenkopfzeilen & Inhalte - Avada Body Font */
.woocommerce table.woocommerce-MyAccount-orders thead th,
.woocommerce-table--order-details thead th,
.woocommerce-order-details table thead th,
.woocommerce-table--order-details thead,
.woocommerce-table--order-details tbody,
.woocommerce-table--order-details tbody td,
.woocommerce-table--order-details tfoot,
.woocommerce-table--order-details tfoot th,
.woocommerce-table--order-details tfoot td,
.woocommerce-order-details table tbody td,
.woocommerce-order-details table tfoot td,
.woocommerce-order-details table tfoot th,
.woocommerce-order-details table tfoot th[scope="row"],
.woocommerce-order-details table tfoot td.product-total {
    font-family: var(--body_typography-font-family) !important;
    font-weight: var(--body_typography-font-weight) !important;
    font-style: var(--body_typography-font-style) !important;
}

/* Verstecke Produktbilder in Bestelldetails */
.woocommerce-order-details .product-thumbnail,
.woocommerce-table--order-details .product-thumbnail,
.woocommerce-MyAccount-orders .product-thumbnail {
    display: none !important;
}

/* Verstecke Quantity Multiplikator (×2, ×3, etc.) */
.woocommerce-order-details .product-quantity,
.woocommerce-table--order-details .product-quantity,
.woocommerce-MyAccount-orders .product-quantity {
    display: none !important;
}

/* Verstecke "Warenkorb ansehen" Column komplett im My Account Dashboard */
.avada-myaccount-user-column:has(.view-cart) {
    display: none !important;
}

/* Verstecke Zahlungsart-Zeile bei Bewerbungsorders */
body.order-is-bewerbung .woocommerce-table--order-details tfoot tr th[scope="row"] {
    font-size: inherit;
}

body.order-is-bewerbung .woocommerce-table--order-details tfoot tr:has(th:contains("Zahlungsart")) {
    display: none !important;
}

/* Fallback für ältere Browser ohne :has() Support */
body.order-is-bewerbung .woocommerce-table--order-details tfoot tr:nth-last-child(1):last-child {
    display: none !important;
}

/* ============================================
   Pay-for-Order Seite - Genehmigte Bewerbung
   ============================================ */

/* Bewerbung Payment Info - ohne Padding und Border */
.hentry form .bssh-bewerbung-payment-info {
    padding-left: 0px !important;
    border-left-style: none !important;
    padding-right: 0px !important;
}

/* H2 Überschrift in Form */
.hentry form h2 {
    margin-top: 30px;
}

/* ============================================
   Fallseminar/Supervision Buchungssystem
   ============================================ */

.bssh-fallseminare {
    margin-top: 30px;
}

.bssh-fallseminare h3 {
    font-family: var(--h3_typography-font-family);
    font-weight: var(--h3_typography-font-weight);
    font-size: var(--h3_typography-font-size);
    margin-bottom: 20px;
    color: var(--awb-color5);
}

/* Meine Buchungen Section */
.bssh-meine-buchungen {
    margin-bottom: 40px;
}

.bssh-buchung-card {
    background: #fafafa;
    border: none;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
    transition: all 0.2s;
}

.bssh-buchung-card:hover {
    box-shadow: none;
}

.bssh-buchung-card.rot-markiert {
    border: 2px solid #dc3545;
}

.bssh-buchung-item {
    background: var(--awb-color2);
    border: 1px solid var(--awb-color3);
    border-radius: 6px;
    padding: 20px;
    margin-bottom: 15px;
}

.bssh-buchung-item h4 {
    margin-top: 0;
    margin-bottom: 12px;
    color: var(--awb-color5);
    font-size: 18px;
}

.bssh-buchung-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 14px;
    color: var(--body_typography-color);
}

.bssh-buchung-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.bssh-stornieren-btn {
    background: #dc3545;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.2s;
}

.bssh-stornieren-btn:hover {
    background: #c82333;
}

.bssh-stornieren-btn:disabled {
    background: #6c757d;
    cursor: not-allowed;
}

/* Verfügbare Termine Section */
.bssh-verfuegbare-termine {
    margin-top: 30px;
}

/* Filter */
.bssh-termine-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
    margin-bottom: 25px;
    padding: 20px;
    background: #fafafa;
    border: none;
    border-radius: 8px;
}

.bssh-format-filter-btn {
    padding: 8px 16px;
    background: white;
    border: 1px solid var(--awb-color3);
    border-radius: 4px;
    text-decoration: none !important;
    color: var(--body_typography-color);
    font-size: 14px;
    transition: all 0.2s;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.bssh-format-filter-btn:hover {
    background: var(--awb-color2);
    text-decoration: none !important;
}

.bssh-format-filter-btn.active {
    background: var(--primary_color);
    color: white !important;
    border-color: var(--primary_color);
    text-decoration: none !important;
}

.bssh-termine-filter label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    cursor: pointer;
    font-size: 14px;
}

.bssh-termine-filter input[type="checkbox"] {
    margin: 0;
}

/* Terminliste */
.bssh-termine-liste {
    display: grid;
    gap: 20px;
}

.bssh-termin-card {
    background: #fafafa;
    border: none;
    border-radius: 8px;
    padding: 20px;
    transition: all 0.2s;
}

.bssh-termin-card:hover {
    box-shadow: none;
    transform: none;
}

.bssh-termin-card.rot-markiert {
    border: 2px solid #dc3545;
}

.termin-header {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 12px;
    font-weight: 600;
    color: var(--awb-color5);
}

.termin-header .datum,
.termin-header .uhrzeit {
    display: flex;
    align-items: center;
    gap: 6px;
}

.termin-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}

.bssh-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 500;
    border: 1px solid;
}

.bssh-badge-praesenz {
    background: #e3f2fd;
    color: #1976d2;
    border-color: #1976d2;
}

.bssh-badge-online {
    background: #f3e5f5;
    color: #7b1fa2;
    border-color: #7b1fa2;
}

.bssh-badge-hybrid {
    background: #fff3e0;
    color: #f57c00;
    border-color: #f57c00;
}

.termin-kapazitaet {
    margin-bottom: 15px;
}

.plaetze-frei {
    color: #28a745;
    font-weight: 500;
}

.plaetze-ausgebucht {
    color: #dc3545;
    font-weight: 500;
}

.plaetze-warnung {
    color: #ffc107;
    font-weight: 500;
}

.teilnehmer-kuerzel {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.teilnehmer-kuerzel code {
    background: var(--awb-color3);
    padding: 4px 8px;
    border-radius: 3px;
    font-size: 12px;
    font-family: monospace;
}

.termin-actions {
    display: flex;
    gap: 10px;
}

.bssh-buchen-btn,
.bssh-warteliste-btn,
.bssh-gebucht-btn,
.bssh-ausgebucht-btn {
    text-decoration: none !important;
}

.bssh-buchen-btn:hover,
.bssh-warteliste-btn:hover,
.bssh-gebucht-btn:hover,
.bssh-ausgebucht-btn:hover {
    text-decoration: none !important;
}

/* Modal */
.bssh-modal {
    display: none;
    position: fixed;
    z-index: 999999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
}

.bssh-modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 30px;
    border-radius: 8px;
    max-width: 500px;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.bssh-modal-close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 28px;
    font-weight: bold;
    color: #aaa;
    cursor: pointer;
    line-height: 1;
}

.bssh-modal-close:hover {
    color: #000;
}

#bssh-buchung-modal h3 {
    margin-top: 0;
    margin-bottom: 20px;
    color: var(--awb-color5);
}

.termin-info {
    background: var(--awb-color2);
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.termin-info p {
    margin: 0;
    color: var(--body_typography-color);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--awb-color5);
}

.form-group input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--awb-color3);
    border-radius: 4px;
    font-size: 15px;
    font-family: var(--body_typography-font-family);
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary_color);
}

.form-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 25px;
}

.bssh-cancel-btn,
.bssh-submit-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.bssh-cancel-btn {
    background: #6c757d;
    color: white;
}

.bssh-cancel-btn:hover {
    background: #5a6268;
}

.bssh-submit-btn {
    background: var(--primary_color);
    color: white;
}

.bssh-submit-btn:hover {
    background: var(--primary_color);
    filter: brightness(1.1);
}

.bssh-submit-btn:disabled {
    background: #6c757d;
    cursor: not-allowed;
}

/* Input */
#bssh-newsletter-alt-form input[type=email]{
	background-color:#fafafa;

}

/* Responsive */
@media (max-width: 768px) {
    .bssh-modal-content {
        margin: 10% 20px;
        padding: 20px;
    }

    .bssh-termine-filter {
        flex-direction: column;
        align-items: stretch;
    }

    .termin-header {
        flex-direction: column;
        gap: 8px;
    }

    .form-actions {
        flex-direction: column;
    }

    .bssh-cancel-btn,
    .bssh-submit-btn {
        width: 100%;
    }
}

/* ============================================
   Password Show/Hide Button - Font Awesome Icon
   ============================================ */

/* Verstecke Standard WooCommerce Text */
.show-password-input {
    position: absolute !important;
    right: 10px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    cursor: pointer;
    font-size: 0; /* Verstecke Text */
    width: 40px !important;
    height: 40px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Font Awesome Eye Icon (geschlossen) */
.show-password-input::before {
    font-family: 'Font Awesome 5 Free', 'FontAwesome';
    content: '\f070'; /* fa-eye-slash */
    font-weight: 900;
    font-size: 18px;
    color: #666;
    transition: color 0.2s ease;
    display: block;
    line-height: 1;
}

/* Wenn Passwort sichtbar ist */
.show-password-input.display-password::before {
    content: '\f06e'; /* fa-eye */
}

/* Hover Effekt */
.show-password-input:hover::before {
    color: #333;
}

/* ============================================
   Testimonials Carousel
   ============================================ */

.testimonials-slider-wrapper {
    position: relative;
    overflow: hidden;
    padding: 40px 0 60px;
    max-width: 100%;
}

.testimonials-slider {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc(50% - 20px);
    gap: 40px;
    transition: transform 0.6s ease-in-out;
    touch-action: pan-y;
}

.testimonials-slider.no-transition {
    transition: none;
}

.testimonial-slide {
    min-width: 400px;
    display: grid;
    grid-template-rows: 1fr auto;
    height: 100%;
}

.testimonial-box {
    background-color: var(--awb-color3);
    padding: 80px 102px;
    border-radius: 8px;
    margin-bottom: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-box p {
    font-family: 'Lora', serif;
    font-size: 28px;
    line-height: 36px;
    letter-spacing: -0.01em;
    text-align: center;
    color: var(--awb-color8);
    margin: 0;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.testimonial-author strong {
    font-family: 'Lora', serif;
    font-size: 20px;
    line-height: 26px;
    letter-spacing: -0.01em;
    color: var(--awb-color8);
}

.testimonial-author span {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    line-height: 24px;
    color: var(--awb-color8);
}

.testimonial-dots {
    display: flex;
    justify-content: flex-start;
    gap: 8px;
    margin-top: 40px;
}

.testimonial-dot {
    width: 32px;
    height: 3px;
    background-color: #CCCCCC;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.testimonial-dot.active {
    background-color: var(--awb-color4);
    width: 64px;
    height: 4px;
}

@media (max-width: 1000px) {
    .testimonials-slider {
        grid-auto-columns: 100%;
        gap: 0;
    }
    .testimonial-slide {
        min-width: 100%;
    }
    .testimonial-box {
        padding: 40px 30px;
    }
    .testimonial-box p {
        font-size: 20px;
        line-height: 28px;
    }
}

/* ============================================
   WooCommerce Login Form - Mobile Spacing
   ============================================ */

@media (max-width: 768px) {
    button.woocommerce-button.woocommerce-form-login__submit {
        margin-bottom: 10px !important;
    }
}
