﻿/* Auth Layout */
.auth-container {
    display: flex;
    min-height: 100vh;
    background-color: #f8f9fa;
}

.auth-card {
    flex: 1;
    max-width: 500px;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: #fff;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.05);
}

.auth-background {
    flex: 1;
    background: url('/images/auth-bg.jpg') no-repeat center center;
    background-size: cover;
    position: relative;
    display: none;
}

@media (min-width: 992px) {
    .auth-background {
        display: block;
    }
}

.auth-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(103, 58, 183, 0.9) 0%, rgba(81, 45, 168, 0.9) 100%);
}

.auth-content {
    position: relative;
    z-index: 1;
    color: white;
    padding: 3rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

    .auth-content h2 {
        font-size: 2.5rem;
        margin-bottom: 1.5rem;
        font-weight: 700;
    }

    .auth-content p {
        font-size: 1.1rem;
        line-height: 1.6;
        opacity: 0.9;
    }

/* Auth Components */
.auth-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.auth-logo {
    height: 130px;
    margin-bottom: 1.5rem;
}

.auth-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.auth-subtitle {
    color: #7f8c8d;
    font-size: 1rem;
}

.auth-form {
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    display: block;
}

.input-group {
    margin-bottom: 0.5rem;
}

.input-group-text {
    background-color: #f8f9fa;
    color: #7f8c8d;
}

.form-control {
    height: 50px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    transition: all 0.3s;
}

    .form-control:focus {
        border-color: #673ab7;
        box-shadow: 0 0 0 0.25rem rgba(103, 58, 183, 0.25);
    }

.toggle-password {
    cursor: pointer;
}

    .toggle-password:hover {
        background-color: #f8f9fa;
    }

.form-check-input {
    width: 1.2em;
    height: 1.2em;
    margin-top: 0.15em;
}

.form-check-label {
    margin-left: 0.5rem;
    color: #7f8c8d;
}

.auth-btn {
    height: 50px;
    border-radius: 8px;
    font-weight: 600;
    margin-top: 1rem;
    background-color: #673ab7;
    border: none;
    transition: all 0.3s;
}

    .auth-btn:hover {
        background-color: #5e35b1;
        transform: translateY(-2px);
    }

.auth-links {
    text-align: center;
    margin-top: 1.5rem;
}

.auth-link {
    color: #673ab7;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

    .auth-link:hover {
        color: #5e35b1;
        text-decoration: underline;
    }

.auth-separator {
    color: #bdc3c7;
    margin: 0 0.5rem;
}

.auth-social {
    margin-top: 2rem;
    text-align: center;
}

.auth-social-text {
    position: relative;
    color: #7f8c8d;
    margin-bottom: 1.5rem;
}

    .auth-social-text::before,
    .auth-social-text::after {
        content: "";
        position: absolute;
        top: 50%;
        width: 30%;
        height: 1px;
        background-color: #e0e0e0;
    }

    .auth-social-text::before {
        left: 0;
    }

    .auth-social-text::after {
        right: 0;
    }

.social-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.btn-social {
    height: 50px;
    border-radius: 8px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.btn-google {
    background-color: #fff;
    color: #757575;
    border: 1px solid #e0e0e0;
}

    .btn-google:hover {
        background-color: #f5f5f5;
    }

.btn-facebook {
    background-color: #3b5998;
    color: white;
    border: none;
}

    .btn-facebook:hover {
        background-color: #344e86;
    }

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.auth-card {
    animation: fadeIn 0.6s ease-out forwards;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .auth-card {
        padding: 2rem 1.5rem;
    }

    .auth-title {
        font-size: 1.5rem;
    }
}

/* Şifre Sıfırlama Sayfası Özel Stiller */
.password-strength {
    margin-bottom: 1rem;
}

.progress {
    height: 8px;
    border-radius: 4px;
    margin-bottom: 0.25rem;
    background-color: #f1f1f1;
}

.progress-bar {
    transition: width 0.5s ease, background-color 0.5s ease;
}

.strength-text {
    font-size: 0.8rem;
    display: block;
    text-align: right;
}

    .strength-text.text-danger {
        color: #dc3545 !important;
    }

    .strength-text.text-warning {
        color: #fd7e14 !important;
    }

    .strength-text.text-info {
        color: #0dcaf0 !important;
    }

    .strength-text.text-success {
        color: #198754 !important;
    }

.bg-danger {
    background-color: #dc3545;
}

.bg-warning {
    background-color: #fd7e14;
}

.bg-info {
    background-color: #0dcaf0;
}

.bg-success {
    background-color: #198754;
}

/* Şifre eşleşme mesajı */
.match-success {
    color: #28a745;
}

.match-error {
    color: #dc3545;
}

/* Şifre güçlülük göstergesi */
.password-strength {
    margin-bottom: 1rem;
}

.progress {
    height: 8px;
    border-radius: 4px;
    margin-bottom: 0.25rem;
    background-color: #f1f1f1;
}

.progress-bar {
    transition: width 0.5s ease, background-color 0.5s ease;
}

.strength-text {
    font-size: 0.8rem;
    display: block;
    text-align: right;
}

/* Şifre eşleşme mesajı */
.match-success {
    color: #28a745;
}

.match-error {
    color: #dc3545;
}

/* Şifre güçlülük göstergesi */
.password-strength {
    margin-bottom: 1rem;
}

.progress {
    height: 8px;
    border-radius: 4px;
    margin-bottom: 0.25rem;
    background-color: #f1f1f1;
}

.progress-bar {
    transition: width 0.5s ease, background-color 0.5s ease;
}

.strength-text {
    font-size: 0.8rem;
    display: block;
    text-align: right;
}

/* Renk sınıfları */
.bg-danger {
    background-color: #dc3545;
}

.bg-warning {
    background-color: #fd7e14;
}

.bg-info {
    background-color: #17a2b8;
}

.bg-success {
    background-color: #28a745;
}

.match-helper {
    display: block;
    margin-top: .375rem; /* input-group ile aralık */
    font-size: .875rem;
    line-height: 1.3;
}

.match-success {
    color: #28a745;
}

.match-error {
    color: #dc3545;
}
