*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #ffffff;
    color: #1a1a2e;
    -webkit-font-smoothing: antialiased;
}

.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: linear-gradient(180deg, #fafbfc 0%, #ffffff 100%);
}

.login-card {
    width: 100%;
    max-width: 420px;
    background: #ffffff;
    border-radius: 20px;
    padding: 48px 40px;
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.12),
        0 2px 10px rgba(0, 0, 0, 0.08);
}

.logo-container {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

.logo-container img {
    height: 110px;
    width: auto;
    object-fit: contain;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

.login-title {
    text-align: center;
    font-size: 1.125rem;
    font-weight: 400;
    color: #4a4a68;
    margin-bottom: 36px;
    letter-spacing: -0.01em;
}

.login-title strong {
    display: block;
    font-size: 2rem;
    color: #334155;
    margin-bottom: 4px;
}

.form-group {
    margin-bottom: 16px;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.form-input {
    width: 100%;
    height: 52px;
    padding: 0 48px 0 20px;
    font-size: 0.9375rem;
    font-family: inherit;
    color: #1a1a2e;
    background: #f8f9fb;
    border: 1px solid #e8eaed;
    border-radius: 12px;
    outline: none;
    transition: all 0.2s ease;
}

.form-input::placeholder {
    color: #9ca3af;
}

.form-input:hover {
    border-color: #d1d5db;
    background: #f3f4f6;
}

.form-input:focus {
    background: #ffffff;
    border-color: #38bdf8;
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.15);
}

.input-icon {
    position: absolute;
    right: 16px;
    width: 20px;
    height: 20px;
    color: #9ca3af;
    pointer-events: none;
}

.submit-btn {
    width: 100%;
    height: 52px;
    margin-top: 24px;
    font-size: 0.9375rem;
    font-weight: 600;
    font-family: inherit;
    color: #ffffff;
    background: linear-gradient(135deg, #1e3a5f 0%, #0f2a4a 100%);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    letter-spacing: 0.01em;
}

.submit-btn:hover {
    background: linear-gradient(135deg, #0f2a4a 0%, #091d33 100%);
    transform: translateY(-1px);
    box-shadow: 0 8px 20px -4px rgba(15, 42, 74, 0.4);
}

.submit-btn:active {
    transform: translateY(0);
}

.error-message {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    margin-bottom: 20px;
    font-size: 0.875rem;
    color: #dc2626;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 10px;
}

.error-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.footer-text {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid #f1f3f4;
    text-align: center;
    font-size: 0.8125rem;
    color: #6b7280;
}

.text-accent {
    color: #38bdf8;
    font-weight: 600;
}

@media (max-width: 480px) {
    .login-card {
        padding: 36px 24px;
        border-radius: 16px;
    }

    .logo-container img {
        height: 80px;
    }
}
