/* Auth Sayfaları (Login & Register) Stil Dosyası */

/* Genel Auth İçerik Stileri */
.auth-section {
    padding: 50px 0 80px;
}

.auth-container {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.auth-content {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    padding: 40px;
}

.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-header h2 {
    font-size: 28px;
    color: #333;
    margin-bottom: 10px;
}

.auth-header p {
    color: #666;
    font-size: 15px;
}

/* Form Stilleri */
.form {
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
    font-size: 15px;
}

.input-with-icon {
    position: relative;
    display: flex;
    align-items: center;
}

.input-with-icon i {
    position: absolute;
    left: 15px;
    color: #0066cc;
    font-size: 16px;
}

.input-with-icon input {
    width: 100%;
    padding: 12px 15px 12px 45px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 15px;
    transition: all 0.3s ease;
}

.input-with-icon input:focus {
    border-color: #0066cc;
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
    outline: none;
}

.toggle-password {
    position: absolute;
    right: 15px;
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    font-size: 16px;
}

.toggle-password:hover {
    color: #666;
}

/* Şifre Güç Ölçer */
.password-strength {
    margin-top: 10px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.strength-label {
    font-size: 13px;
    color: #666;
    margin-right: 10px;
}

.strength-meter {
    display: flex;
    gap: 5px;
    margin-right: 10px;
}

.strength-segment {
    width: 20px;
    height: 5px;
    background-color: #ddd;
    border-radius: 2px;
    transition: background-color 0.3s ease;
}

.strength-segment.weak {
    background-color: #ff4d4f;
}

.strength-segment.medium {
    background-color: #faad14;
}

.strength-segment.strong {
    background-color: #52c41a;
}

.strength-text {
    font-size: 13px;
    color: #ff4d4f;
}

.strength-text.medium {
    color: #faad14;
}

.strength-text.strong {
    color: #52c41a;
}

/* Checkbox Stileri */
.checkbox {
    display: flex;
    align-items: flex-start;
}

.checkbox input[type="checkbox"] {
    margin-right: 10px;
    margin-top: 3px;
    min-width: 16px;
    height: 16px;
}

.checkbox label {
    font-size: 14px;
    color: #666;
    font-weight: normal;
    cursor: pointer;
}

.terms-link {
    color: #0066cc;
    text-decoration: none;
}

.terms-link:hover {
    text-decoration: underline;
}

/* Captcha Stileri */
.captcha-container {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.captcha-image {
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e5e6 100%);
    padding: 10px 15px;
    border-radius: 6px;
    position: relative;
    overflow: hidden;
    width: 120px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
}

.captcha-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23bbb' fill-opacity='0.1' fill-rule='evenodd'/%3E%3C/svg%3E");
    z-index: 0;
}

.captcha-code {
    font-family: 'Courier New', monospace;
    font-weight: bold;
    font-size: 18px;
    color: #333;
    letter-spacing: 2px;
    position: relative;
    z-index: 1;
    user-select: none;
    transform: skewX(-10deg);
    text-shadow: 1px 1px 1px rgba(0,0,0,0.1);
}

.refresh-captcha {
    background: none;
    border: none;
    color: #0066cc;
    cursor: pointer;
    font-size: 18px;
    transition: all 0.3s ease;
}

.refresh-captcha:hover {
    color: #004c99;
    transform: rotate(90deg);
}

/* Düğmeler */
.btn-auth {
    width: 100%;
    padding: 14px;
    background: linear-gradient(to right, #0066cc, #0080ff);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 102, 204, 0.2);
}

.btn-auth:hover {
    background: linear-gradient(to right, #004c99, #0066cc);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 102, 204, 0.3);
}

.btn-outline {
    width: 100%;
    padding: 12px;
    background: transparent;
    color: #0066cc;
    border: 1px solid #0066cc;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background-color: #f0f7ff;
}

/* Şifremi Unuttum & Formu */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.forgot-password a {
    color: #0066cc;
    font-size: 14px;
    text-decoration: none;
}

.forgot-password a:hover {
    text-decoration: underline;
}

/* Sosyal Medya ile Giriş */
.social-auth {
    margin: 30px 0;
}

.divider {
    display: flex;
    align-items: center;
    margin: 20px 0;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background-color: #eee;
}

.divider span {
    padding: 0 15px;
    color: #999;
    font-size: 14px;
}

.social-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.btn-social {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-social i {
    margin-right: 8px;
    font-size: 18px;
}

.btn-social.google {
    background-color: #fff;
    color: #555;
    border: 1px solid #ddd;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.btn-social.google:hover {
    background-color: #f8f8f8;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn-social.facebook {
    background-color: #1877f2;
    color: #fff;
    box-shadow: 0 2px 4px rgba(24, 119, 242, 0.2);
}

.btn-social.facebook:hover {
    background-color: #166fe5;
    box-shadow: 0 4px 8px rgba(24, 119, 242, 0.3);
}

/* Footer Link */
.auth-footer {
    text-align: center;
    margin-top: 25px;
    font-size: 15px;
    color: #666;
}

.auth-footer a {
    color: #0066cc;
    font-weight: 500;
    text-decoration: none;
}

.auth-footer a:hover {
    text-decoration: underline;
}

/* Üyelik Avantajları */
.auth-benefits {
    background: linear-gradient(135deg, #f5f8ff 0%, #e9f2ff 100%);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
}

.benefits-header {
    margin-bottom: 25px;
    text-align: center;
}

.benefits-header h3 {
    font-size: 22px;
    color: #333;
    position: relative;
    display: inline-block;
}

.benefits-header h3:after {
    content: '';
    position: absolute;
    width: 50px;
    height: 3px;
    background: linear-gradient(to right, #0066cc, #0080ff);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 3px;
}

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: auto;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    padding: 15px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
}

.benefit-icon {
    margin-right: 15px;
    width: 40px;
    height: 40px;
    background: linear-gradient(to right, #0066cc, #0080ff);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    flex-shrink: 0;
}

.benefit-content h4 {
    font-size: 16px;
    margin-bottom: 5px;
    color: #333;
}

.benefit-content p {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

/* Giriş Sayfası - Müşteri Yorumları */
.login-benefits {
    justify-content: space-between;
}

.testimonials-slider {
    position: relative;
    margin-bottom: 30px;
    overflow: hidden;
}

.testimonial-item {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}

.testimonial-item.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.testimonial-content {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 15px;
    position: relative;
}

.testimonial-quote {
    position: absolute;
    top: 15px;
    left: 15px;
    color: #0066cc;
    opacity: 0.2;
    font-size: 24px;
}

.testimonial-content p {
    margin: 0 0 15px;
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

.testimonial-rating {
    color: #f8b739;
    font-size: 14px;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 12px;
    border: 3px solid #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    margin: 0 0 3px;
    font-size: 16px;
    color: #333;
}

.author-info span {
    font-size: 13px;
    color: #777;
}

.testimonial-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 15px;
}

.testimonial-control {
    background: none;
    border: none;
    color: #0066cc;
    font-size: 14px;
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.testimonial-control:hover {
    color: #004c99;
    transform: scale(1.1);
}

.testimonial-dots {
    display: flex;
    gap: 5px;
    margin: 0 10px;
}

.dot {
    width: 8px;
    height: 8px;
    background-color: #ccc;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active, .dot:hover {
    background-color: #0066cc;
}

/* Güvenli Giriş Bilgisi */
.secure-login-info {
    display: flex;
    align-items: center;
    padding: 15px;
    background-color: #fff;
    border-radius: 8px;
    border-left: 4px solid #0066cc;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.04);
}

.secure-icon {
    margin-right: 15px;
    width: 40px;
    height: 40px;
    background-color: #e6f2ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0066cc;
    font-size: 20px;
    flex-shrink: 0;
}

.secure-text h4 {
    font-size: 16px;
    margin-bottom: 5px;
    color: #333;
}

.secure-text p {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

/* Form Hata Mesajları */
.form-error {
    color: #ff4d4d;
    font-size: 13px;
    margin-top: 5px;
    display: none;
}

.input-error {
    border-color: #ff4d4d !important;
}

.input-error + .form-error {
    display: block;
}

/* Form Başarı Mesajı */
.form-success {
    padding: 20px;
    background-color: #f6ffed;
    border: 1px solid #b7eb8f;
    border-radius: 6px;
    margin-bottom: 20px;
    display: none;
}

.form-success i {
    color: #52c41a;
    margin-right: 10px;
}

/* Form Yükleniyor Durumu */
.form-loading {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
    display: none;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #0066cc;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive tasarım */
@media (max-width: 992px) {
    .auth-container {
        grid-template-columns: 1fr;
    }
    
    .auth-benefits {
        margin-top: 30px;
    }
}

@media (max-width: 768px) {
    .auth-content {
        padding: 30px 20px;
    }
    
    .social-buttons {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .auth-section {
        padding: 30px 0;
    }
    
    .auth-header h2 {
        font-size: 24px;
    }
    
    .form-options {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .forgot-password {
        margin-top: 10px;
    }
}