body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #f0f4ff; /* Light blue background */
    font-family: Arial, sans-serif;
    margin: 0; /* Remove default margin */
}

.container {
    background: white;
    padding: 40px 30px; /* Increased padding for a spacious feel */
    border-radius: 15px; /* Slightly more rounded corners */
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15); /* Enhanced shadow effect */
    width: 90%; /* Responsive width */
    max-width: 400px; /* Maximum width for larger screens */
    text-align: center;
}

.logo img {
    width: 120px; /* Adjust based on your logo size */
    cursor: pointer;
}

h2 {
    color: #6a5acd; /* Title color */
    margin-bottom: 20px; /* Space between title and form */
}

.form-group {
    margin: 20px 0; /* More space between form groups */
}

input[type="email"],
input[type="password"] {
    width: 90%;
    padding: 12px; /* Increased padding */
    border: 1px solid #ccc;
    border-radius: 5px;
    transition: border-color 0.3s; /* Smooth transition */
}

input[type="email"]:focus,
input[type="password"]:focus {
    border-color: #6a5acd; /* Change border color on focus */
    outline: none; /* Remove default outline */
}

button {
    width: 101%;
    padding: 12px;
    background-color: #6a5acd; /* Mild violet color */
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s; /* Smooth transition */
}

button:hover {
    background-color: #5c4dc9; /* Darker violet on hover */
}

.company-details {
    margin-top: 15px;
    color: #6a5acd; /* Matching violet color */
}

.footer-text {
    margin-top: 20px; /* Space above footer text */
    color: #666; /* Slightly muted text */
}

.footer-text a {
    color: #6a5acd; /* Link color */
    text-decoration: none; /* Remove underline */
}

.footer-text a:hover {
    text-decoration: underline; /* Underline on hover */
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) { /* Tablet and mobile */
    .container {
        padding: 30px 20px; /* Adjust padding for smaller screens */
    }
    h2 {
        font-size: 1.5em; /* Adjust heading size */
    }
    input[type="email"],
    input[type="password"] {
        padding: 10px; /* Reduced padding */
    }
    button {
        padding: 10px; /* Reduced button padding */
    }
}

@media (max-width: 480px) { /* Mobile devices */
    h2 {
        font-size: 1.3em; /* Further reduce heading size */
    }
    .container {
        width: 95%; /* Adjust width for very small screens */
    }
    input[type="email"],
    input[type="password"] {
        font-size: 0.9em; /* Adjust font size for inputs */
    }
}

/* Landscape orientation adjustments */
@media (orientation: landscape) {
    .container {
        width: 60%; /* Wider box for landscape orientation */
        max-width: 500px; /* Maximum width */
    }
}
