﻿.auth-shell {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px;
    background: #f8fafc;
    color: #0f172a;
}

.auth-card {
    width: 100%;
    max-width: 460px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    position: relative;
    overflow: hidden;
}

    .auth-card::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        height: 4px;
        width: 100%;
        background: linear-gradient(90deg, #3b82f6, #7c3aed);
    }

.auth-header {
    text-align: center;
    margin-bottom: 26px;
}

.auth-logo {
    width: 70px;
    height: 70px;
    object-fit: contain;
    margin-bottom: 14px;
}

.auth-header h1 {
    margin: 0 0 8px 0;
    font-size: 2rem;
    line-height: 1.05;
    color: #0f172a;
}

.auth-header p {
    margin: 0;
    color: #475569;
    font-size: 1rem;
    line-height: 1.5;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

    .form-group label {
        font-size: 0.92rem;
        font-weight: 600;
        color: #6366f1;
    }

.auth-input {
    width: 100%;
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    background: #f1f5f9;
    color: #0f172a;
    font-size: 0.98rem;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

    .auth-input::placeholder {
        color: #94a3b8;
    }

    .auth-input:focus {
        border-color: #6366f1;
        background: #ffffff;
        box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.12);
    }

.auth-button {
    margin-top: 6px;
    width: 100%;
    border: none;
    border-radius: 14px;
    padding: 14px 16px;
    font-size: 1rem;
    font-weight: 700;
    color: white;
    background: linear-gradient(135deg, #3b82f6, #7c3aed);
    box-shadow: 0 10px 25px rgba(59,130,246,0.25);
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}

    .auth-button:hover {
        transform: translateY(-1px);
        box-shadow: 0 14px 28px rgba(59,130,246,0.28);
    }

    .auth-button:active {
        transform: translateY(0);
    }

.auth-footer {
    margin-top: 22px;
    text-align: center;
    color: #475569;
    font-size: 0.95rem;
}

    .auth-footer a {
        margin-left: 6px;
        color: #6366f1;
        font-weight: 700;
        text-decoration: none;
    }

        .auth-footer a:hover {
            color: #7c3aed;
            text-decoration: underline;
        }

@media (max-width: 640px) {
    .auth-shell {
        padding: 18px;
    }

    .auth-card {
        padding: 24px 20px;
    }

    .auth-header h1 {
        font-size: 1.7rem;
    }
}
.auth-shell {
    min-height: 100vh;
    padding: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    color: #0f172a;
}

.auth-card {
    width: 100%;
    max-width: 460px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    position: relative;
    overflow: hidden;
}

.auth-card-wide {
    max-width: 680px;
}

.auth-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 4px;
    width: 100%;
    background: linear-gradient(90deg, #3b82f6, #7c3aed);
}

.auth-header {
    text-align: center;
    margin-bottom: 26px;
}

.auth-logo {
    width: 70px;
    height: 70px;
    object-fit: contain;
    margin-bottom: 14px;
}

.auth-header h1 {
    margin: 0 0 8px 0;
    font-size: 2rem;
    line-height: 1.05;
    color: #0f172a;
}

.auth-header p {
    margin: 0;
    color: #475569;
    font-size: 1rem;
    line-height: 1.5;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.auth-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

    .form-group label {
        font-size: 0.92rem;
        font-weight: 600;
        color: #6366f1;
    }

.auth-input {
    width: 100%;
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    background: #f1f5f9;
    color: #0f172a;
    font-size: 0.98rem;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

    .auth-input::placeholder {
        color: #94a3b8;
    }

    .auth-input:focus {
        border-color: #6366f1;
        background: #ffffff;
        box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.12);
    }

.auth-button {
    margin-top: 6px;
    width: 100%;
    border: none;
    border-radius: 14px;
    padding: 14px 16px;
    font-size: 1rem;
    font-weight: 700;
    color: white;
    background: linear-gradient(135deg, #3b82f6, #7c3aed);
    box-shadow: 0 10px 25px rgba(59,130,246,0.25);
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

    .auth-button:hover {
        transform: translateY(-1px);
        box-shadow: 0 14px 28px rgba(59,130,246,0.28);
    }

.auth-error {
    padding: 14px 16px;
    border-radius: 14px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #b91c1c;
    font-size: 0.95rem;
}

.auth-footer {
    margin-top: 22px;
    text-align: center;
    color: #475569;
    font-size: 0.95rem;
}

    .auth-footer a {
        margin-left: 6px;
        color: #6366f1;
        font-weight: 700;
        text-decoration: none;
    }

        .auth-footer a:hover {
            color: #7c3aed;
            text-decoration: underline;
        }

@media (max-width: 768px) {
    .auth-shell {
        padding: 18px;
    }

    .auth-card,
    .auth-card-wide {
        max-width: 100%;
        padding: 24px 20px;
    }

    .auth-grid {
        grid-template-columns: 1fr;
    }

    .auth-header h1 {
        font-size: 1.7rem;
    }
}