
 /* Base Styles */

 @font-face {
  font-family: 'Poppins';
  src: url('../../fonts/Poppins-Regular.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Poppins';
  src: url('../../fonts/Poppins-Bold.woff2') format('woff2');
  font-weight: bold;
  font-style: normal;
} 

/* @import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;

}

body {
    margin: 0;
    padding: 0;
    font-family: "Poppins" ! important; 
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: url('../../images/bglogin.jpg') no-repeat center center fixed;
    background-size: cover;
    position: relative;
}

/* Gradient overlay */
body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #7f56d9, #3b3b3b);
    opacity: 0.7; /* Optional: Make it semi-transparent */
    z-index: 0;
}
       
       
       
/* Login Page Container */
.login-page {
    width: 100%;
    max-width: 450px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
        position: relative;
    z-index: 3;
}

/* Login Card */
.login-card {
    background-color: #fff;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    width: 100%;
    text-align: center;
    transition: all 0.3s ease;
}

.login-card:hover {
    transform: translateY(-10px);  /* Subtle hover effect */
}

/* Logo Container */
.logo-container {
    margin-bottom: 1.5rem;
}

.logo {
    width: 150px;
    height: auto;
}

/* Title Styling */
h1 {
    font-size: 2rem;
    color: #37474f;
    font-weight: 600;
    margin-bottom: 2rem;
}

/* Form Group Styling */
.input-group {
    margin-bottom: 1.6rem;
    text-align: left;
}

label {
    display: block;
    color: #607d8b;
    margin-bottom: 0.5rem;
    font-size: 1.4rem;
}

.input-with-icon {
    position: relative;
}

.input-with-icon i {
	position: absolute;
    left: 9px;
    top: 17px;
    transform: translateY(-50%);
    color: #607d8b;
    font-size: 1.2rem;
    z-index: 99;
}

input[type="text"],
input[type="password"] {
    width: 100%;
    padding: 1rem 1rem 1rem 2.5rem; /* Adding space for the icon */
    font-size: 1.1rem;
    border: 2px solid #cfd8dc;
    border-radius: 8px;
    background-color: #f7f7f7;
    transition: all 0.3s ease; 
}

input[type="text"]:focus,
input[type="password"]:focus {
    border-color: #7f56d9;  /* Highlighting focus with vibrant purple */
    box-shadow: 0 0 8px rgba(127, 86, 217, 0.3);
    outline: none;
}

/* Submit Button Styling */
.submit-btn {
    background-color: #7f56d9;
    color: white;
    padding: 1rem;
    font-size: 1.4rem;
    width: 100%;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
 
}

.submit-btn:hover {
    background-color: #6c44c1;  /* Darker purple on hover */
    transform: translateY(-2px);  /* Slightly raised effect */
}

.submit-btn:active {
    background-color: #5b3fa6;  /* Even darker when pressed */
}

/* Footer Links */
.footer-links {
    margin-top: 1.5rem;
}

.footer-links a {
    color: #7f56d9;
    text-decoration: none;
    font-size: 1.3rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #6c44c1;
    text-decoration: underline;
}

/* Error Message */
.error-message {
    color: #f44336;  /* Red for errors */
    font-size: 1.4rem;
    margin-top: 1rem;
}

/* Responsive Design */
@media (max-width: 480px) {
    .login-card {
        padding: 2rem;
    }

    h1 {
        font-size: 1.7rem;
    }

   
    input[type="text"],
    input[type="password"] {
        padding: 0.9rem;
        
    }
    
   input#login_name {
    padding-left: 20px;
}

input#login_pass {
	 padding-left: 20px;
	
}


}




.input-group {
	    max-width: 450px;
    width: 100%;
}