@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap');

:root {
    --primary-color: #F97316; /* Orange-500 from Tailwind CSS */
    --primary-hover-color: #EA580C; /* Orange-600 */
    --light-color: #FFFFFF;
    --dark-color: #1F2937;
    --gray-color: #6B7280;
    --border-radius: 8px;
    --box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}

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

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

.login-container {
    display: flex;
    width: 900px;
    max-width: 90%;
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
}

.login-image {
    flex: 1;
    background: linear-gradient(to right, #FFA751, #FF8A2B), url('https://source.unsplash.com/random/800x600?nature,technology') no-repeat center center/cover;
    position: relative;
    color: var(--light-color);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 40px;
}

.login-image .overlay {
    background-color: rgba(0, 0, 0, 0.4);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.login-image h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.login-form {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.login-form h1 {
    color: var(--dark-color);
    margin-bottom: 2rem;
    text-align: center;
}

.input-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.input-group label {
    display: block;
    color: var(--gray-color);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.input-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #D1D5DB;
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: border-color 0.3s;
}

.input-group input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.input-group .error-message {
    color: #EF4444; /* Red-500 */
    font-size: 0.875rem;
    margin-top: 0.25rem;
    height: 1rem;
}

.text-center{ text-align:center; }

button[type="submit"] {
    width: 100%;
    padding: 14px;
    background-color: var(--primary-color);
    color: var(--light-color);
    border: none;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

button[type="submit"]:hover {
    background-color: var(--primary-hover-color);
}

.notification {
    background-color: #22C55E; /* Green-500 */
    color: var(--light-color);
    padding: 12px;
    border-radius: var(--border-radius);
    text-align: center;
    margin-top: 1rem;
    display: none; /* Hidden by default */
}

/* Responsive Design */
@media (max-width: 768px) {
    .login-container {
        flex-direction: column;
        max-width: 400px;
        width: 100%;
    }

    .login-image {
        min-height: 200px;
    }
    
    .login-form {
        padding: 30px;
    }
}