body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #24303f; /* Dark background color */
    color: #caa263e6; /* Warm font color */
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    overflow: hidden;
}

.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.login-form {
    background: rgba(36, 48, 63, 0.8); /* Slightly transparent dark background */
    padding: 40px;
    border-radius: 15px;
	margin: 0px 15px 0px 15px;
    box-shadow: 0 0 20px rgb(186 151 95 / 40%);
    width: 100%;
    max-width: 400px;
    position: relative;
    animation: fadeIn 1s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-100px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.login-form h1 {
    margin: 0 0 20px;
    text-align: center;
    color: #caa263e6; /* Warm font color */
    font-size: 2em;
    position: relative;
    padding-bottom: 10px;
}

.login-form h1::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 3px;
    background: #caa263e6; /* Warm font color */
    border-radius: 5px;
}

.input-group {
    margin-bottom: 20px;
    position: relative;
}

.input-group input {
    width: calc(100% - 60px);
    padding: 15px;
    padding-left: 45px;
    border: 2px solid #444; /* Dark border */
    border-radius: 25px;
    outline: none;
    background: #fff;
    color: #24303f; /* Dark text color */
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
	font-size:110%;
}

.input-group input:focus {
    border-color: #caa263e6; /* Warm focus color */
    box-shadow: 0 0 10px rgba(202, 162, 99, 0.5);
}

.input-group .icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #888; /* Light icon color */
    transition: color 0.3s ease;
}

.input-group input:focus ~ .icon {
    color: #caa263e6; /* Warm icon color on focus */
}

.password-group {
    position: relative;
}

/*.password-group .password-toggle {
    position: absolute;
    right: 15px;
    top: 50%;
	width:20px;
    transform: translateY(-50%);
    cursor: pointer;
    color: #888; 
    transition: color 0.3s ease;
}*/
.password-group .password-toggle {
	position: absolute;
    display: flex;
    height: 93%;
    width: 35px;
    left: 2px;
    transform: translateY(-50%);
    cursor: pointer;
    color: #888;
    transition: color 0.3s ease;
    align-items: center;
    align-content: center;
    flex-wrap: nowrap;
    justify-content: center;
	border-radius: 24px 0px 0px 24px;
	-webkit-tap-highlight-color: transparent;
}

.password-group .password-toggle:hover {
    color: #caa263e6; /* Warm icon color on hover */
}

button {
    width: 100%;
    padding: 15px;
    background: #caa263e6; /* Warm button color */
    border: none;
    border-radius: 25px;
    color: #24303f; /* Dark text color */
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}

button:hover {
    background: #b89a60; /* Slightly darker warm button color */
    transform: scale(1.05);
}

.message {
    margin-top: 20px;
    text-align: center;
}

.message a {
    color: #caa263e6; /* Warm link color */
    text-decoration: none;
    font-weight: bold;
}

.message a:hover {
    text-decoration: underline;
}
.login-fail
{
	padding: 5px;
    margin: 10px 0px;
    background: #ff000070;
    color: #ffff;
    border-radius: 3px;
    border-left: 5px solid #ff00008c;
}
/* Responsive Styles */
@media (max-width: 768px) {
    .login-container
	{
		margin-top:-20%;
	}
}

@media (max-width: 576px) {
    .login-container
	{
		margin-top:-50%;
	}
}
