/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Body Styling */
body {
    background: linear-gradient(135deg, #A7C7E7, #C2D8EC);  /* Gradient background for a fresh look */
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    color: #333;
}

/* Login Page Container */
.login-page {
    width: 100%;
    max-width: 450px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

/* 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-group {
	    max-width: 450px;
    width: 100%;
}