.login-wrapper {
    width: 100%;
    max-width: 700px;
    margin: 60px auto;
    padding: 40px;
    box-sizing: border-box;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Giriş türü seçim alanı */
.choose-type {
    text-align: center;
}

.choose-type h2 {
    margin-bottom: 25px;
}

.choose-type .butons {
    display: flex;
    justify-content: space-around;
    width: 100%;
    gap: 20px;
}

.choose-type button {
    width: 250px;
    height: 250px;
    margin: 10px 0;
    padding: 15px;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    color: rgb(10, 32, 88);
    font-size: 25px;
    font-family: "Oswald", sans-serif;
    font-weight: 800;
    letter-spacing: 2px;
    transition: 0.3s;
    background-size: cover;
    background-position: center;
}

.choose-type button:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.choose-type #musteri {
    background-image: linear-gradient(rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.6)), url(image/musteri.png);
}

.choose-type #isletme {
    background-image: linear-gradient(rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.6)), url(image/isletme.png);
}

/* Form alanı */
.form {
    display: none;
}

.form h2 {
    margin-bottom: 20px;
    text-align: center;
    color: #1e293b;
}

.form input {
    width: 100%;
    margin: 10px 0;
    padding: 14px;
    box-sizing: border-box;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 15px;
}

.form input:focus {
    outline: none;
    border-color: #ff9800;
    box-shadow: 0 0 0 3px rgba(255, 152, 0, 0.15);
}

.form button {
    width: 100%;
    margin-top: 10px;
    padding: 14px;
    border: none;
    border-radius: 10px;
    background: #ff9800;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
}

.form button:hover {
    background: #e68900;
}

/* Alt link alanı */
.login-link {
    margin-top: 18px;
    text-align: center;
    color: #64748b;
    font-size: 14px;
}

.login-link a {
    color: #ff9800;
    text-decoration: none;
    font-weight: 600;
}

.login-link a:hover {
    text-decoration: underline;
}

/* Hata mesajı */
.error-message {
    margin-top: 10px;
    min-height: 20px;
    text-align: center;
    color: #ff4d4d;
    font-size: 14px;
}

/* ŞİFREMİ UNUTTUM */
.forgot-password-area{
    margin-top: 12px;
    text-align: right;
}

.forgot-password-btn{
    border: none;
    background: transparent;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    padding: 0;
    color: #ff9800;
}

.forgot-password-btn:hover{
    text-decoration: underline;
    cursor: pointer;
}

.forgot-modal{
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(6px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    padding: 20px;
    box-sizing: border-box;
}

.forgot-modal.active{
    display: flex;
}

.forgot-modal-content{
    width: 100%;
    max-width: 430px;
    background: #ffffff;
    border-radius: 20px;
    padding: 24px;
    position: relative;
    box-sizing: border-box;
    box-shadow: 0 20px 60px rgba(0,0,0,0.18);
}

.forgot-modal-content h3{
    margin: 0 0 10px;
    text-align: center;
    color: #0f172a;
    font-size: 26px;
}

.forgot-modal-content p{
    margin: 0 0 18px;
    text-align: center;
    color: #475569;
    font-size: 14px;
}

.forgot-modal-content input{
    width: 100%;
    height: 50px;
    margin-bottom: 14px;
    padding: 0 14px;
    box-sizing: border-box;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    font-size: 15px;
    outline: none;
}

.forgot-modal-content input:focus{
    border-color: #0f766e;
    box-shadow: 0 0 0 3px rgba(15,118,110,0.10);
}

.forgot-modal-content button:not(.forgot-close-btn){
    width: 100%;
    height: 48px;
    border: none;
    border-radius: 12px;
    background: #0f766e;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
}

.forgot-close-btn{
    position: absolute;
    top: 10px;
    right: 12px;
    border: none;
    background: transparent;
    color: #64748b;
    font-size: 22px;
    cursor: pointer;
}

#customerForgotError,
#customerResetError{
    margin-top: 12px;
    min-height: 20px;
    text-align: center;
    font-size: 14px;
    color: #dc2626;
}
/* Responsive */
@media (max-width: 600px) {
    .choose-type button {
        width: 200px;
        height: 200px;
        font-size: 20px;
    }
}

@media (max-width: 500px) {
    .choose-type .butons {
        flex-direction: column;
        align-items: center;
    }

    .choose-type button {
        width: 250px;
        height: 250px;
        font-size: 25px;
    }

    .login-wrapper {
        padding: 25px;
    }
}