/* Genel Ayarlar */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    margin-top: 90px;
    padding: 0;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background-color: #f9f9f9; /* Arka plan rengi */
}

/* Kayıt Formu Konteyneri */
.register-container {
    width: 100%;
    max-width: 400px;
    background: linear-gradient(135deg, rgba(255, 159, 0, 0.2), rgba(0, 197, 255, 0.2)); /* Yeni gradient arka plan */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Hafif gölge */
    border-radius: 15px; /* Daha belirgin yuvarlak köşeler */
    margin: 0;
    padding: 50px;
    align-items: center;
}

/* Form Kutusu */
.form-box {
    width: 100%;
}

/* Başlık */
.form-box h2 {
    text-align: center;
    margin-bottom: 20px;
    color: rgb(26, 12, 9); /* Daha koyu başlık rengi */
    font-size: 24px;
    font-weight: bold;
}

/* Form Grupları */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-size: 14px;
    color: rgb(26, 12, 9); /* Daha belirgin metin rengi */
}

.form-group input {
    width: 100%;
    padding: 12px;
    font-size: 14px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.8); /* Transparan arka plan */
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus {
    border-color: rgba(0, 197, 255, 1); /* Odaklanıldığında mavi kenar */
    box-shadow: 0 0 5px rgba(0, 197, 255, 0.5); /* Hafif ışık efekti */
    outline: none;
}

/* Gönder Butonu */
.submit-btn {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase; /* Büyük harf buton metni */
    background: linear-gradient(90deg, rgba(255, 159, 0, 1), rgba(0, 197, 255, 1)); /* Gradient buton */
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
}

.submit-btn:hover {
    background: linear-gradient(90deg, rgba(0, 197, 255, 1), rgba(255, 159, 0, 1)); /* Renk geçişi */
    transform: translateY(-2px); /* Hafif yukarı kalkış efekti */
}

/* Giriş Linki */
.form-box p {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: rgb(26, 12, 9); /* Daha koyu metin rengi */
}

.form-box p a {
    color: rgba(0, 197, 255, 1); /* Mavi bağlantı */
    text-decoration: none;
    font-weight: bold;
}

.form-box p a:hover {
    text-decoration: underline; /* Hover sırasında alt çizgi */
}

/* Cep Telefonu Alanı */
.number {
    width: 100%;
    padding: 12px 15px;
    font-size: 14px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.8);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.number:focus {
    border-color: rgba(0, 197, 255, 1);
    box-shadow: 0 0 5px rgba(0, 197, 255, 0.5);
    outline: none;
}

.input-error {
    border: 2px solid #e53935;
}

.error-text {
    color: #e53935;
    font-size: 0.85rem;
    margin-top: 4px;
    margin-left: 2px;
}

.password-strength {
    font-size: 0.85rem;
    margin-top: 4px;
    margin-left: 2px;
    color: #444;
    font-weight: bold;
}

.password-strength.weak {
    color: #e53935;
}
.password-strength.medium {
    color: #f9a825;
}
.password-strength.strong {
    color: #43a047;
}

.password-strength-text {
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 4px;
    margin-left: 2px;
}

.password-strength-bar {
    width: 100%;
    height: 8px;
    background-color: #eee;
    border-radius: 4px;
    overflow: hidden;
    margin-top: 4px;
}

.password-strength-fill {
    height: 100%;
    width: 0%;
    background-color: #e53935;
    transition: width 0.3s ease, background-color 0.3s ease;
}

.password-group {
    position: relative;
}

#pin-section .form-group {
    margin-bottom: 10px;
}

.pin-send-wrapper {
    margin-top: 10px;
    justify-content: space-between;
}

.password-wrapper {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 1.2em;
}

#resend-countdown {
    font-size: 14px;
    margin-left: 5px;
    color: #fff;
}