/* ============ Base ============ */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: #e2e6ea;
    color: #333333;
}

/* ============ Login / Signup page shell ============ */
.login-page-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #e2e6ea;
    padding: 20px;
}

.login-title {
    font-size: 32px;
    font-weight: 600;
    color: #212529;
    margin-bottom: 24px;
    text-align: center;
}

/* ============ Alert messages ============ */
.alert-msg {
    width: 100%;
    max-width: 360px;
    padding: 10px 14px;
    border-radius: 4px;
    margin-bottom: 15px;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
}
.alert-error   { background-color: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }
.alert-success { background-color: #d4edda; color: #155724; border: 1px solid #c3e6cb; }

/* ============ Login form ============ */
.login-form-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 360px;
    padding: 10px;
}

.login-input-group {
    display: flex;
    width: 100%;
    background-color: #ffffff;
    border: 1px solid #ced4da;
    border-radius: 4px;
    margin-bottom: 16px;
    overflow: hidden;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.075);
}

.login-input-group input {
    flex: 1;
    border: none;
    outline: none;
    padding: 12px 14px;
    font-size: 15px;
    color: #495057;
    background-color: #ffffff;
}
.login-input-group input::placeholder { color: #9aa1a9; }

/* Pre-filled light blue fields (as in screenshots) */
.login-input-group.readonly input {
    background-color: #dbe7f5;
    color: #111111;
}

.login-input-icon-box {
    width: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #e9ecef;
    border-left: 1px solid #ced4da;
    color: #495057;
    font-size: 14px;
}

/* Remember Me + Login button row */
.login-controls-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-top: 8px;
    margin-bottom: 28px;
}

.login-remember-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 150px;
    user-select: none;
}
.login-remember-checkbox {
    width: 14px;
    height: 14px;
    cursor: pointer;
    accent-color: #007bff;
    margin-bottom: 4px;
}
.login-remember-text {
    font-size: 24px;
    font-weight: bold;
    color: #212529;
    text-align: center;
    line-height: 1.05;
    cursor: pointer;
}

.login-btn {
    background-color: #007bff;
    color: #ffffff;
    border: none;
    padding: 10px 30px;
    font-size: 15px;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    transition: background-color 0.15s ease;
}
.login-btn:hover { background-color: #0069d9; }

/* Forgot Password? / Register links */
.login-links-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: 10px;
}
.login-link {
    color: #7d848c;
    font-size: 24px;
    text-decoration: none;
    transition: color 0.15s ease;
}
.login-link:hover { color: #212529; text-decoration: underline; }

/* ============ Sign Up page ============ */
.signup-title {
    font-size: 30px;
    font-weight: 600;
    color: #565f68;
    margin-bottom: 22px;
    text-align: center;
}

.signup-card {
    width: 100%;
    max-width: 320px;
    background-color: #f8f9fa;
    border: 1px solid #e4e7ea;
    box-shadow: 0 1px 5px rgba(0,0,0,0.12);
    padding: 18px 16px;
}

.signup-card-title {
    font-size: 13px;
    font-weight: bold;
    color: #555555;
    text-align: center;
    margin-bottom: 16px;
}

.signup-card .login-input-group { margin-bottom: 12px; }
.signup-card .alert-msg { max-width: 100%; }

.signup-controls-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-top: 14px;
}

.terms-container { display: flex; align-items: center; gap: 6px; user-select: none; }
.terms-container input { width: 14px; height: 14px; accent-color: #007bff; cursor: pointer; }
.terms-text { font-size: 12px; font-weight: bold; color: #495057; }
.terms-text a { color: #007bff; text-decoration: none; }
.terms-text a:hover { text-decoration: underline; }

.signup-login-link {
    display: inline-block;
    margin-top: 16px;
    color: #007bff;
    font-size: 13px;
    font-weight: bold;
    text-decoration: none;
}
.signup-login-link:hover { text-decoration: underline; }








