﻿body {
    font-family: Arial, sans-serif;
    background-color: #f8f9fa;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    scroll-behavior: unset; /* Verhindert automatisches Scrollen */
    overscroll-behavior: none; /* Keine übermäßigen Scroll-Effekte */
    user-select: none; /*Verhindert die Textmarkierung */
    -webkit-user-select: none; /* Verhindert Textauswahl auf mobilen Safari */
    -ms-user-select: none; /* Für ältere Edge- und IE-Versionen */
    -moz-user-select: none; /* Für ältere Firefox-Versionen */
    touch-action: manipulation; /* Verhindert unerwünschte Standard-Touch-Effekte */
}

.wizard-container {
    padding: 20px;
    max-width: 600px;
    width: 100%;
}

    .wizard-container h2 {
        text-align: center;
        margin-top: 0;
        margin-bottom: 30px;
        color: #333;
        font-size: 20px;
    }

.form-group {
    position: relative;
    margin-top: 10px;
    margin-bottom: 35px;
    box-sizing: border-box;
}

    .form-group label {
        position: absolute;
        border-radius: 5px;
        border: solid 1px #999;
        top: -8px;
        left: 15px;
        background-color: #fff;
        padding: 0 5px 0 5px;
        font-size: 14px;
        color: #333;
        z-index: 1; /* label auf die input */
        display: block;
    }

.form-control {
    position: relative;
    min-width: 100%;
    font-size: 14px;
    background-color: #fff;
    border: 1px solid #999;
    border-radius: 5px;
    height: 60px;
    outline: none;
    box-sizing: border-box;
}

.code-input {
    font-size: 24px;
    text-align: center;
    letter-spacing: 20px;
    font-weight: bold;
    width: 100%;
    margin: 0 auto;
}

    /* 1) İnput’un kendi odak rengi (zorunlu) */
    .form-control:focus {
        border-color: #007bff;
    }
    /* 2) Aynı anda label’ın border’ı da mavi olsun */
    .form-group:has(.form-control:focus) label {
        background-color: #007bff;
        border: none;
        color: #fff;
    }

.buttons-bar {
    display: flex;
    justify-content: space-around;
    align-items: center;
    position: fixed;
    bottom: 0;
    left: 0;
    gap: 10px;
    width: 100%;
    height: 70px;
    background-color: #f9f9f9;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.3);
    z-index: 1000; /* Stellt sicher, dass es über anderen Elementen liegt */
}

.action-buttons {
    display: flex;
    gap: 10px;
}

.description {
    gap: 3px;
    background-color: #fff;
    color: #000;
    border: solid 1px #ccc;
    border-radius: 5px;
    padding: 20px;
    font-size: 12px;
}

.emailDescription {
    border: 1px solid #999;
    background-color: #fff;
    color: #000;
    font-weight: bold;
    padding: 0 3px 0 3px;
    border-radius: 4px;
    font-family: monospace;
    display: inline-block; /* Breite passt sich an den Text an */
    max-width: fit-content; /* Breite auf den Inhalt beschränken */
}

.success-message {
    display: flex;
    align-items: center;
    border: 1px solid #0AAC4D;
    background-color: #fff;
    color: #0AAC4D;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    width: fit-content;
    padding: 20px;
    gap: 10px;
}

.checkmark {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
    background-color: #0AAC4D;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    border-radius: 50%;
    flex-shrink: 0; /* verhindert das symbol erzwingen */
}

.input-wrapper {
    position: relative;
}

.eye-icon {
    position: absolute;
    right: 5px;
    top: 45%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 40px;
    z-index: 2;
    box-sizing: border-box;
}

#closeAgreement {
    display: block;
    margin: 10px auto 0 auto;
}
/*------------------------ Çoklu select için stil anlasma kabul checkbox basliyor -----------------------------*/
.form-group select[multiple] {
    min-height: 120px;
    padding: 8px;
}

    .form-group select[multiple] option {
        padding: 5px;
        margin: 2px 0;
    }

/* Agreement checkbox */
.form-group label[for="agreement"] {
    position: relative;
    top: 0;
    left: 0;
    background: none;
    border: none;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 10; /* Diğer elementlerin üstünde olması için */
}

#agreement {
    width: auto;
    height: auto;
    z-index: 11;
}

#showAgreement {
    color: #0066cc;
    text-decoration: underline;
    cursor: pointer;
    z-index: 12;
    position: relative;
}

    #showAgreement:hover {
        color: #004499;
    }

/*------------------------ Çoklu select için stil anlasma kabul checkbox bitis -----------------------------*/

/*----------------- AGB Modal begin -----------------------*/
/* ESKİ .textarea BLOĞUNU DEĞİŞTİR */
.textarea {
    width: calc(100% - 20px); /* 10px sağ + 10px sol boşluk */
    margin: 10px 10px;
    font-size: 14px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #fff;
    border: 1px solid #999;
    border-radius: 8px;
    height: 60vh;
    outline: none;
    overflow: auto;
    box-sizing: border-box;
    padding: 20px 15px 15px 15px;
    line-height: 1.6;
    resize: none;
    display: block; /* margin'ın çalışması için */
}

    .textarea:focus {
        border-color: #007bff;
    }

/* LABEL FOCUS - Bu yeni eklenecek */
#agreementModal .form-group:focus-within label {
    background-color: #007bff;
    border-color: #007bff ;
    color: #fff;
}
/*----------------- AGB Modal ende ------------------------*/
