﻿body.login-body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI";
    background: linear-gradient( 135deg, #0f172a, #1e293b);
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-wrapper {
    width: 100%;
    max-width: 420px;
    padding: 20px;
}

.login-card {
    background: white;
    padding: 35px;
    border-radius: 14px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    animation: fadeIn 0.4s ease;
}

.login-logo {
    width: 140px;
    margin: 0 auto 20px auto;
    display: block;
}

.login-title {
    margin-bottom: 25px;
    font-weight: 600;
}

.form-group {
    margin-bottom: 18px;
}

.modern-input {
    border-radius: 8px;
    padding: 10px;
    border: 1px solid #e2e8f0;
    transition: 0.2s;
}

    .modern-input:focus {
        border-color: #2563eb;
        box-shadow: 0 0 0 3px rgba(37,99,235,0.15);
    }

.login-btn {
    width: 100%;
    margin-top: 10px;
    border-radius: 8px;
    padding: 11px;
    background: #2563eb !important;
    color: white !important;
    border: none;
    font-weight: 600;
    transition: 0.2s;
}

.login-btn:hover {
    background: #1d4ed8 !important;
}

.spinner {
    width: 16px;
    height: 16px;
    border: 2px solid white;
    border-top: 2px solid transparent;
    border-radius: 50%;
    display: inline-block;
    animation: spin .6s linear infinite;
    margin-right: 6px;
}

@keyframes spin {

    to {
        transform: rotate(360deg);
    }
}

@keyframes fadeIn {

    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
