
/* ✅ General Layout */
body {
    background: #2c3e50;
    font-family: 'Poppins', sans-serif;
    color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

.login-container {
    display: flex;
    width: 90%;
    max-width: 850px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

/* ✅ Left Section */
.login-left {
    flex: 1;
    padding: 30px;
    background: #007bff;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.login-logo {
    width: 140px;
    border-radius: 15%;
    border: 4px solid white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    margin-bottom: 15px;
}

.login-left h2 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 5px;
}

.login-left p {
    font-size: 14px;
    opacity: 0.9;
}

/* ✅ Right Section (Login Form) */
.login-right {
    flex: 1;
    padding: 40px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.login-right h2 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 20px;
}

.input-group {
    margin-bottom: 15px;
    position: relative;
}

input {
    width: 100%;
    padding: 14px;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 15px;
    background: #f8f9fa;
    transition: 0.3s ease-in-out;
}

input:focus {
    border-color: #007bff;
    outline: none;
    box-shadow: 0 0 6px rgba(0, 123, 255, 0.3);
}

/* ✅ Show/Hide Password Toggle */
.toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 18px;
    color: #555;
}

.toggle-password:hover {
    color: #007bff;
}

button {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 8px;
    background: linear-gradient(to right, #007bff, #0056b3);
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    font-weight: 600;
}

button:hover {
    background: #0056b3;
    transform: scale(1.05);
}

.login-info {
    margin-top: 15px;
    font-size: 14px;
    color: #555;
}

/* ✅ Mobile Responsive */
@media (max-width: 768px) {
    .login-container {
        flex-direction: column;
        max-width: 90%;
        text-align: center;
    }
    
    .login-left {
        padding: 20px;
    }
    
    .login-right {
        padding: 25px;
        align-items: center;
    }

    .input-group {
        width: 100%;
    }

    input {
        padding: 16px;
        font-size: 16px;
        width: 100%;
        box-sizing: border-box;
    }

    button {
        padding: 16px;
        font-size: 16px;
    }
}
