/* Reset and body */
body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-color: #f0f2f5;
}

/* Center wrapper */
.login-wrapper {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Login box */
.login-box {
    background-color: #2451a2;
    width: 320px;
    padding: 30px 20px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    position: relative;
}

/* Title */
.login-title {
    font-size: 22px;
    font-weight: bold;
    color: #ff884d;
    margin-bottom: 15px;
}

/* Logo */
.login-logo {
    width: 180px;
    height: auto;
    margin-bottom: 20px;
}

/* Form rows */
.login-form {
    margin-top: 10px;
}

.form-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
}

.form-row label {
    width: 30px;
    text-align: right;
    font-weight: bold;
    color: #fff;
    margin-right: 10px;
}

.form-row input[type="text"],
.form-row input[type="password"] {
    flex: 1;
    padding: 8px 10px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    box-shadow: inset 0 0 3px rgba(0,0,0,0.2);
}

/* Remember me row */
.remember-row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin: -5px 0 10px 0; /* tighten spacing */
    font-size: 14px;
    padding-left: 40px; /* align with inputs */
}

.remember-row input[type="checkbox"] {
    margin-right: 8px;
    transform: scale(1.1); /* optional: slightly larger box */
    cursor: pointer;
}

.remember-label {
    color: #fff;
    cursor: pointer;
}
/* Login button */
.login-button {
    margin-top: 10px;
    width: 100%;
    padding: 10px;
    font-weight: bold;
    background-color: #ffb280;
    color: #000;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.login-button:hover {
    background-color: #ffa05c;
}

/* Alert messages */
.alert {
    padding: 10px;
    border-radius: 6px;
    margin-bottom: 15px;
    text-align: left;
    font-size: 14px;
}

.alert.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}
