
/* Background video */
#bg-video {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	object-fit: cover;
	z-index: -2; /* behind overlay and content */
}

/* Darkening overlay */
#video-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background: rgba(0, 0, 0, 0.5); /* 50% black */
	z-index: -1; /* between video and content */
}

:root {
	--bg: #0b0f1a; /* deep navy */
	--card: #111827; /* slate-900 */
	--muted: #6b7280; /* gray-500 */
	--text: #e5e7eb; /* gray-200 */
	--heading: #f9fafb; /* gray-50 */
	--brand: #fb923c; /* orange-400 */
	--brand-strong: #f97316; /* orange-500 */
	--ring: rgba(251, 146, 60, 0.35);
	--border: rgba(255, 255, 255, 0.08);
	--success: #22c55e;
}

* {
	box-sizing: border-box;
}

html, body {
	height: 100%;
}

body {
	margin: 0;
	font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial,
		"Noto Sans", "Helvetica Neue", sans-serif;
	background: radial-gradient(1200px 800px at 10% 10%, rgba(251, 146, 60, 0.07),
		transparent 50%),
		radial-gradient(1000px 800px at 90% 20%, rgba(99, 102, 241, 0.06),
		transparent 50%), var(--bg);
	color: var(--text);
}

.wrap {
	min-height: 100%;
	display: grid;
	place-items: center;
	padding: 32px 16px;
}

.card {
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.02),
		rgba(255, 255, 255, 0.01));
	border: 1px solid var(--border);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35), inset 0 1px 0
		rgba(255, 255, 255, 0.03);
	border-radius: 20px;
	max-width: 960px;
	width: 100%;
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	overflow: hidden;
}

.messageDiv {
	/* width: 200px;
    height: 100px; */
	border: 2px solid black; /* Sets a 2px solid black border */
	border-radius: 15px; /* Rounds the corners with a 15px radius */
	padding-top: 20px;
	padding: 10px;
	margin-bottom: 20px;
	margin-top: 20px;
	text-align: center;
	background-color: gray;
}

@media ( max-width : 900px) {
	.card {
		grid-template-columns: 1fr;
	}
	.aside {
		order: -1;
	}
}

.main {
	padding: 40px;
}

.eyebrow {
	color: var(--brand);
	font-weight: 600;
	letter-spacing: .06em;
	text-transform: uppercase;
	font-size: 12px;
}

h1 {
	margin: 10px 0 18px;
	font-size: 28px;
	line-height: 1.2;
	color: var(--brand);
}

p.lede {
	margin: 0 0 28px;
	color: var(--brand);
}

form {
	display: grid;
	gap: 16px;
}

label {
	display: block;
	font-size: 14px;
	color: var(--brand);
	margin-bottom: 6px;
}

.field {
	position: relative;
}

input[type="text"], input[type="password"] {
	background: white;
	color: black;
	border: 1px solid var(--border);
	border-radius: 12px;
	width: 100%;
	padding: 14px 14px;
	outline: none;
	transition: box-shadow .2s, border-color .2s;
	font-size: 17px;
}

input[type="text"]:focus, input[type="password"]:focus {
	border-color: var(--brand);
	box-shadow: 0 0 0 4px var(--ring);
}

.row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.actions {
	display: grid;
	gap: 10px;
	margin-top: 6px;
}

button[type="submit"] {
	appearance: none;
	border: none;
	cursor: pointer;
	background: linear-gradient(180deg, var(--brand), var(--brand-strong));
	color: #111;
	font-weight: 700;
	letter-spacing: .02em;
	padding: 14px 18px;
	border-radius: 12px;
	transition: transform .08s ease, box-shadow .2s;
	box-shadow: 0 10px 20px rgba(249, 115, 22, 0.25);
}

button[type="submit"]:hover {
	transform: translateY(-1px);
}

button[type="submit"]:active {
	transform: translateY(0);
}

#btnForgotPwd {
   background: none; 
   border: none; 
   padding: 0; 
   color: var(--brand); 
   text-decoration: underline; 
   cursor: pointer;
}

#errorMessage {
	background: none; 
	border: none; 
	padding: 0; 
	color: var(--brand); 
}

.quiet {
	display : none;
}

a {
	color: white;
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

.aside {
	background: radial-gradient(800px 360px at 10% 0%, rgba(251, 146, 60, 0.07),
		transparent 60%), var(--brand);
	padding: 40px;
	border-left: 1px solid var(--border);
}

.aside .block {
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid var(--border);
	border-radius: 14px;
	padding: 16px 16px;
	margin-bottom: 16px;
}

.aside h3 {
	margin: 0 0 8px;
	color: var(--heading);
	font-size: 16px;
}

.aside p {
	margin: 0;
	color: white;
	font-size: 14px;
}

.badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: rgba(34, 197, 94, 0.12);
	color: var(--success);
	border: 1px solid rgba(34, 197, 94, .25);
	padding: 6px 10px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 600;
}

.footer {
	text-align: center;
	color: var(--muted);
	font-size: 12px;
	margin-top: 20px;
}

.host {
	color: var(--muted);
	font-size: 12px;	
}


  /* Overlay */
    .modal-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.45);
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 1000;
    }

    /* Modal box */
    .modal {
        background: #cec8c8;
        width: 90%;
        max-width: 400px;
        border-radius: 14px;
        padding: 30px 24px;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
        text-align: center;
        animation: slideUp 0.25s ease-out;
    }

    .modal h2 {
        margin: 0 0 12px;
        font-size: 1.4rem;
        color: #111827;
    }

    .modal p {
        margin: 0 0 24px;
        font-size: 1rem;
        color: #4b5563;
    }

    /* Button */
    .modal button {
        appearance: none;
        border: none;
        background: #7b726a;
        color: #ffffff;
        padding: 12px 24px;
        font-size: 1rem;
        font-weight: 600;
        border-radius: 10px;
        cursor: pointer;
        transition: background 0.2s ease, transform 0.1s ease;
    }

    .modal button:hover {
        background: #493f36;
    }

    .modal button:active {
        transform: scale(0.97);
    }

    @keyframes slideUp {
        from {
            opacity: 0;
            transform: translateY(20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
