:root {
    --teal: #09a0a8;
    --bg: #f4f6f8;
    --card: #fff;
    --text: #0f172a;
    --red: #ef4444;
    --blue: #0b5ef0;
    --border: #e5e7eb;
    --orange: #f7b500;
}

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

body {
    margin: 0;
    font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto;
    background: var(--bg);
    color: var(--text);
}

/* Login form CSS */
/* Wrapper centers the form */
.login-wrapper {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f1f3f6;
    padding: 20px;
}

/* Card container */
.login-card {
    width: 100%;
    max-width: 420px;
    background: #fff;
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.1);
}

/* Title */
.login-card h2 {
    text-align: center;
    margin-bottom: 20px;
    font-weight: 600;
    color: #333;
}

/* Input fields */
.login-input {
    width: 100%;
    padding: 12px 14px;
    margin-top: 6px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 15px;
    outline: none;
    transition: 0.2s;
}

.login-input:focus {
    border-color: #007bff;
    box-shadow: 0 0 4px rgba(0, 123, 255, 0.3);
}

/* Button */
.login-btn {
    width: 100%;
    padding: 12px;
    margin-top: 18px;
    background: #007bff;
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 16px;
    cursor: pointer;
    transition: 0.2s;
}

.login-btn:hover {
    background: #0056b3;
}

/* Error message */
.flash.err {
    background: #ffdddd;
    color: #d00;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 15px;
    text-align: center;
}

/* Supplier Create */
.simple-form {
    max-width: 390px;
    margin: 15px auto;
    padding: 0px;
    background: #ffffff;
    font-family: Arial, sans-serif;
}

.simple-form .form-row {
    margin-bottom: 12px;
}

.simple-input {
    width: 100%;
    padding: 8px 10px;
    margin-top: 4px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 6px;
    outline: none;
    box-sizing: border-box;
    transition: 0.2s;
}

.simple-input:focus {
    border-color: #007bff;
    box-shadow: 0 0 3px rgba(0, 123, 255, 0.2);
}

.btn-primary {
    width: 100%;
    padding: 12px;
    background: #007bff;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: 0.2s;
    margin-top: 5px;
}

.btn-primary:hover {
    background: #0056b3;
}


/* Link under form */
.form-link {
    display: block;
    text-align: center;
    margin-top: 15px;
    font-size: 14px;
    color: #555;
    text-decoration: none;
}

.form-link:hover {
    text-decoration: underline;
    color: #007bff;
}

/* Improve spacing inside form rows */
.form-row {
    margin-bottom: 14px;
}