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

body {
    font-family: Arial, sans-serif;
    background: #f1f5f9;
    min-height: 100vh;

    display: flex;
    justify-content: center;
    align-items: center;
}

.login-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.login-card {
    width: 100%;
    max-width: 430px;

    background: white;

    padding: 50px 40px;

    border-radius: 20px;

    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.08);

    text-align: center;
}

.login-logo {
    width: 120px;
    margin-bottom: 20px;
}

.login-card h1 {
    font-size: 34px;
    color: #0f172a;
    margin-bottom: 10px;
}

.login-card p {
    color: #64748b;
    margin-bottom: 35px;
}

#loginForm {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

#loginForm input {
    padding: 15px;

    border: 1px solid #cbd5e1;

    border-radius: 10px;

    font-size: 15px;

    outline: none;
}

#loginForm input:focus {
    border-color: #2563eb;
}

#loginForm button {
    background: #2563eb;
    color: white;

    border: none;

    padding: 15px;

    border-radius: 10px;

    font-size: 15px;
    font-weight: bold;

    cursor: pointer;

    transition: 0.3s;
}

#loginForm button:hover {
    background: #1d4ed8;
}

#loginMessage {
    margin-top: 20px;
    font-size: 14px;
    color: #dc2626;
}

/* =========================
   POLISHED LOGIN FORM
========================= */

.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eef3f8;
    padding: 30px;
}

.login-card {
    width: 100%;
    max-width: 430px;
    background: white;
    padding: 46px 42px;
    border-radius: 22px;
    text-align: center;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.12);
}

.login-logo {
    width: 110px;
    height: auto;
    margin-bottom: 22px;
}

.login-card h1 {
    margin: 0 0 12px;
    font-size: 34px;
    line-height: 1.15;
    color: #061638;
}

.login-card p {
    margin: 0 0 28px;
    color: #536987;
    font-size: 16px;
}

.login-card form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 10px;
}

.login-card input {
    width: 100%;
    height: 52px;
    padding: 0 16px;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    font-size: 15px;
    outline: none;
    box-sizing: border-box;
}

.login-card input:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.login-card button {
    width: 100%;
    height: 52px;
    border: none;
    border-radius: 12px;
    background: #2563eb;
    color: white;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
}

.login-card button:hover {
    background: #1d4ed8;
}

#agentLoginMessage,
#loginMessage,
#customerLoginMessage,
#supplierLoginMessage {
    margin-top: 18px;
    font-size: 14px;
    font-weight: 600;
}

.back-home {
    display: inline-block;
    margin-top: 14px;
    color: #4f46e5;
    text-decoration: none;
    font-size: 15px;
}

.back-home:hover {
    text-decoration: underline;
}