:root {
    --primary-red: #d32f2f;
    --dark-bg: #f5f5f5;
    --card-white: #ffffff;
}

/* Reset / Base */
body {
    margin: 0;
    font-family: 'Inter', 'Roboto', 'Helvetica', Arial, sans-serif;
	background-color: var(--dark-bg);
	display: flex;
	justify-content: center;
	align-items: center;
	height: 100vh;
}

/* =========================
   CENTER / LAYOUT
========================= */
.centered-page {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

/* =========================
   LOGIN CARD
========================= */
.login-card {
	background: var(--card-white);
	padding: 40px;
	border-radius: 16px;
	width: 100%;
	max-width: 380px;
	box-shadow: 0 20px 50px rgba(0,0,0,0.3);
	text-align: center;
	margin: 25px;
}

/* =========================
   LOGO
========================= */
.logo {
    height: 80px;
    margin-bottom: 20px;
}

/* =========================
   HEADLINE
========================= */
h1 {
    font-size: 22px;
    font-weight: 600;
    color: #333;
    margin: 0 0 30px 0;
    letter-spacing: 1px;
}

/* =========================
   INPUTS
========================= */
.input-wrapper {
    position: relative;
    margin-bottom: 20px;
    text-align: left;
}

.input-wrapper i {
    position: absolute;
    left: 14px;
    top: 13px;
    color: #999;
    font-size: 20px;
}

input {
    width: 100%;
    padding: 14px 15px 14px 45px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 16px;
    font-family: inherit;
    box-sizing: border-box;
    transition: all 0.2s ease;
}

input:focus {
    outline: none;
    border-color: var(--primary-red);
    box-shadow: 0 0 0 3px rgba(211, 47, 47, 0.1);
}

/* =========================
   BUTTON
========================= */
button {
    width: 100%;
    padding: 15px;
    background-color: var(--primary-red);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    margin-top: 10px;
}

button:hover {
    background-color: #b71c1c;
}

button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

/* =========================
   ERROR TEXT
========================= */
#errortext {
    display: block;
    margin-top: 20px;
    color: var(--primary-red);
    font-size: 13px;
    min-height: 18px;
}

/* =========================
   FOOTER
========================= */
.footer-note {
    margin-top: 30px;
    font-size: 11px;
    color: #999;
}

/* =========================
   LOADING SCREEN (index.php)
========================= */
.loading-card {
    text-align: center;
    animation: fadeIn 0.8s ease-out;
    margin-top: -10vh;
}

.status-text {
    margin-top: 20px;
    color: #757575;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.2px;
}

.mdl-spinner {
    width: 32px;
    height: 32px;
}

/* =========================
   ANIMATIONS
========================= */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.03); }
    100% { transform: scale(1); }
}


.input-wrapper select {
    width: 100%;
    padding: 14px 15px 14px 45px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 16px;
    font-family: inherit;
    box-sizing: border-box;
    transition: all 0.2s ease;
    background-color: #fff;
    color: #333;
    cursor: pointer;
    appearance: none;
}

.input-wrapper select:focus {
    outline: none;
    border-color: var(--primary-red);
    box-shadow: 0 0 0 3px rgba(211, 47, 47, 0.1);
}

