@charset "utf-8";
/* Modernized login layout styles */

*,
*::before,
*::after {
	box-sizing: border-box;
}

body {
	font-family: "Segoe UI", "Roboto", sans-serif;
	min-height: 100vh;
	margin: 0;
	color: #1f2937;
	background:
		radial-gradient(circle at top left, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0) 45%),
		linear-gradient(180deg, #f3f4f6 0%, #e5e7eb 100%);
	background-attachment: fixed;
	position: relative;
	overflow-x: hidden;
}

body::before,
body::after {
	content: "";
	position: fixed;
	z-index: -1;
	border-radius: 999px;
	filter: blur(4px);
}

body::before {
	width: 340px;
	height: 340px;
	top: -90px;
	left: -70px;
	background: radial-gradient(circle, rgba(79, 70, 229, 0.22), rgba(79, 70, 229, 0));
}

body::after {
	width: 300px;
	height: 300px;
	bottom: -90px;
	right: -60px;
	background: radial-gradient(circle, rgba(55, 48, 163, 0.18), rgba(55, 48, 163, 0));
}

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

#login-block {
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px 12px 8px;
}

.auth-shell {
	width: min(92vw, 520px);
	margin: 0 auto;
}

.login-box {
	position: relative;
	width: 100%;
	max-width: none;
	margin: 0 auto;
	padding: 36px 34px 30px;
	border-radius: 22px;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(250, 251, 255, 0.95));
	border: 1px solid rgba(148, 163, 184, 0.24);
	box-shadow: 0 18px 50px rgba(30, 41, 59, 0.18);
	backdrop-filter: blur(7px);
}

.login-box h4 {
	margin-top: 14px;
	margin-bottom: 0;
	font-size: 1.4rem;
	font-weight: 700;
	color: #111827;
}

.login-subtitle {
	margin: 10px 0 0;
	font-size: 0.92rem;
	color: #6b7280;
}

.login-logo {
	text-align: center;
	padding-bottom: 14px;
}

.login-logo img {
	border: 0;
	display: inline-block;
	filter: drop-shadow(0 6px 14px rgba(2, 6, 23, 0.2));
}

.login-form {
	margin-top: 10px;
	color: #374151;
}

.alert {
	margin: 0 auto 16px;
	width: 100%;
	padding: 10px 12px;
	border: 1px solid transparent;
	border-radius: 12px;
}

.alert-primary {
	color: #3730A3;
	background: #EEF2FF;
	border-color: #A5B4FC;
}

.alert-success {
	color: #166534;
	background: #dcfce7;
	border-color: #86efac;
}

.alert-warning {
	color: #92400e;
	background: #fef3c7;
	border-color: #fcd34d;
}

.alert-danger {
	color: #991b1b;
	background: #fee2e2;
	border-color: #fca5a5;
}

.status-banner {
	margin: 0 0 14px;
	padding: 10px 12px;
	border-radius: 12px;
	font-size: 0.92rem;
	font-weight: 600;
	border: 1px solid transparent;
}

.status-success {
	color: #166534;
	background: #dcfce7;
	border-color: #86efac;
}

.status-error {
	color: #991b1b;
	background: #fee2e2;
	border-color: #fca5a5;
}

.login-form input {
	display: block;
	width: 100%;
	margin: 0 auto 14px;
	padding: 12px 14px;
	background: #ffffff;
	border: 1px solid #cfd7e3;
	border-radius: 12px;
	color: #1f2937;
	font-size: 0.95rem;
	transition: all 0.2s ease;
	box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8), inset 0 1px 2px rgba(15, 23, 42, 0.04);
}

.login-form input:focus {
	outline: none;
	border-color: #4F46E5;
	box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.16);
}

.btn.btn-login {
	width: 100%;
	display: block;
	margin: 18px auto 16px;
	padding: 11px 16px;
	color: #ffffff;
	background: linear-gradient(135deg, #4F46E5, #3730A3);
	text-transform: uppercase;
	letter-spacing: 0.06em;
	font-weight: 700;
	border: 0;
	border-radius: 13px;
	transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
	box-shadow: 0 10px 24px rgba(79, 70, 229, 0.32);
}

.btn.btn-login:hover {
	transform: translateY(-1px);
	box-shadow: 0 14px 26px rgba(79, 70, 229, 0.42);
	opacity: 0.98;
}

.btn.btn-login2 {
	width: 100%;
	display: block;
	margin: 0;
	padding: 10px 12px;
	color: #3730A3;
	background: #ffffff;
	border: 1px solid #C7D2FE;
	border-radius: 13px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	text-align: center;
	transition: all 0.2s ease;
	box-shadow: 0 6px 14px rgba(15, 23, 42, 0.08);
}

.btn.btn-login2:hover {
	color: #4F46E5;
	background: #EEF2FF;
	border-color: #A5B4FC;
	box-shadow: 0 10px 18px rgba(79, 70, 229, 0.18);
}

.login-actions {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

#footer-text,
#footer-text a {
	font-family: "Segoe UI", "Roboto", sans-serif;
	text-align: center;
	color: rgba(31, 41, 55, 0.7);
	font-size: 12px;
}

@media only screen and (max-width: 575px) {
	.auth-shell {
		width: 100%;
	}

	.login-box {
		padding: 28px 18px 22px;
		border-radius: 18px;
	}

	.login-box h4 {
		font-size: 1.2rem;
	}
}

@media only screen and (min-width: 768px) {
	.login-actions {
		flex-direction: row;
	}

	.login-actions .btn {
		flex: 1;
	}
}

/* Existing animation definitions */

.animated{-webkit-animation-fill-mode:both;-moz-animation-fill-mode:both;-ms-animation-fill-mode:both;-o-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:1s;-moz-animation-duration:1s;-ms-animation-duration:1s;-o-animation-duration:1s;animation-duration:1s;}.animated.hinge{-webkit-animation-duration:1s;-moz-animation-duration:1s;-ms-animation-duration:1s;-o-animation-duration:1s;animation-duration:1s;}@-webkit-keyframes flipInX {
    0% {
        -webkit-transform: perspective(400px) rotateX(90deg);
        opacity: 0;
    } 40% {
        -webkit-transform: perspective(400px) rotateX(-10deg);
    }

    70% {
        -webkit-transform: perspective(400px) rotateX(10deg);
    }

    100% {
        -webkit-transform: perspective(400px) rotateX(0deg);
        opacity: 1;
    }
}
@-moz-keyframes flipInX {
    0% {
        -moz-transform: perspective(400px) rotateX(90deg);
        opacity: 0;
    }

    40% {
        -moz-transform: perspective(400px) rotateX(-10deg);
    }

    70% {
        -moz-transform: perspective(400px) rotateX(10deg);
    }

    100% {
        -moz-transform: perspective(400px) rotateX(0deg);
        opacity: 1;
    }
}
@-o-keyframes flipInX {
    0% {
        -o-transform: perspective(400px) rotateX(90deg);
        opacity: 0;
    }

    40% {
        -o-transform: perspective(400px) rotateX(-10deg);
    }

    70% {
        -o-transform: perspective(400px) rotateX(10deg);
    }

    100% {
        -o-transform: perspective(400px) rotateX(0deg);
        opacity: 1;
    }
}
@keyframes flipInX {
    0% {
        transform: perspective(400px) rotateX(90deg);
        opacity: 0;
    }

    40% {
        transform: perspective(400px) rotateX(-10deg);
    }

    70% {
        transform: perspective(400px) rotateX(10deg);
    }

    100% {
        transform: perspective(400px) rotateX(0deg);
        opacity: 1;
    }
}

.flipInX {
	-webkit-backface-visibility: visible !important;
	-webkit-animation-name: flipInX;
	-moz-backface-visibility: visible !important;
	-moz-animation-name: flipInX;
	-o-backface-visibility: visible !important;
	-o-animation-name: flipInX;
	backface-visibility: visible !important;
	animation-name: flipInX;
}
@-webkit-keyframes flipOutX {
    0% {
        -webkit-transform: perspective(400px) rotateX(0deg);
        opacity: 1;
    }
	100% {
        -webkit-transform: perspective(400px) rotateX(90deg);
        opacity: 0;
    }
}

@-moz-keyframes flipOutX {
    0% {
        -moz-transform: perspective(400px) rotateX(0deg);
        opacity: 1;
    }
	100% {
        -moz-transform: perspective(400px) rotateX(90deg);
        opacity: 0;
    }
}

@-o-keyframes flipOutX {
    0% {
        -o-transform: perspective(400px) rotateX(0deg);
        opacity: 1;
    }
	100% {
        -o-transform: perspective(400px) rotateX(90deg);
        opacity: 0;
    }
}

@keyframes flipOutX {
    0% {
        transform: perspective(400px) rotateX(0deg);
        opacity: 1;
    }
	100% {
        transform: perspective(400px) rotateX(90deg);
        opacity: 0;
    }
}

.flipOutX {
	-webkit-animation-name: flipOutX;
	-webkit-backface-visibility: visible !important;
	-moz-animation-name: flipOutX;
	-moz-backface-visibility: visible !important;
	-o-animation-name: flipOutX;
	-o-backface-visibility: visible !important;
	animation-name: flipOutX;
	backface-visibility: visible !important;
}
@-webkit-keyframes flipInY {
    0% {
        -webkit-transform: perspective(400px) rotateY(90deg);
        opacity: 0;
    }

    40% {
        -webkit-transform: perspective(400px) rotateY(-10deg);
    }

    70% {
        -webkit-transform: perspective(400px) rotateY(10deg);
    }

    100% {
        -webkit-transform: perspective(400px) rotateY(0deg);
        opacity: 1;
    }
}
@-moz-keyframes flipInY {
    0% {
        -moz-transform: perspective(400px) rotateY(90deg);
        opacity: 0;
    }

    40% {
        -moz-transform: perspective(400px) rotateY(-10deg);
    }

    70% {
        -moz-transform: perspective(400px) rotateY(10deg);
    }

    100% {
        -moz-transform: perspective(400px) rotateY(0deg);
        opacity: 1;
    }
}
@-o-keyframes flipInY {
    0% {
        -o-transform: perspective(400px) rotateY(90deg);
        opacity: 0;
    }

    40% {
        -o-transform: perspective(400px) rotateY(-10deg);
    }

    70% {
        -o-transform: perspective(400px) rotateY(10deg);
    }

    100% {
        -o-transform: perspective(400px) rotateY(0deg);
        opacity: 1;
    }
}
@keyframes flipInY {
    0% {
        transform: perspective(400px) rotateY(90deg);
        opacity: 0;
    }

    40% {
        transform: perspective(400px) rotateY(-10deg);
    }

    70% {
        transform: perspective(400px) rotateY(10deg);
    }

    100% {
        transform: perspective(400px) rotateY(0deg);
        opacity: 1;
    }
}

.flipInY {
	-webkit-backface-visibility: visible !important;
	-webkit-animation-name: flipInY;
	-moz-backface-visibility: visible !important;
	-moz-animation-name: flipInY;
	-o-backface-visibility: visible !important;
	-o-animation-name: flipInY;
	backface-visibility: visible !important;
	animation-name: flipInY;
}
@-webkit-keyframes bounceInDown {
	0% {
		opacity: 0;
		-webkit-transform: translateY(-2000px);
	}

	60% {
		opacity: 1;
		-webkit-transform: translateY(30px);
	}

	80% {
		-webkit-transform: translateY(-10px);
	}

	100% {
		-webkit-transform: translateY(0);
	}
}

@-moz-keyframes bounceInDown {
	0% {
		opacity: 0;
		-moz-transform: translateY(-2000px);
	}

	60% {
		opacity: 1;
		-moz-transform: translateY(30px);
	}

	80% {
		-moz-transform: translateY(-10px);
	}

	100% {
		-moz-transform: translateY(0);
	}
}

@-o-keyframes bounceInDown {
	0% {
		opacity: 0;
		-o-transform: translateY(-2000px);
	}

	60% {
		opacity: 1;
		-o-transform: translateY(30px);
	}

	80% {
		-o-transform: translateY(-10px);
	}

	100% {
		-o-transform: translateY(0);
	}
}

@keyframes bounceInDown {
	0% {
		opacity: 0;
		transform: translateY(-2000px);
	}

	60% {
		opacity: 1;
		transform: translateY(30px);
	}

	80% {
		transform: translateY(-10px);
	}

	100% {
		transform: translateY(0);
	}
}

.bounceInDown {
	-webkit-animation-name: bounceInDown;
	-moz-animation-name: bounceInDown;
	-o-animation-name: bounceInDown;
	animation-name: bounceInDown;
}
.TxtBlue{color:#0000ff;}
.TxtLogin{ font-size: 18px; color:#0000ff;}
