﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: #f5f5f5;
}

.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.auth-card {
    background: white;
    border-radius: 24px;
    border: 1px solid #e5e5e5;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    width: 100%;
    max-width: 560px;
    padding: 60px 80px;
    animation: slideUp 0.4s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.auth-header {
    text-align: center;
    margin-bottom: 40px;
}

.auth-logo {
    display: inline-block;
    margin-bottom: 24px;
}

    .auth-logo svg {
        width: 64px;
        height: 64px;
    }

.auth-header h1 {
    font-size: 24px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.auth-header p {
    color: #737373;
    font-size: 15px;
    font-weight: 400;
}

.form-group {
    margin-bottom: 24px;
}

    .form-group label {
        display: block;
        font-weight: 600;
        color: #1a1a1a;
        margin-bottom: 8px;
        font-size: 14px;
    }

.input-wrapper {
    position: relative;
}

.form-input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.2s;
    background: #fafafa;
    color: #1a1a1a;
}

    .form-input::placeholder {
        color: #a3a3a3;
    }

    .form-input:focus {
        outline: none;
        border-color: #1a1a1a;
        background: white;
    }

    .form-input.error {
        border-color: #ef4444;
        background: #fef2f2;
    }

.error-message {
    color: #ef4444;
    font-size: 13px;
    margin-top: 6px;
    display: none;
}

    .error-message.show {
        display: block;
    }

.password-toggle {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #a3a3a3;
    cursor: pointer;
    padding: 4px;
    font-size: 18px;
    transition: color 0.2s;
}

    .password-toggle:hover {
        color: #1a1a1a;
    }

.btn-login {
    width: 100%;
    padding: 14px;
    background: #1a1a1a;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 8px;
}

    .btn-login:hover {
        background: #000000;
    }

    .btn-login:active {
        transform: scale(0.98);
    }

    .btn-login:disabled {
        opacity: 0.6;
        cursor: not-allowed;
    }

.auth-footer {
    text-align: center;
    color: #737373;
    font-size: 15px;
    margin-top: 24px;
}

    .auth-footer a {
        color: #1a1a1a;
        text-decoration: none;
        font-weight: 600;
    }

        .auth-footer a:hover {
            text-decoration: underline;
        }

@media (max-width: 640px) {
    .auth-card {
        padding: 40px 32px;
    }
}