/* Auth sayfaları için gri tema - Orijinal tasarıma uygun */
.auth-body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #475569 0%, #334155 100%);
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100vh;
    padding: 15px;
}

.auth-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    width: 100%;
    max-width: 400px;
    max-height: 95vh;
    overflow-y: auto;
    animation: slideUp 0.6s ease-out;
}

    .auth-card.register-card {
        max-width: 500px;
        max-height: 95vh;
        overflow-y: auto;
    }

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Header */
.auth-header {
    text-align: center;
    margin-bottom: 20px;
}

    .auth-header .logo {
        width: 60px;
        height: 60px;
        background: linear-gradient(135deg, #64748b, #475569);
        border-radius: 15px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 15px;
        color: white;
        font-size: 26px;
        box-shadow: 0 8px 20px rgba(71, 85, 105, 0.3);
    }

    .auth-header h1 {
        color: #1e293b;
        font-size: 24px;
        font-weight: 700;
        margin: 0 0 5px 0;
    }

    .auth-header p {
        color: #64748b;
        font-size: 14px;
        margin: 0;
    }

/* Alert */
.alert {
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-error {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

.alert-success {
    background: #f0fdf4;
    color: #16a34a;
    border: 1px solid #bbf7d0;
}

/* Form */
.auth-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-section {
    margin-bottom: 20px;
}

    .form-section h3 {
        color: #1e293b;
        font-size: 16px;
        font-weight: 600;
        margin-bottom: 15px;
        padding-bottom: 8px;
        border-bottom: 2px solid #e2e8f0;
        display: flex;
        align-items: center;
        gap: 8px;
    }

.form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.form-group {
    flex: 1;
    min-width: 0;
}

    .form-group label {
        display: block;
        margin-bottom: 5px;
        color: #374151;
        font-size: 14px;
        font-weight: 500;
    }

.input-group {
    position: relative;
    display: flex;
    align-items: center;
}

    .input-group i {
        position: absolute;
        left: 12px;
        color: #9ca3af;
        z-index: 1;
    }

    .input-group input,
    .input-group textarea {
        width: 100%;
        padding: 12px 12px 12px 40px;
        border: 2px solid #e5e7eb;
        border-radius: 8px;
        font-size: 14px;
        background: #f9fafb;
        transition: all 0.3s ease;
        outline: none;
        resize: vertical;
    }

        .input-group input:focus,
        .input-group textarea:focus {
            border-color: #6b7280;
            background: #fff;
            box-shadow: 0 0 0 3px rgba(107, 114, 128, 0.1);
        }

    .input-group textarea {
        min-height: 60px;
        max-height: 80px;
    }

.password-toggle {
    position: absolute;
    right: 12px;
    background: none;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    padding: 5px;
}

    .password-toggle:hover {
        color: #6b7280;
    }

/* Checkbox */
.checkbox-container {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #6b7280;
    cursor: pointer;
    user-select: none;
}

    .checkbox-container input[type="checkbox"] {
        width: 16px;
        height: 16px;
        margin: 0;
    }

.checkmark {
    width: 16px;
    height: 16px;
    border: 2px solid #d1d5db;
    border-radius: 3px;
    position: relative;
    transition: all 0.3s ease;
}

.checkbox-container input[type="checkbox"]:checked + .checkmark {
    background: #6b7280;
    border-color: #6b7280;
}

    .checkbox-container input[type="checkbox"]:checked + .checkmark::after {
        content: '?';
        position: absolute;
        top: -2px;
        left: 2px;
        color: white;
        font-size: 12px;
    }

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, #64748b, #475569);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
}

    .btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(71, 85, 105, 0.3);
    }

.btn-secondary {
    background: transparent;
    color: #64748b;
    border: 2px solid #64748b;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    margin-top: 10px;
}

    .btn-secondary:hover {
        background: #64748b;
        color: white;
        text-decoration: none;
    }

/* Auth Footer */
.auth-footer {
    text-align: center;
    margin-top: 20px;
}

    .auth-footer p {
        color: #6b7280;
        font-size: 14px;
        margin: 10px 0;
    }

    .auth-footer a {
        color: #64748b;
        text-decoration: none;
        font-weight: 500;
    }

        .auth-footer a:hover {
            text-decoration: underline;
        }

/* Responsive */
@media (max-width: 768px) {
    .auth-container {
        padding: 10px;
    }

    .auth-card {
        padding: 20px;
        max-height: 98vh;
    }

    .form-row {
        flex-direction: column;
        gap: 10px;
    }

    .form-section h3 {
        font-size: 14px;
    }

    .auth-header h1 {
        font-size: 22px;
    }
}

@media (max-height: 600px) {
    .auth-card {
        padding: 15px;
        max-height: 98vh;
    }

    .auth-header {
        margin-bottom: 15px;
    }

    .form-section {
        margin-bottom: 15px;
    }

    .form-group {
        margin-bottom: 10px;
    }
}
