/* Bireysel Üyelik, Giriş, Şifre Sıfırlama ve E-posta Doğrulama Stilleri */

/* Genel Auth Kart Stilleri */
.auth-card, .verification-resend-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    max-width: 32rem; /* 512px */
    width: 100%;
    margin: 2rem auto;
    text-align: center;
    box-sizing: border-box;
    padding: 15px;
}

.auth-button {
    display: inline-block;
    background-color: #fb9f01; /* Turuncu renk */
    color: white;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
    margin: 10px 0;
}

.auth-button:hover {
    background-color: #e08e00; /* Hover durumunda biraz daha koyu turuncu */
}
/* Başlık Stilleri */
.register-title, .auth-title, .login-title, .verified-title, .verification-resend-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #08448f; /* Lacivert */
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #fb9f01; /* Turuncu */
    padding-bottom: 0.5rem;
    text-align: center;
    line-height: 1.2;
}

/* Form Grubu ve Etiketler */
.register-form-group, .auth-form-group, .form-group, .verification-resend-form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.register-label, .auth-label, .login-label, .verification-resend-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #08448f; /* Lacivert */
    margin-bottom: 0.5rem;
}

/* Input ve Select Stilleri */
.register-input, .auth-input, .login-input, .register-select, .auth-select, .verification-resend-input {
    width: 90%;
    padding: 0.875rem;
    border: 1px solid #d1d5db; /* Gri ton */
    border-radius: 8px;
    font-size: 0.875rem;
    color: #1f2937; /* Koyu gri */
    background-color: #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05); /* Hafif gölge */
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.1s ease;
}

.register-input:focus, .auth-input:focus, .login-input:focus, .register-select:focus, .auth-select:focus, .verification-resend-input:focus {
    border-color: #fb9f01; /* Turuncu */
    outline: none;
    box-shadow: 0 0 0 3px rgba(251, 159, 1, 0.3), 0 2px 6px rgba(0, 0, 0, 0.1);
}

.register-input:active, .auth-input:active, .login-input:active, .register-select:active, .auth-select:active, .verification-resend-input:active {
    transform: scale(0.98); /* Hafif küçülme efekti */
}

.auth-select, .register-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 1rem;
}

/* Hata ve Başarı Mesajları */
.register-error, .auth-error, .error-message, .verification-resend-error {
    color: #dc2626; /* Kırmızı */
    font-size: 0.75rem;
    margin-top: 0.25rem;
    display: block;
    text-align: left;
}

.message-success, .auth-success-message, .verification-resend-message {
    background-color: #d4edda;
    color: #155724;
    padding: 0.75rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
    text-align: center;
}

.message-error, .auth-error-messages, .verification-resend-errors {
    background-color: #fff5f5;
    color: #dc2626;
    padding: 0.75rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
    text-align: center;
}

.message-error p, .auth-error-messages p, .verification-resend-errors p {
    margin: 0;
}

/* Buton Stilleri */
.register-submit-button, .auth-submit-button, .button, .verification-resend-submit, .verified-btn-primary, .register-btn-individual, .register-btn-corporate, .verified-btn-secondary {
    padding: 0.875rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease, box-shadow 0.2s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.register-submit-button, .auth-submit-button, .button, .verification-resend-submit, .verified-btn-primary, .register-btn-individual {
    background-color: #fb9f01; /* Turuncu */
    color: #ffffff;
}

.register-btn-corporate, .verified-btn-secondary {
    background-color: #08448f; /* Lacivert */
    color: #ffffff;
}

.register-submit-button:hover, .auth-submit-button:hover, .button:hover, .verification-resend-submit:hover, .verified-btn-primary:hover, .register-btn-individual:hover {
    background-color: #d97706; /* Daha koyu turuncu */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.register-btn-corporate:hover, .verified-btn-secondary:hover {
    background-color: #052e6b; /* Daha koyu lacivert */
}

.register-submit-button:active, .auth-submit-button:active, .button:active, .verification-resend-submit:active, .verified-btn-primary:active, .register-btn-individual:active, .register-btn-corporate:active, .verified-btn-secondary:active {
    transform: scale(0.95);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Link Stilleri */
.register-login-link, .auth-login-link, .link, .verification-resend-login-link {
    color: #08448f; /* Turuncu */
    text-decoration: underline;
    font-size: 0.875rem;
    transition: color 0.2s ease;
}

.register-login-link:hover, .auth-login-link:hover, .link:hover, .verification-resend-login-link:hover {
    color: #d97706; /* Daha koyu turuncu */
}

/* Checkbox Stilleri */
.register-terms-checkbox, .login-remember, .auth-terms-checkbox {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.register-terms-input, .login-remember-input, .auth-terms-input {
    margin-right: 0.5rem;
    margin-top: 0.25rem;
    accent-color: #fb9f01; /* Turuncu */
}

.register-terms-label, .login-remember-label, .auth-terms-label {
    font-size: 0.875rem;
    color: #1f2937;
    text-align: left;
}

/* Logo Stilleri */
.register-logo img, .login-logo {
    max-height: 100px;
    width: auto;
    margin-bottom: 1.5rem;
}

/* Diğer Stiller */
.auth-text, .verified-message {
    font-size: 0.875rem;
    color: #4a5568;
    text-align: center;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.login-register-links, .verified-buttons, .verification-resend-actions {
    display: flex;
    flex-wrap: wrap; /* Butonların taşmasını önler */
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.login-register-text {
    font-size: 0.875rem;
    color: #08448f; /* Lacivert */
    margin-bottom: 0.75rem;
    width: 100%; /* Tam genişlik */
}

.login-register-buttons {
    display: flex;
    flex-wrap: wrap; /* Butonların üst üste binmesini önler */
    gap: 1rem;
    justify-content: center;
    width: 100%;
}

.register-btn {
   
    max-width: 200px; /* Maksimum genişlik */
    text-align: center;
}

/* Mobil cihazlar için dokunma geri bildirimi */
.register-input, .register-select, .register-submit-button, .register-terms-input, .register-login-link,
.auth-input, .auth-select, .auth-submit-button, .auth-terms-input, .auth-login-link,
.login-input, .button, .link, .register-btn, .verified-btn, .verification-resend-input, .verification-resend-submit, .verification-resend-login-link {
    -webkit-tap-highlight-color: rgba(251, 159, 1, 0.3); /* Turuncu dokunma efekti */
    touch-action: manipulation; /* Dokunma gecikmesini kaldır */
    padding: 20px;
}

/* Mobil Cihazlar için Responsive Stil */
@media (max-width: 768px) {
    html, body {
        overflow-x: hidden;
        width: 100%;
        margin: 0;
        padding: 0;
    }

    .auth-card, .verification-resend-card {
        max-width: 100%;
        width: 100%;
        padding: 1.5rem;
        margin: 1rem 0;
        box-sizing: border-box;
    }

    .register-form, .login-form, .auth-form, .verification-resend-form {
        width: 100%;
        padding: 0;
        margin: 0;
    }

    .register-name-surname, .register-email-phone, .register-passwords, .register-tc-identity,
    .auth-name-surname, .auth-email-phone, .auth-passwords, .auth-business-info, .auth-location, .auth-tax-info, .auth-authority-number, .auth-tc-id {
        flex-direction: column;
        gap: 1rem;
    }

    .register-form-group, .auth-form-group, .form-group, .verification-resend-form-group {
        flex: none;
        width: 100%;
    }

    .register-input, .auth-input, .login-input, .register-select, .auth-select, .verification-resend-input {
        padding: 1rem; /* Daha büyük dokunma alanı */
        font-size: 1rem; /* Daha büyük yazı tipi */
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1); /* Daha belirgin gölge */
    }

    .register-submit-button, .auth-submit-button, .button, .verification-resend-submit, .verified-btn-primary, .register-btn-individual, .register-btn-corporate, .verified-btn-secondary {
        width: 100%;
        padding: 1rem;
        font-size: 1rem;
    }

    .register-login-link, .auth-login-link, .link, .verification-resend-login-link {
        display: block;
        margin-bottom: 1rem;
        font-size: 0.875rem;
    }

    .register-title, .auth-title, .login-title, .verified-title, .verification-resend-title {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .register-logo img, .login-logo {
        max-height: 80px;
    }

    .message-success, .message-error, .auth-success-message, .auth-error-messages, .verification-resend-message, .verification-resend-errors {
        font-size: 0.875rem;
        padding: 0.75rem;
    }

    .register-terms-checkbox, .login-remember, .auth-terms-checkbox {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .auth-text, .verified-message {
        font-size: 0.875rem;
    }

    .login-register-buttons {
        flex-direction: column; /* Mobil cihazlarda alt alta */
        gap: 0.75rem;
    }

    .register-btn {
        max-width: 90%; /* Tam genişlik */
    }
}

@media (max-width: 480px) {
    .auth-card, .verification-resend-card {
        padding: 1rem;
    }

    .register-title, .auth-title, .login-title, .verified-title, .verification-resend-title {
        font-size: 1.25rem;
    }

    .register-input, .auth-input, .login-input, .register-select, .auth-select, .verification-resend-input {
        font-size: 0.875rem;
        padding: 0.75rem;
    }

    .register-submit-button, .auth-submit-button, .button, .verification-resend-submit, .verified-btn-primary, .register-btn-individual, .register-btn-corporate, .verified-btn-secondary {
        font-size: 0.875rem;
        padding: 0.75rem;
    }

    .register-error, .auth-error, .error-message, .verification-resend-error {
        font-size: 0.7rem;
    }

    .auth-text, .verified-message {
        font-size: 0.75rem;
    }
}