@import url('https://fonts.googleapis.com/css2?family=Inter:opsz,wght@14..32,300;14..32,400;14..32,500;14..32,600;14..32,700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body.login-page {
    font-family: 'Inter', 'Segoe UI', sans-serif;
    background: #f0f2f5;
    height: 100vh;
    overflow: hidden;
}

.login-container {
    display: flex;
    height: 100vh;
    width: 100%;
}

.login-left {
    width: 25%;
    background: linear-gradient(145deg, rgb(0,87,166) 0%, #022b4f 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.login-logo img {
    max-width: 80%;
    height: auto;
    background: white;
    padding: 16px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.login-right {
    width: 75%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-box {
    width: 70%;
    max-width: 440px;
    padding: 20px;
}

.toast {
    width: 100%;
    background-color: #fdecea;
    color: #c0392b;
    border-left: 4px solid #e74c3c;
    border-radius: 12px;
    padding: 12px 16px;
    margin-bottom: 24px;
    font-size: 0.85rem;
    font-weight: 500;
    opacity: 0;
    visibility: hidden;
    min-height: 48px;
    box-sizing: border-box;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.toast.show {
    opacity: 1;
    visibility: visible;
}

.toast:empty {
    opacity: 0;
    visibility: hidden;
    padding: 12px 16px;
    margin-bottom: 24px;
    min-height: 48px;
    border-left: 4px solid transparent;
}

.toast.success {
    background-color: #e0f2e9;
    color: #2e7d64;
    border-left-color: #2ecc71;
}

.input-group {
    margin-bottom: 24px;
}

.input-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    color: #334155;
    font-size: 0.9rem;
}

.input-group input {
    width: 100%;
    padding: 14px 16px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    background: #f8fafc;
    transition: all 0.2s;
}

.input-group input:focus {
    outline: none;
    border-color: rgb(0,87,166);
    box-shadow: 0 0 0 3px rgba(0,87,166,0.2);
    background: white;
}

.btn-login {
    width: 100%;
    background: rgb(0,87,166);
    color: white;
    padding: 14px 16px;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    transition: all 0.2s;
}

.btn-login:hover {
    background: #004b8f;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,87,166,0.2);
}

@media (max-width: 1024px) {
    .login-left { width: 30%; }
    .login-right { width: 70%; }
    .login-box { width: 80%; }
}

@media (max-width: 768px) {
    .login-container { flex-direction: column; }
    .login-left { width: 100%; height: 30vh; }
    .login-right { width: 100%; height: 70vh; }
    .login-logo img { max-width: 150px; }
    .login-box { width: 85%; }
}