/* Credit to bootsnipp.com for the css for the color graph */
.colorgraph {
  height: 5px;
  border-top: 0;
  background: #c4e17f;
  border-radius: 5px;
  background-image: -webkit-linear-gradient(left, #c4e17f, #c4e17f 12.5%, #f7fdca 12.5%, #f7fdca 25%, #fecf71 25%, #fecf71 37.5%, #f0776c 37.5%, #f0776c 50%, #db9dbe 50%, #db9dbe 62.5%, #c49cde 62.5%, #c49cde 75%, #669ae1 75%, #669ae1 87.5%, #62c2e4 87.5%, #62c2e4);
  background-image: -moz-linear-gradient(left, #c4e17f, #c4e17f 12.5%, #f7fdca 12.5%, #f7fdca 25%, #fecf71 25%, #fecf71 37.5%, #f0776c 37.5%, #f0776c 50%, #db9dbe 50%, #db9dbe 62.5%, #c49cde 62.5%, #c49cde 75%, #669ae1 75%, #669ae1 87.5%, #62c2e4 87.5%, #62c2e4);
  background-image: -o-linear-gradient(left, #c4e17f, #c4e17f 12.5%, #f7fdca 12.5%, #f7fdca 25%, #fecf71 25%, #fecf71 37.5%, #f0776c 37.5%, #f0776c 50%, #db9dbe 50%, #db9dbe 62.5%, #c49cde 62.5%, #c49cde 75%, #669ae1 75%, #669ae1 87.5%, #62c2e4 87.5%, #62c2e4);
  background-image: linear-gradient(to right, #c4e17f, #c4e17f 12.5%, #f7fdca 12.5%, #f7fdca 25%, #fecf71 25%, #fecf71 37.5%, #f0776c 37.5%, #f0776c 50%, #db9dbe 50%, #db9dbe 62.5%, #c49cde 62.5%, #c49cde 75%, #669ae1 75%, #669ae1 87.5%, #62c2e4 87.5%, #62c2e4);
}

.login-toggle {
    display: flex;
    background: #e6e8f0;
    border-radius: 30px;
    padding: 5px;
    margin-bottom: 20px;
    width: fit-content;
}

.toggle-btn {
    flex: 1;
    padding: 10px 20px;
    border: none;
    border-radius: 25px;
    background: transparent;
    cursor: pointer;
    font-weight: 600;
    color: #555;
    transition: all 0.3s ease;
}

.toggle-btn.active {
    background: linear-gradient(135deg, #6a5acd, #4b0082);
    color: white;
    box-shadow: 0px 2px 6px rgba(0,0,0,0.2);
}



body {
	background: linear-gradient(135deg, #e0c3fc, #8ec5fc);
	/* elegant purple-blue gradient */
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100vh;
	padding: 20px;
	font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* Glassmorphism Login Container */
.login-container {
	background: rgba(255, 255, 255, 0.15);
	border-radius: 18px;
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
	display: flex;
	width: 980px;
	height: 700px;
	max-width: 100%;
	overflow: hidden;
	backdrop-filter: blur(12px);
	border: 1px solid rgba(255, 255, 255, 0.2);
	animation: fadeInUp 0.9s ease;
}

/* Left Section */
.login-left {
	background: linear-gradient(160deg, #7e57c2, #5e35b1, #4527a0);
	/* rich purple shades */
	color: #fff;
	padding: 45px;
	width: 45%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	animation: slideInLeft 1s ease;
}

.login-left h2 {
	font-weight: 800;
	margin-bottom: 20px;
	font-size: 28px;
	color: #fff;
}

.login-left ul {
	margin-top: 20px;
	padding-left: 20px;
}

.login-left li {
	margin-bottom: 12px;
	font-size: 15px;
}

.help-section {
	margin-top: 18px;
	padding: 14px;
	border: 1px solid rgba(255, 255, 255, 0.35);
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.12);
	backdrop-filter: blur(4px);
}

.help-section-title {
	font-size: 14px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: #f3e8ff;
	margin-bottom: 8px;
}

.help-manual-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 14px;
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.2);
	color: #ffffff;
	text-decoration: none;
	font-weight: 600;
	transition: all 0.2s ease;
}

.help-manual-link:hover,
.help-manual-link:focus {
	background: rgba(255, 255, 255, 0.32);
	color: #ffffff;
	text-decoration: none;
	transform: translateY(-1px);
}

/* Right Section */
.login-right {
	width: 55%;
	padding: 45px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	animation: slideInRight 1s ease;
}

/* .login-right img {
          width: 90px;
          margin-bottom: 12px;
          filter: drop-shadow(0px 3px 5px rgba(0,0,0,0.2));
        } */
.login-right h4 {
	font-weight: bold;
	font-size: 22px;
	color: #4527a0;
	margin-bottom: 25px;
	letter-spacing: 0.5px;
}

/* Inputs */
.form-control {
	margin-bottom: 15px;
	border-radius: 10px;
	padding: 12px 14px;
	border: 1px solid #c9b6fc;
	transition: all 0.3s ease;
}

.form-control:focus {
	border-color: #7e57c2;
	box-shadow: 0 0 6px rgba(126, 87, 194, 0.4);
}

/* Input Group */
.input-group-text {
	cursor: pointer;
	background: #ede7f6;
	border: 1px solid #d1c4e9;
	border-radius: 0 10px 10px 0;
}

/* Buttons */
.btn-primary {
	width: 100%;
	border-radius: 10px;
	font-weight: 600;
	background: linear-gradient(90deg, #7e57c2, #5e35b1);
	border: none;
	padding: 12px;
	transition: all 0.3s ease;
}

.btn-primary:hover {
	background: linear-gradient(90deg, #5e35b1, #4527a0);
	transform: translateY(-2px);
	box-shadow: 0 6px 15px rgba(126, 87, 194, 0.4);
}

.btn-secondary {
	width: 100%;
	border-radius: 10px;
	font-weight: 600;
	background: rgba(255, 255, 255, 0.3);
	color: #4527a0;
	border: 1px solid #c9b6fc;
	padding: 12px;
	transition: all 0.3s ease;
}

.btn-secondary:hover {
	background: rgba(255, 255, 255, 0.5);
	transform: translateY(-2px);
}

/* Animation Effects */
@keyframes fadeInUp {from { opacity:0;
	transform: translateY(40px);
}

to {
	opacity: 1;
	transform: translateY(0);
}

}

@keyframes slideInLeft {from { opacity:0;
	transform: translateX(-80px);
}

to {
	opacity: 1;
	transform: translateX(0);
}

}

@keyframes slideInRight {from { opacity:0;
	transform: translateX(80px);
}

to {
	opacity: 1;
	transform: translateX(0);
}
}


input[name="captchaInput"], input[name="password"]{
	margin: 0px;
}


.btn-otp {
    background-color: var(--primary-light);
    color: var(--primary);
    border: 1px solid rgba(79, 70, 229, 0.2);
}

.btn-otp:hover {
    background-color: #e0e2fe;
}



#generatorLoginForm input:read-only {
    background-color: #f3f4f6;
    color: var(--text-muted);
    cursor: not-allowed;
    border-color: var(--border);
}

#generatorLoginForm button {
    width: 100%;
    padding: 13px;
    border-radius: var(--radius);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

#generatorLoginForm .btn-primary {
    background-color: var(--primary);
    color: #ffffff;
    border: none;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

#generatorLoginForm .btn-primary:hover {
    background-color: var(--primary-hover);
}

#generatorLoginForm .btn-primary:active {
    transform: scale(0.98);
}

#generatorLoginForm .btn-otp {
    background-color: var(--primary-light);
    color: var(--primary);
    border: 1px solid rgba(79, 70, 229, 0.2);
}

#generatorLoginForm .btn-otp:hover {
    background-color: #e0e2fe;
}

#generatorLoginForm .btn-otp:disabled {
    background-color: #f3f4f6;
    color: var(--text-muted);
    border-color: var(--border);
    cursor: not-allowed;
}

#generatorLoginForm .collapsible-section {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

#generatorLoginForm .collapsible-section.show {
    max-height: 100px;
}

input{
	background-color: white !important;
}