/* Auth Pages Styles */

/* Auth Page Header */
.auth-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 60px 0 60px;
    min-height: 200px;
}

.auth-header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

/* Auth Section */
.auth-section {
    background: #f8f9fa;
    min-height: calc(100vh - 400px);
    display: flex;
    align-items: center;
    border-top: 1px solid #e9ecef; /* Header ile çakışmayı önlemek için üst sınır */
}

/* Auth Hero (header genişletme) */
.auth-hero {
    position: relative;
    background: linear-gradient(120deg, rgba(102,126,234,.95) 0%, rgba(118,75,162,.95) 100%), url('../img/home-slider-img/mc-map.png') center/cover no-repeat;
}
.auth-logo {
    width: 85px;
    height: auto;
    margin-bottom: 10px;
    opacity: .95;
}
.auth-badges {
    margin-top: 12px;
    color: #fff;
}
.auth-badges li {
    display: inline-block;
    margin: 0 8px;
    background: rgba(255,255,255,.14);
    border: 1px solid rgba(255,255,255,.2);
    padding: 6px 12px;
    border-radius: 30px;
    font-size: 13px;
}
.auth-badges i { margin-right: 6px; }

/* İki sütunlu layout */
.auth-layout {
    padding: 60px 0 80px;
}

/* Showcase alanı */
.auth-showcase {
    color: black;
    height: 100%;
    display: flex;
}
.showcase-inner {
    background: linear-gradient(180deg, rgba(255,255,255,.12) 0%, rgba(255,255,255,.06) 100%);
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 16px;
    padding: 32px;
    color: black;
    position: relative;
    overflow: hidden;
    min-height: 460px;
}
.showcase-inner:before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('../img/home-slider-img/slider-item-03.png') right -40px bottom -20px/300px no-repeat;
    opacity: .08;
    pointer-events: none;
}
.auth-features { color: black; margin: 16px 0 6px; }
.auth-features li { list-style: none; margin: 8px 0; }
.auth-features i { color: #8ff2ff; margin-right: 8px; }
.auth-stats { display: flex; gap: 14px; margin: 18px 0 8px; }
.auth-stats .stat { background: rgba(0,0,0,.18); border: 1px solid rgba(255,255,255,.15); padding: 10px 14px; border-radius: 10px; text-align: center; }
.auth-stats .stat strong { display: block; font-size: 18px; }
.auth-stats .stat span { font-size: 12px; opacity: .9; }
.showcase-image { position: absolute; right: 20px; bottom: 10px; width: 220px; opacity: .85; filter: drop-shadow(0 10px 25px rgba(0,0,0,.25)); }

/* Auth Card */
.auth-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    padding: 40px;
    margin: 20px 0;
    position: relative;
    overflow: hidden;
}

.auth-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
}

/* Cam efektli kart */
.glass-card {
    background: rgba(255,255,255,.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(102,126,234,.25);
}

/* Auth Header */
.auth-header-content {
    text-align: center;
    margin-bottom: 30px;
}

.auth-header-content h3 {
    color: #333;
    font-weight: 600;
    margin-bottom: 10px;
}

.auth-header-content p {
    color: #6c757d;
    margin-bottom: 0;
}

/* Auth Form */
.auth-form {
    margin-bottom: 30px;
}

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

.auth-form label {
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
}

.auth-form .input-group {
    position: relative;
}

.auth-form .input-group-addon {
    background: #f8f9fa;
    border: 1px solid #ddd;
    color: #6c757d;
    border-radius: 8px 0 0 8px;
    border-right: none;
}

.auth-form .form-control {
    border: 1px solid #ddd;
    border-radius: 0 8px 8px 0;
    padding: 12px 15px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.auth-form .form-control:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.password-toggle {
    cursor: pointer;
    border-left: none !important;
    border-radius: 0 8px 8px 0 !important;
}

.password-toggle:hover {
    background: #e9ecef;
}

/* Auth Options */
.auth-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px 0;
}

/* Custom Checkbox */
.checkbox-container {
    display: block;
    position: relative;
    padding-left: 25px;
    margin-bottom: 0;
    cursor: pointer;
    font-size: 14px;
    user-select: none;
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 2px;
    left: 0;
    height: 18px;
    width: 18px;
    background-color: #fff;
    border: 2px solid #ddd;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.checkbox-container:hover input ~ .checkmark {
    border-color: #667eea;
}

.checkbox-container input:checked ~ .checkmark {
    background-color: #667eea;
    border-color: #667eea;
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.checkbox-container input:checked ~ .checkmark:after {
    display: block;
}

.checkbox-container .checkmark:after {
    left: 5px;
    top: 1px;
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Forgot Link */
.forgot-link {
    color: #667eea;
    font-size: 14px;
    text-decoration: none;
}

.forgot-link:hover {
    color: #5a67d8;
    text-decoration: underline;
}

/* Auth Button */
.auth-btn {
    padding: 12px 30px;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.auth-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.btn.btn-primary.auth-btn {
    background: linear-gradient(90deg, #667eea, #764ba2);
    border: none;
}
.btn.btn-primary.auth-btn:hover {
    filter: brightness(1.05);
}

/* Auth Footer */
.auth-footer {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.auth-footer p {
    margin-bottom: 10px;
    color: #6c757d;
}

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

.auth-footer a:hover {
    color: #5a67d8;
    text-decoration: underline;
}

/* Demo Info */
.auth-demo {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin-top: 20px;
    border: 1px solid #dee2e6;
}

.auth-demo h5 {
    color: #495057;
    margin-bottom: 10px;
    font-weight: 600;
}

.auth-demo p {
    margin-bottom: 5px;
    font-size: 14px;
    color: #6c757d;
}

/* Alert Styles */
.alert {
    border-radius: 8px;
    margin-bottom: 20px;
    padding: 15px;
    border: none;
}

.alert-danger {
    background: #fee;
    color: #c53030;
}

.alert-success {
    background: #f0fff4;
    color: #38a169;
}
.alert-info {
    background: #eff6ff;
    color: #2563eb;
}

.alert i {
    margin-right: 8px;
}

/* Form Text */
.form-text {
    font-size: 12px;
    margin-top: 5px;
}

/* Responsive */
@media (max-width: 768px) {
    .auth-card {
        padding: 30px 20px;
        margin: 10px;
    }
    
    .auth-header h1 {
        font-size: 2rem;
    }
    
    .auth-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .forgot-link {
        margin-top: 10px;
    }

    .auth-layout { padding: 40px 0; }
    .auth-showcase { display: none; }
    .showcase-image { display: none; }
}

@media (max-width: 576px) {
    .auth-section {
        padding: 40px 0;
    }
    
    .auth-card {
        padding: 25px 15px;
    }
    
    .auth-header h1 {
        font-size: 1.8rem;
    }
}

/* Minimal ve temiz varyant */
body.minimal-login .auth-hero { display: none; }
body.minimal-login .auth-layout { padding: 40px 0; }
body.minimal-login .auth-section {
    min-height: calc(100vh - 160px);
}
body.minimal-login .auth-showcase { display: none !important; }
body.minimal-login .auth-card {
    max-width: 480px;
    margin: 30px auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}
body.minimal-login .auth-card::before { height: 3px; }
