/* Premium Modern Kayıt Formu - Journal 3 Override */

/* Ana Container - Genişlik ayarı */
#account-register .register-page .row {
    display: flex;
    justify-content: center;
}

#account-register .col-lg-4,
#account-register .col-md-5 {
    max-width: 600px !important;
    flex: 0 0 600px;
    padding: 40px 20px;
}

/* Sayfa Başlığı */
#account-register h1.page-title,
#account-register .title.page-title {
    text-align: center;
    font-size: 28px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 40px;
    letter-spacing: -0.5px;
}

/* Form */
.register-form {
    background: #fff;
}

/* Fieldset - Bölümler */
.register-form fieldset {
    background: #fff;
    border: none;
    padding: 0;
    margin-bottom: 40px;
}

/* Legend - Bölüm Başlıkları */
.register-form fieldset legend {
    font-size: 12px;
    font-weight: 600;
    color: #666;
    padding: 0 0 12px 0;
    margin-bottom: 24px;
    border: none;
    border-bottom: 1px solid #e5e7eb;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    width: 100%;
}

/* Form Group - Grid Override */
.register-form .form-group {
    margin-bottom: 20px;
    display: block !important;
}

.register-form .form-group .col-sm-2,
.register-form .form-group .col-sm-10 {
    width: 100% !important;
    padding: 0 !important;
    float: none !important;
}

/* Label */
.register-form .form-group label {
    font-weight: 500;
    color: #1a1a1a;
    margin-bottom: 8px;
    font-size: 14px;
    display: block;
    width: 100%;
}

.register-form .form-group label .text-danger,
.register-form .form-group .control-label .text-danger {
    color: #ef4444;
    font-weight: 500;
}

/* Input Alanları */
.register-form .form-control {
    height: 48px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    padding: 12px 14px;
    font-size: 15px;
    transition: all 0.2s ease;
    background-color: #fff;
    color: #1a1a1a;
    width: 100%;
}

.register-form .form-control:hover {
    border-color: #d1d5db;
}

.register-form .form-control:focus {
    border-color: #2563eb;
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.05);
    outline: none;
}

.register-form .form-control::placeholder {
    color: #9ca3af;
}

/* Error State */
.register-form .has-error .form-control {
    border-color: #ef4444 !important;
    background-color: #fef2f2 !important;
}

.register-form .text-danger {
    color: #ef4444;
    font-size: 13px;
    margin-top: 6px;
    display: block;
    font-weight: 500;
}

/* Radio Buttons */
.register-form .radio,
.register-form .radio-inline {
    display: inline-flex;
    align-items: center;
    margin-right: 24px;
    cursor: pointer;
    font-weight: 400;
    color: #1a1a1a;
}

.register-form .radio input[type="radio"],
.register-form .radio-inline input[type="radio"] {
    width: 18px;
    height: 18px;
    margin: 0 8px 0 0;
    cursor: pointer;
    accent-color: #2563eb;
}

.register-form .radio label,
.register-form .radio-inline {
    margin: 0;
    cursor: pointer;
    padding: 0;
}

/* Checkbox */
.register-form input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin-right: 8px;
    cursor: pointer;
    accent-color: #2563eb;
    vertical-align: middle;
}

/* reCAPTCHA Container */
.register-form .g-recaptcha {
    margin: 20px 0;
}

/* Submit Button Container */
.register-form .buttons {
    text-align: center;
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid #f3f4f6;
}

.register-form .buttons .pull-right {
    float: none !important;
    width: 100%;
    text-align: center;
}

/* Submit Button */
.register-form .btn-primary {
    background: #1a1a1a !important;
    border: none !important;
    color: white !important;
    padding: 14px 48px;
    font-size: 15px;
    font-weight: 500;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    letter-spacing: 0.3px;
    display: inline-block;
    margin-top: 16px;
}

.register-form .btn-primary:hover {
    background: #000 !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}

.register-form .btn-primary:active {
    transform: translateY(0);
}

/* Gizlilik Politikası Text */
.register-form .buttons a {
    color: #2563eb;
    text-decoration: none;
    transition: color 0.2s;
}

.register-form .buttons a:hover {
    color: #1d4ed8;
}

/* Alt Kısım - Zaten Hesabınız Var mı */
.register-form + .text-center {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid #f3f4f6;
}

.register-form + .text-center p {
    color: #666;
    font-size: 14px;
}

.register-form + .text-center a {
    color: #2563eb;
    font-weight: 500;
    text-decoration: none;
}

.register-form + .text-center a:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

/* Telefon Input - intl-tel-input */
.register-form .iti {
    display: block;
    width: 100%;
}

.register-form .iti__selected-flag {
    padding: 0 10px;
    height: 48px;
    display: flex;
    align-items: center;
    background-color: #fafafa;
    border-right: 1px solid #e5e7eb;
}

.register-form .iti--separate-dial-code input {
    padding-left: 95px !important;
}

.register-form #input-telephone {
    height: 48px;
}

.register-form .iti__country-list {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border: 1px solid #e5e7eb;
}

/* Custom Fields */
.register-form .custom-field {
    margin-bottom: 20px;
}

/* Responsive */
@media (max-width: 992px) {
    #account-register .col-lg-4,
    #account-register .col-md-5 {
        max-width: 100% !important;
        flex: 0 0 100%;
    }
}

@media (max-width: 768px) {
    #account-register .col-lg-4,
    #account-register .col-md-5 {
        padding: 20px 15px;
    }
    
    #account-register h1.page-title {
        font-size: 24px;
        margin-bottom: 30px;
    }
    
    .register-form .form-control {
        font-size: 16px; /* iOS zoom önleme */
    }
    
    .register-form .btn-primary {
        width: 100%;
        padding: 16px;
    }
    
    .register-form .radio,
    .register-form .radio-inline {
        display: flex;
        margin-bottom: 12px;
        margin-right: 0;
    }
}

/* Select Dropdown */
.register-form select.form-control {
    height: 48px;
    padding: 12px 14px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 12px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

/* Textarea */
.register-form textarea.form-control {
    height: auto;
    min-height: 100px;
    resize: vertical;
    padding: 12px 14px;
}

/* Focus-visible */
.register-form .form-control:focus-visible {
    outline: none;
}

/* Anti-aliasing */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}