/*
Theme Name: Ayuriya Kurse
Theme URI: https://ayuriya-yoga.de/
Author: der Arthur GmbH
Author URI: http://der-arthur.de
Description: Ayuriya Theme
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ayuriya-kurse
*/

.custom-lost-password {
    margin-top: 15px;
    text-align: left; /* Oder 'center', je nach Design */
}

.custom-lost-password a {
    color: #0073aa; /* Deine Wunschfarbe */
    text-decoration: none;
}

.custom-lost-password a:hover {
    text-decoration: underline;
}

p.error {
    color: darkred;
    width: 100% !important;
    display: block;
    float: none;
    clear: both;
}


li#menu-item-537, .logged-in li#menu-item-329, .logged-in li#menu-item-538, li#menu-item-326, li#menu-item-539 {
    display: none !important;
}
.logged-in li#menu-item-326, .logged-in li#menu-item-539, .logged-in li#menu-item-537 {
    display: inline-block !important;
}   


/* Registration Form */
.user-registration-form {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    max-width: 900px;
    margin: 24px 0;
}

.user-registration-form > div {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.user-registration-form label {
    font-weight: 600;
    font-size: 0.95rem;
}

.user-registration-form input {
    width: 100%;
    padding: 12px 0;
    border: 0;
    border-bottom: 3px solid #88be0e;
    background: transparent;
    font: inherit;
}

.user-registration-form input:focus {
    outline: none;
    border-bottom-color: #6f9e0a;
}

.user-registration-form button {
    width: fit-content;
    padding: 12px 18px;
    border: 0;
    background: #88be0e;
    color: #fff;
    cursor: pointer;
}

.user-registration-form .form-message {
    padding: 12px 14px;
    display: none;
}

.user-registration-form .form-message.success {
    display: block;
    background: #eef8f0;
    color: #1f6f3f;
}

.user-registration-form .form-message.error {
    display: block;
    background: #fff3f3;
    color: #a33;
}

.user-registration-form input.is-invalid {
    border-bottom-color: #c94a4a;
    background: #fff7f7;
}

.user-registration-form .field-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    width: 100%;
}

.user-registration-form .field-row > div {
    width: 100%;
}
form#user-profile-form p {
    /* width: 100% !important; */
    font-size: 15px;
    line-height: 120%;
}

div#content.profil-wrapper .con {
    width: 100%;
}

div#content.profil-wrapper {
    width: 1600px ;
}
div#content.profil-wrapper .con .c02:first-child {
    padding-right: 50px;
}
div#content.profil-wrapper .termine-liste-wrapper {
    padding-top: 0;
    margin: 0;
}




/* Profilseite: Badges und Status-Styles für Kurse */
.termin-point .kurs-status-meta {
    margin-top: 5px;
    display: flex;
    gap: 8px;
    align-items: center;
}

.termin-point .badge {
    display: inline-block;
    padding: 3px 8px;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 4px;
    line-height: 1.2;
}

/* Badge Varianten */
.badge-gekauft {
    background-color: #e6f4ea;
    color: #88be0e;
    border: 1px solid #ceead6;
}

.badge-vor-ort {
    background-color: #f2f2f2;
    color: #ffb700;
    border: 1px solid #ffb700;
}

.badge-abgelaufen {
    background-color: #fce8e6;
    color: #c5221f;
    border: 1px solid #fad2cf;
}

/* Abgelaufene Kurse leicht ausgrauen */
.termin-point.status-abgelaufen {
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.termin-point.status-abgelaufen:hover {
    opacity: 1;
}




@media (max-width: 1640px) {

div#content.profil-wrapper {
    width: 100% ;
    margin: 0;
    padding: 180px 30px;
}
}


@media (min-width: 768px) {
 

    .user-registration-form {
        grid-template-columns: repeat(2, 1fr);
    }

    .user-registration-form .field-row,
    .user-registration-form .form-message,
    .user-registration-form button {
        grid-column: 1 / -1;
    }

    .user-registration-form .field-row.street-row {
        grid-template-columns: 1fr;
    }

    .user-registration-form .field-row.location-row {
        grid-template-columns: 0.8fr 1.2fr;
    }

    .user-registration-form .field-row.password-row {
        grid-template-columns: 1fr 1fr;
    }
 
}

@media screen and (max-width: 768px) {

   div#content.profil-wrapper .con .c02:first-child {
        padding-right: 0 !important;
        padding-bottom: 60px;
    }
}







/* Lightbox Container */
#custom-lightbox {
    position: fixed;
    z-index: 99999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

#custom-lightbox.active {
    opacity: 1;
    pointer-events: auto;
}

/* Bild-Bereich */
.lightbox-content {
    max-width: 85%;
    max-height: 85%;
    display: flex;
    justify-content: center;
    align-items: center;
}

#lightbox-img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 4px;
    transition: opacity 0.15s ease-in-out;
}

/* Schließen-Button */
.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    user-select: none;
    transition: color 0.2s;
}
.lightbox-close:hover { color: #ccc; }

/* Navigation Pfeile */
.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    font-size: 30px;
    padding: 20px;
    cursor: pointer;
    user-select: none;
    transition: background 0.2s, color 0.2s;
    border-radius: 4px;
}
.lightbox-nav:hover { background: rgba(255,255,255,0.1); }
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }












.single-kurse .login-hinweis {
    padding-top: 120px;
}
h3.compact-chapter-title {
    margin-bottom: 6px;
}
ul.compact-lessons-list {
    font-size: 14px;
    line-height: 150%;
    /* display: inline-block; */
    margin-bottom: 7px;
    margin-left: 18px;
}

.kurs-button.button.btn {
    background: #87be0e;
    color: #fff;
    font-weight: 600;
}







