﻿:root {
    --primary-red: #991b1b;
    --primary-blue: #0099bc;
    --bg-color: #f3f4f6;
    --card-bg: #ffffff;
    --text-main: #1f2937;
    --border-color: #e5e7eb;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: 'Inter',sans-serif;
    background-color: var(--bg-color);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.auth-card {
    background: var(--card-bg);
    width: 100%;
    max-width: 400px;
    padding: 35px;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.brand-wrapper {
    text-align: center;
    margin-bottom: 30px;
}

.brand-logo {
    max-width: 200px;
    height: auto;
    margin-bottom: 12px;
}

.brand-wrapper h1 {
    font-size: 1.15rem;
    color: var(--text-main);
    font-weight: 700;
    letter-spacing: -0.5px;
}

.form-group {
    margin-bottom: 20px;
}

    .form-group label {
        display: block;
        font-size: 0.875rem;
        font-weight: 600;
        margin-bottom: 8px;
        color: var(--text-main);
    }

.input-group {
    display: flex;
    align-items: center;
    background: #f9fafb;
    border: 1.5px solid var(--border-color);
    border-radius: 12px;
    transition: all 0.2s ease;
    position: relative;
}

    .input-group:focus-within {
        border-color: var(--primary-blue);
        background: #ffffff;
        box-shadow: 0 0 0 4px rgba(0,153,188,0.1);
    }

.input-icon-wrapper {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

.input-icon {
    color: #9ca3af;
    font-size: 1.25rem;
}

.form-control {
    flex: 1;
    width: 100%;
    border: none;
    background: transparent;
    padding: 14px 16px 14px 40px;
    font-size: 16px;
    outline: none;
    color: var(--text-main);
    -webkit-appearance: none;
}

    /* Tarayıcıların otomatik şifre göster/temizle butonlarını iptal eder */
    .form-control::-ms-reveal,
    .form-control::-ms-clear {
        display: none !important;
    }

    .form-control::-webkit-contacts-auto-fill-button,
    .form-control::-webkit-credentials-auto-fill-button {
        visibility: hidden;
        display: none !important;
        pointer-events: none;
    }

.btn-login {
    width: 100%;
    background: var(--primary-red);
    color: white;
    border: none;
    padding: 15px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 12px;
    cursor: pointer;
    margin-top: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    transition: background 0.3s;
}

    .btn-login:active {
        transform: scale(0.98);
    }

    .btn-login:disabled {
        opacity: 0.7;
        cursor: not-allowed;
    }

.spinner {
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,0.3);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    display: none;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.footer-text {
    text-align: center;
    margin-top: 30px;
    font-size: 0.75rem;
    color: #9ca3af;
    line-height: 1.6;
}

    .footer-text a {
        color: inherit;
        text-decoration: none;
        font-weight: 600;
    }
