/* Reset default styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Set body background and font */
body {
    font-family: 'Roboto', sans-serif;
    background-color: #f5f5f5;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

/* Main container layout */
.container {
    display: flex;
    background-color: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    overflow: hidden;
    width: 900px;
    height: 500px;
}

/* Styling for the login section */
.login-section {
    width: 50%;
    padding: 50px;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.login-section h1 {
    font-size: 2.2rem;
    color: #4a4a4a; /* Matching logo gray */
    margin-bottom: 10px;
    font-weight: bold;
}

.login-section p {
    color: #777;
    margin-bottom: 30px;
}

/* Input styling */
.login-form input {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 16px;
}

/* Action buttons and forgot password link */
.form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.form-actions button {
    background-color: #4a4a4a; /* Matching logo gray */
    color: #fff;
    padding: 10px 30px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
}

.form-actions button:hover {
    background-color: #f9a825; /* Logo yellow on hover */
}

.forgot-password {
    color: #4caf50; /* Logo green */
    text-decoration: none;
}

/* Social login icons */
.social-login {
    display: flex;
    justify-content: space-between;
    margin: 20px 0;
}

.social-login a img {
    width: 40px;
    height: 40px;
}

/* Register text styling */
.register {
    color: #777;
    margin-top: 20px;
}

.register a {
    color: #4caf50; /* Logo green */
    text-decoration: none;
}

/* Branding section styling */
.branding-section {
    width: 50%;
    background-color: #f0f8f5;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.branding-section img {
    width: 80%;
    margin-bottom: 20px;
}

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

.branding-text p {
    font-size: 1.2rem;
    color: #333;
}

.branding-text strong {
    color: #4caf50; /* Logo green */
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    /* Adjust the container size for smaller devices */
    .container {
        width: 90%;
        height: auto;
        flex-direction: column;
        border-radius: 0;
    }

    /* Make the login section full-width */
    .login-section, .branding-section {
        width: 100%;
    }

    /* Adjust padding for mobile devices */
    .login-section {
        padding: 30px;
    }

    /* Branding section will appear below the login form */
    .branding-section {
        display: none; /* Hide branding section on small devices */
    }
}

@media (max-width: 768px) {
    /* Make font size smaller for mobile */
    .login-section h1 {
        font-size: 1.8rem;
    }

    .login-form input {
        padding: 12px;
    }

    .form-actions button {
        padding: 8px 20px;
        font-size: 14px;
    }

    /* Adjust social login icons */
    .social-login a img {
        width: 35px;
        height: 35px;
    }
}

@media (max-width: 480px) {
    /* Further adjustments for very small screens */
    .login-section h1 {
        font-size: 1.5rem;
    }

    .login-form input {
        padding: 10px;
    }

    .form-actions button {
        padding: 6px 15px;
        font-size: 12px;
    }

    /* Make social login icons smaller */
    .social-login a img {
        width: 30px;
        height: 30px;
    }
}
.error-message {
    background-color: #f8d7da;
    color: #721c24;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #f5c6cb;
    border-radius: 5px;
}
/* Add to styles.css */
.success-message {
    color: #28a745;
    background-color: #d4edda;
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 15px;
    text-align: center;
}

.error-message {
    color: #dc3545;
    background-color: #f8d7da;
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 15px;
    text-align: center;
}

