.login-page .logo span,
.register-page .logo span {
    color: #7c5cc4;
}

.login-page .logo-text {
    color: #7c5cc4;
    font-size: 2em;
    font-weight: 600;
    display: block;
    margin-bottom: 10px;
}

.login-page .logo-image {
    max-width: 140px;
    height: auto;
    margin-bottom: 15px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.login-page a.forgot-pass,
.login-page a.signup,
.register-page a.forgot-pass,
.register-page a.signup {
    font-size: 0.8em;
    color: #7c5cc4;
}

.login-page {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background-attachment: fixed;
    width: 100%;
    min-height: 100vh;
    padding: 0;
    margin: 0;
    position: relative;
}

.login-page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.9) 0%, rgba(118, 75, 162, 0.9) 100%);
    z-index: 0;
}

.register-page {
    background: #f5f5f5;
    background-image: url('../images/auth/auth-light.jpg');
    background-size: cover;
    width: 100%;
    min-height: auto;
    padding-bottom: 0;
    margin-left: 0;
}

.dark-mode .login-page {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

.dark-mode .login-page::before {
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.95) 0%, rgba(22, 33, 62, 0.95) 100%);
}

.dark-mode .register-page {
    background: #f5f5f5;
    background-image: url('../images/auth/auth-dark.jpg');
    background-size: cover;
    width: 100%;
    min-height: auto;
    padding-bottom: 0;
    margin-left: 0;
}

.login-container {
    position: relative;
    z-index: 1;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.login-page .form-outer,
.register-page .form-outer {
    min-height: auto;
    max-width: 480px;
    margin: 0 auto;
    padding: 0;
    position: relative;
    width: 100%;
}

.login-page .copyrights,
.register-page .copyrights {
    position: absolute;
    right: 0;
    bottom: -50px;
    width: 100%;
    color: rgba(255, 255, 255, 0.9);
}

.dark-mode .login-page .copyrights {
    color: rgba(255, 255, 255, 0.7);
}

.login-page .copyrights p,
.register-page .copyrights p {
    font-size: 0.75em;
    font-weight: 400;
    margin-bottom: 10px;
}

.login-page .form-inner {
    border-radius: 24px;
    padding: 50px 40px;
    background: #FFFFFF;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.1);
    margin-bottom: 0;
    width: 100%;
    backdrop-filter: blur(10px);
    animation: slideUp 0.5s ease-out;
}

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

.dark-mode .login-page .form-inner {
    background: #1e293b;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.register-page .form-inner {
    border-radius: 5px;
    padding: 40px 30px;
    background: #FFF;
    box-shadow: 0 0 35px rgba(0, 0, 0, .1);
    margin-bottom: 20px;
    width: 100%;
}

.dark-mode .register-page .form-inner {
    border-radius: 5px;
    padding: 40px 30px;
    background: #283046;
    box-shadow: 0 0 35px rgba(0, 0, 0, .1);
    margin-bottom: 20px;
    width: 100%;
}

.login-page .logo,
.register-page .logo {
    text-align: center;
    margin-bottom: 10px;
}

.login-page .welcome-text {
    text-align: center;
    margin-bottom: 35px;
}

.login-page .welcome-text h2 {
    font-size: 28px;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 8px;
}

.dark-mode .login-page .welcome-text h2 {
    color: #f7fafc;
}

.login-page .welcome-text p {
    font-size: 0.95em;
    font-weight: 400;
    color: #718096;
    margin-bottom: 0;
}

.dark-mode .login-page .welcome-text p {
    color: #a0aec0;
}

.login-page p,
.register-page p {
    font-size: .8em;
    font-weight: 300;
    color: #aaa;
    margin-bottom: 0
}

.login-page form {
    margin: 0;
    max-width: 100%;
}

.register-page form {
    margin: 2rem auto 1rem;
    max-width: 300px;
}

.login-page a.forgot-pass:focus,
.login-page a.forgot-pass:hover,
.login-page a.signup:focus,
.login-page a.signup:hover,
.register-page a.forgot-pass:focus,
.register-page a.forgot-pass:hover,
.register-page a.signup:focus,
.register-page a.signup:hover {
	color: #66b0ff;
	text-decoration: none
}

.login-page a.forgot-pass,
.register-page a.forgot-pass {
	display: block
}

.login-page a.create-account,
.register-page a.create-account {
	border-radius: 50px;
	font-size: .75em;
	margin-top: 10px;
	color: #999;
	text-transform: uppercase
}

.login-page .terms-conditions,
.register-page .terms-conditions {
	margin-top: 20px
}

.login-page small,
.register-page small {
	font-size: .65em;
	color: #aaa;
	line-height: .9em
}

@media (min-width:768px) {
	.login-page .form-inner {
		padding: 60px 50px;
	}
	
	.login-page .welcome-text h2 {
		font-size: 32px;
	}
	
	.login-page p,
	.register-page p {
		font-size: .9em
	}
	.login-page form label.label-custom,
	.register-page form label.label-custom {
		font-size: .9em
	}
	.login-page form small,
	.register-page form small {
		font-size: .8em
	}
	.login-page .terms-conditions label,
	.register-page .terms-conditions label {
		font-size: .9em
	}
	.login-page a.forgot-pass,
	.login-page a.signup,
	.register-page a.forgot-pass,
	.register-page a.signup {
		font-size: .8em
	}
	.login-page small,
	.register-page small {
		font-size: .8em
	}
	.login-page .copyrights p,
	.register-page .copyrights p {
		font-size: .85em;
		font-weight: 400
	}
}

@media (max-width: 767px) {
	.login-page .form-inner {
		padding: 40px 30px;
		border-radius: 20px;
	}
	
	.login-page .welcome-text h2 {
		font-size: 24px;
	}
	
	.login-page .logo-image {
		max-width: 120px;
	}
}


.form-group-material {
	position: relative;
	margin-bottom: 32px;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 16px;
    color: #a0aec0;
    z-index: 1;
    transition: color 0.3s ease;
    pointer-events: none;
}

.dark-mode .input-icon {
    color: #718096;
}

input.input-material {
	width: 100%;
	border: 2px solid #e2e8f0;
	border-radius: 12px;
	padding: 14px 16px 14px 48px;
	color: #1a202c;
	font-weight: 400;
	font-size: 15px;
	background: #f7fafc;
	transition: all 0.3s ease;
	box-sizing: border-box;
}

.dark-mode input.input-material {
    background: #0f172a;
    border-color: #334155;
    color: #f7fafc;
}

input.input-material::placeholder {
    color: transparent;
}

input.input-material:focus {
    border-color: #7c5cc4;
    outline: none;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(124, 92, 196, 0.1);
}

.dark-mode input.input-material:focus {
    background: #1e293b;
    border-color: #7c5cc4;
    box-shadow: 0 0 0 4px rgba(124, 92, 196, 0.2);
}

input.input-material:focus + .label-material,
input.input-material:not(:placeholder-shown) + .label-material {
    top: -10px;
    left: 12px;
    font-size: 0.75em;
    color: #7c5cc4;
    background: #ffffff;
    padding: 0 6px;
}

.dark-mode input.input-material:focus + .label-material,
.dark-mode input.input-material:not(:placeholder-shown) + .label-material {
    background: #1e293b;
}

input.input-material:focus ~ .input-icon {
    color: #7c5cc4;
}

input.input-material~label {
	color: #718096;
	position: absolute;
	top: 14px;
	left: 48px;
	cursor: text;
	-webkit-transition: all 0.3s ease;
	transition: all 0.3s ease;
	font-weight: 400;
	font-size: 15px;
	pointer-events: none;
	background: transparent;
	z-index: 1;
}

.dark-mode input.input-material~label {
    color: #a0aec0;
}

input.input-material~label.error {
	color: #dc3545;
	font-size: .75em;
	position: absolute;
	top: auto;
	bottom: -30px;
	left: 0
}

input.input-material~label.active {
    font-size: 0.75em;
    top: -10px;
    left: 12px;
    color: #7c5cc4;
    background: #ffffff;
    padding: 0 6px;
}

.dark-mode input.input-material~label.active {
    background: #1e293b;
}

.error-message {
    color: #dc3545;
    font-size: 0.875em;
    margin-top: 8px;
    margin-bottom: 0;
}

input.form-control-custom:checked+label::before {
    background: #7c5cc4 !important;
}

.btn {
    font-weight: 400;
    border: 1px solid transparent;
        border-top-color: transparent;
        border-right-color: transparent;
        border-bottom-color: transparent;
        border-left-color: transparent;
    padding: .45rem .75rem;
    font-size: .9rem;
    line-height: 1.5;
    -webkit-transition: background-color .15s ease-in-out,border-color .15s ease-in-out,-webkit-box-shadow .15s ease-in-out;
    transition: background-color .15s ease-in-out,border-color .15s ease-in-out,-webkit-box-shadow .15s ease-in-out;
    transition: background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
    transition: background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out,-webkit-box-shadow .15s ease-in-out;
}


.btn-primary {
    color: #ffffff;
    background-color: #7c5cc4;
    border-color: #7c5cc4;
}

.btn-primary:hover {
    background-color: #6244a6;
    border-color: #6244a6;
}

.btn-login {
    border-radius: 12px;
    padding: 14px 24px;
    font-size: 16px;
    font-weight: 600;
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(124, 92, 196, 0.4);
    border: none;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(124, 92, 196, 0.5);
}

.btn-login:active {
    transform: translateY(0);
}

.btn-login svg {
    transition: transform 0.3s ease;
}

.btn-login:hover svg {
    transform: translateX(4px);
}

.btn-success {
	color: color-yiq(#34cea7);
	background-color: #34cea7;
	border-color: #34cea7
}

.btn-success:hover {
	color: color-yiq(#34cea7);
	background-color: #34cea7;
	border-color: #34cea7
}

.btn-success.focus,
.btn-success:focus {
	-webkit-box-shadow: 0 0 0 .2rem rgba(40, 167, 69, .5);
	box-shadow: 0 0 0 .2rem rgba(40, 167, 69, .5)
}

.btn-info {
	color: color-yiq(#17a2b8);
	background-color: #17a2b8;
	border-color: #17a2b8
}

.btn-info:hover {
	color: color-yiq(#138496);
	background-color: #138496;
	border-color: #117a8b
}

.btn-info.focus,
.btn-info:focus {
	-webkit-box-shadow: 0 0 0 .2rem rgba(23, 162, 184, .5);
	box-shadow: 0 0 0 .2rem rgba(23, 162, 184, .5)
}

.btn-dark {
	color: color-yiq(#343a40);
	background-color: #343a40;
	border-color: #343a40
}

.btn-dark:hover {
	color: color-yiq(#23272b);
	background-color: #23272b;
	border-color: #1d2124
}

.btn-dark.focus,
.btn-dark:focus {
	-webkit-box-shadow: 0 0 0 .2rem rgba(52, 58, 64, .5);
	box-shadow: 0 0 0 .2rem rgba(52, 58, 64, .5)
}
