/******************************************************************************
	* Developer: Priyanka Dahibhate
	Pixelstat eSolutions Devolopment Pvt Ltd ,India 
	* Date:	12 Feb 2023
******************************************************************************/
@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@400&display=swap');
@import url(theme.css);


.hide {
	display: none;
}

.show {
	display: block;
}

/* End Global Class */

/* =========================
       RESET
    ========================= */

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

:root {
	--dark: #100b12;
	--muted: #a99da7;
}

html {
	scroll-behavior: smooth;
}

body {
	min-height: 100vh;
	font-family: "Noto Sans Devanagari", sans-serif;
	background:
		radial-gradient(circle at 10% 10%,
			rgba(255, 106, 0, .20),
			transparent 28%),
		radial-gradient(circle at 90% 90%,
			rgba(201, 31, 45, .18),
			transparent 30%),
		var(--dark);

	color: white;
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 30px;
	overflow-x: hidden;
}

/* =========================
       BACKGROUND SHAPES
    ========================= */

.background-shape {
	position: fixed;
	border-radius: 50%;
	pointer-events: none;
	filter: blur(2px);
	z-index: 0;
}

.shape-1 {
	width: 350px;
	height: 350px;
	top: -180px;
	left: -100px;
	background:
		linear-gradient(135deg,
			rgba(255, 107, 0, .35),
			rgba(255, 157, 0, .05));

	animation: floatOne 8s ease-in-out infinite;
}

.shape-2 {
	width: 300px;
	height: 300px;
	right: -100px;
	bottom: -120px;
	background:
		linear-gradient(135deg,
			rgba(201, 31, 45, .35),
			rgba(255, 107, 0, .05));
	animation: floatTwo 9s ease-in-out infinite;
}

@keyframes floatOne {

	0%,
	100% {
		transform: translate(0, 0);
	}

	50% {
		transform: translate(30px, 30px);
	}
}

@keyframes floatTwo {

	0%,
	100% {
		transform: translate(0, 0);
	}

	50% {
		transform: translate(-25px, -25px);
	}
}

/* =========================
       MAIN CONTAINER
    ========================= */

.login-container {
	width: min(1100px, 100%);
	min-height: 650px;
	display: grid;
	grid-template-columns: 1.05fr .95fr;
	position: relative;
	z-index: 2;
	border: 1px solid rgba(255, 255, 255, .10);
	border-radius: 32px;
	overflow: hidden;
	background: rgba(255, 255, 255, .045);
	backdrop-filter: blur(25px);
	box-shadow: 0 35px 100px rgba(0, 0, 0, .55);
}

/* =========================
       LEFT SECTION
    ========================= */

.visual-section {
	position: relative;
	padding: 55px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	overflow: hidden;
	background: linear-gradient(145deg,
			#4c1115 0%,
			#8e1c15 45%,
			#ed6500 100%);
}

/* Large Marathi letter */

.visual-section::before {
	content: "म";
	position: absolute;
	right: -100px;
	bottom: -180px;
	font-size: 650px;
	line-height: .8;
	font-weight: 900;
	color:rgba(255, 255, 255, .055);
	pointer-events: none;
}

/* Decorative circle */

.visual-section::after {
	content: "";
	position: absolute;
	width: 280px;
	height: 280px;
	border-radius: 50%;
	right: -120px;
	top: -100px;
	border: 60px solid rgba(255, 255, 255, .06);
	pointer-events: none;
}

/* =========================
       BRAND
    ========================= */

.brand {
	position: relative;
	z-index: 5;
	display: flex;
	align-items: center;
	gap: 13px;
}

.brand-logo {
	width: 100px;
	height: 100px;
	border-radius: 17px;
	display: grid;
	place-items: center;
	background: #fff;
	color: #8d2512;
	font-size: 30px;
	font-weight: 900;
	box-shadow: 0 10px 35px rgba(0, 0, 0, .18);
}

.brand-logo img {
	width: 100%;
}

.brand-name {
	font-size: 18px;
	font-weight: 800;
}


/* =========================
       HERO
    ========================= */

.title {
	position: relative;
	z-index: 5;
	max-width: 560px;
}

.title h1 {
	font-size:  50px;
	line-height: 1.14;
	font-weight: 900;
	letter-spacing: -2px;
}

.title h1 span {
	color: #ffe19a;
}

.title p {
	margin-top: 22px;
	max-width: 520px;
	font-size: 15px;
	line-height: 1.9;
	color: rgba(255, 255, 255, .78);
}

/* =========================
       LOGIN SECTION
    ========================= */

.form-section {
	padding: 55px 50px;
	display: flex;
	justify-content: center;
	    justify-content: space-between;
	flex-direction: column;
	background: rgba(15, 10, 15, .75);
}

.form-header {
	margin-bottom: 30px;
}

.form-header .welcome {
	color: #ff9d32;
	font-size: 12px;
	font-weight: 700;
	margin-bottom: 8px;
}

.form-header h2 {
	font-size: 31px;
	line-height: 1.3;
}

.form-header p {
	color: var(--muted);
	font-size: 13px;
	margin-top: 7px;
}

/* =========================
       FORM
    ========================= */

.form-group {
	margin-bottom: 19px;
}

.form-group label {
	display: block;
	color: #ded5df;
	font-size: 13px;
	font-weight: 600;
	margin-bottom: 8px;
}

.input-container {
	position: relative;
}

.input-icon {
	position: absolute;
	left: 15px;
	top: 50%;
	transform: translateY(-50%);
	color: #ff9d32;
	font-size: 16px;
}

.input-container input {
	width: 100%;
	height: 54px;
	padding: 0 45px;
	border-radius: 13px;
	border: 1px solid #342b37;
	outline: none;
	background: #120d14;
	color: white;
	font-family: inherit;
	font-size: 13px;
	transition: border .25s box-shadow .25s;
}

.input-container input::placeholder {
	color: #6e6471;
}

.input-container input:focus {
	border-color: #ff8c1a;
	box-shadow: 0 0 0 4px rgba(255, 140, 26, .08);
}

.password-toggle {
	position: absolute;
	right: 15px;
	top: 50%;
	transform: translateY(-50%);
	color: #766c7b;
	cursor: pointer;
	font-size: 15px;
	user-select: none;
}

/* =========================
       OPTIONS
    ========================= */

.form-options {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin: 3px 0 24px;
	font-size: 12px;
}

.forgot {
	color: #ffad43;
	text-decoration: none;
	font-weight: 600;
}

.forgot:hover {
	text-decoration: underline;
}

/* =========================
       LOGIN BUTTON
    ========================= */

.login-button {
	width: 100%;
	height: 55px;
	border: none;
	border-radius: 13px;
	cursor: pointer;
	font-family: inherit;
	font-size: 15px;
	font-weight: 800;
	color: #291006;
	background:#ffc857;
	box-shadow: 0 12px 30px rgba(255, 111, 0, .18);
	transition:
		transform .25s,
		box-shadow .25s;
}

.login-button:hover {
	transform:
		translateY(-2px);
	box-shadow:
		0 17px 35px rgba(255, 111, 0, .30);
}

.login-button:active {
	transform:
		translateY(0);
}

.security {
	text-align: center;
	margin-top: 25px;
	font-size: 10px;
	color: #a0a0a0;
}

/* =========================
       TABLET
    ========================= */

@media (max-width: 900px) {

	body {
		padding: 20px;
	}

	.login-container {
		grid-template-columns:1fr 400px;
		min-height: 600px;
	}

	.visual-section {
		padding: 40px;
	}

	.form-section {
		padding:40px 35px;
	}

	.title {
		margin-top: 40px;
	}

}

/* =========================
       MOBILE
    ========================= */

@media (max-width: 720px) {

	body {
		padding: 12px;
		align-items:flex-start;
	}

	.login-container {
		width: 100%;
		grid-template-columns: 1fr;
		border-radius: 22px;
		min-height: auto;
	}

	.visual-section {
		min-height: 430px;
		padding: 30px;
	}

	.visual-section::before {
		font-size: 420px;
		right: -70px;
		bottom: -110px;
	}

	.title {
		margin-top: 55px;
	}

	.title h1 {
		font-size: 43px;
		letter-spacing: -1px;
	}

	.title p {
		font-size: 13px;
	}

	.visual-footer {
		margin-top: 35px;
	}

	.form-section {
		padding:38px 28px;
	}

}

/* =========================
       SMALL MOBILE
    ========================= */

@media (max-width: 430px) {

	.visual-section {
		min-height: 420px;
		padding: 25px;
	}

	.brand-logo {
		width: 50px;
		height: 50px;
		font-size: 25px;
	}

	.brand-name {
		font-size: 16px;
	}

	.title {
		margin-top: 45px;
	}

	.title h1, .title h1 span {
		font-size: 34px;
	}

	.form-section {
		padding:
			32px 22px;
	}

	.form-header h2 {
		font-size: 27px;
	}

}

/* ==========================
       LOADING OVERLAY
    ========================== */
    #loadingOverlay {
        display: none;
        position: fixed;
        inset: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.55);
        z-index: 1000000;

        justify-content: center;
        align-items: center;

        /* Prevent clicking anything behind it */
        pointer-events: all;
    }

    .loading-spinner {
        width: 50px;
        height: 50px;
        border: 5px solid rgba(255, 255, 255, 0.3);
        border-top: 5px solid #ffffff;
        border-radius: 50%;
        animation: spinner 0.8s linear infinite;
    }

    @keyframes spinner {
        to {
            transform: rotate(360deg);
        }
    }

    /* Prevent page scrolling while loading/OTP popup is open */
    body.no-scroll {
        overflow: hidden;
        height: 100vh;
    }