@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&display=swap');

:root {
    --primary-color: #2563eb;
    --primary-hover: #1d4ed8;
    --text-main: #1f2937;
    --text-muted: #6b7280;
    --bg-color: #ffffff;
    --card-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.04), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
    --input-border: #e5e7eb;
    --input-focus: #2563eb;
}

body {
    background-color: var(--bg-color) !important;
    font-family: 'Inter', sans-serif !important;
    color: var(--text-main);
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

#login-app {
    width: 100%;
    padding: 20px;
}

.login-card {
    background: #ffffff;
    border-radius: 1.5rem;
    box-shadow: var(--card-shadow);
    padding: 3rem 2.5rem;
    max-width: 440px;
    width: 100%;
    margin: auto;
    border: 1px solid #f3f4f6;
    animation: fadeIn 0.6s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.login-logo {
    margin-bottom: 2.5rem;
    text-align: center;
}

.login-logo img {
    max-width: 250px;
    height: auto;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.05));
}

.form-title {
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    margin-bottom: 0.5rem;
    text-align: center;
    color: var(--text-main);
}

.form-subtitle {
    font-size: 0.95rem;
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 2.5rem;
}

.field {
    margin-bottom: 1.5rem;
}

.control-v2 {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 1.25rem;
    color: #9ca3af;
    font-size: 1.1rem;
    pointer-events: none;
    z-index: 10;
}

.input-v2 {
    width: 100%;
    padding: 0.875rem 1.25rem 0.875rem 3.25rem;
    border: 1px solid var(--input-border);
    border-radius: 0.875rem;
    font-size: 1rem;
    color: var(--text-main);
    background-color: #f9fafb;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.input-v2:focus {
    outline: none;
    border-color: var(--input-focus);
    background-color: #ffffff;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.08);
}

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

.btn-login {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: white;
    border: none;
    border-radius: 0.875rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 1rem;
    box-shadow: 0 4px 6px -1px rgba(37, 99, 235, 0.2), 0 2px 4px -1px rgba(37, 99, 235, 0.1);
}

.btn-login:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.3);
    filter: brightness(1.05);
}

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

.remember-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 1.25rem;
    font-size: 0.875rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    color: var(--text-muted);
    user-select: none;
}

.checkbox-label input {
    margin-right: 0.625rem;
    width: 1rem;
    height: 1rem;
    border-radius: 4px;
    accent-color: var(--primary-color);
}

.error-message {
    background-color: #fef2f2;
    border: 1px solid #fee2e2;
    color: #b91c1c;
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.navbar-login {
    display: none !important;
}

/* Bulma Reset Overrides */
.columns, .column { margin: 0 !important; padding: 0 !important; }
