* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: lightgray;
}

.container {
    display: flex;
    flex-direction: row; /* Horizontal layout by default */
    width: 100%; /* Full-width with some padding */
    height: 100vh; /* Cover most of the screen height */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden; /* Prevents content overflow due to rounded corners */
}

.left-panel {
    flex: 1;
    background-image: url('../sidepic1.jpg'); /* Replace with your image path */
    background-size: cover; /* Ensure the image fully covers the panel */
    background-position: center; /* Center the image */
    background-repeat: no-repeat; /* Prevent tiling */
}

.right-panel {
    flex: 1;
    background-color: #fff;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.logo{
    width: 200px;
    margin-bottom: 20px;
}

.login-form {
    width: 100%;
    max-width: 400px; /* Slightly wider on larger screens */
    text-align: center;
}

.login-form h1 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #333;
}

.login-form p {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
}

.login-form form {
    display: flex;
    flex-direction: column;
}

.login-form input {
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    transition: all 0.3s ease; /* Smooth border transition */
}

.login-form input:focus {
    border-color: #2EC1D5; /* Highlight on focus */
    outline: none; /* Remove default outline */
}

.remember-me {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    font-size: 14px;
    color: #666;
}

.remember-me input {
    margin-top: 0; /* Align checkbox with text */
    margin-right: 10px;
}

.login-form button {
    padding: 12px;
    background: linear-gradient(to right, #1F5653, #2EC1D5);
    border: none;
    color: #fff;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease; /* Smooth hover transition */
}

.login-form button:hover {
    background: linear-gradient(to right, #2EC1D5, #1F5653);
}

.signup-link {
    font-size: 14px;
    color: #666;
    margin-top: 20px;
}

.signup-link a {
    color: #1F5653;
    text-decoration: none;
}

.signup-link a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        height: auto; /* Adjust height for smaller devices */
    }
    .right-panel {
        padding: 20px;
    }

    .login-form h1 {
        font-size: 20px; /* Smaller heading for mobile */
    }

    .login-form button {
        font-size: 14px; /* Adjust button size for mobile */
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
        height: auto; /* Adjust height for smaller devices */
    }

    body {
        padding: 10px;
        background-image: url('../sidepic1.jpg'); /* Replace with your image path */
        background-size: cover; /* Ensure the image fully covers the panel */
        background-position: center; /* Center the image */
    }
    .right-panel {
        
        padding: 20px;
    }

    .login-form h1 {
        font-size: 20px; /* Smaller heading for mobile */
    }

    .login-form button {
        font-size: 14px; /* Adjust button size for mobile */
    }
}

button[disabled] {
    background-color: gray;
    cursor: not-allowed;
  }
.alert{position:relative;padding:.75rem 1.25rem;margin-bottom:1rem;border:1px solid transparent;border-radius:.25rem}
.alert-danger{color:#721c24;background-color:#f8d7da;border-color:#f5c6cb}
.alert-success{color:#155724;background-color:#d4edda;border-color:#c3e6cb}