/* Default styles for .signup-section */
.signup-section {
    display: flex;
    flex-direction: row;
    justify-content: center;
    background: #f4f4f4;
    padding: 60px;
}

.image-container {
    justify-content: center;
    align-items: center;
    width: 50%;
}

.image-container img {
    position: fixed;
    height: 400px;
    width: 400px;
}

.container {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    width: 50%;
}

h1 {
    text-align: center;
    color: #2c3e50;
}

.section-description {
    text-align: center;
    font-size: 14px;
    color: #7f8c8d;
    margin-bottom: 20px;
}

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

label {
    font-weight: bold;
    margin-bottom: 5px;
}

input, textarea {
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #bdc3c7;
    border-radius: 5px;
    font-size: 14px;
}

button.submit-btn {
    background: #27ae60;
    color: white;
    padding: 10px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
}

button.submit-btn:hover {
    background: #219150;
}

.login-link {
    text-align: center;
    margin-top: 10px;
}

.login-link a {
    color: #27ae60;
    text-decoration: none;
    font-weight: bold;
}

.messages p {
    padding: 10px;
    border-radius: 5px;
    text-align: center;
    margin-bottom: 10px;
}

.messages .error {
    background: #e74c3c;
    color: white;
}

.messages .success {
    background: #2ecc71;
    color: white;
}

/* Media Queries for Responsive Design */

/* For tablets and smaller desktops */
@media (max-width: 992px) {
    .signup-section {
        padding: 40px;
    }

    .image-container img {
        height: 350px;
        width: 350px;
    }

    .container {
        padding: 25px;
        max-width: 350px;
    }

    h1 {
        font-size: 1.8rem;
    }

    .section-description {
        font-size: 13px;
    }

    input, textarea {
        padding: 8px;
        font-size: 13px;
    }

    button.submit-btn {
        padding: 8px;
        font-size: 14px;
    }
}

/* For tablets in portrait mode and large mobile devices */
@media (max-width: 768px) {
    .signup-section {
        flex-direction: column;
        align-items: center;
        padding: 30px;
    }

    .image-container {
        display: none; /* Hide the image container on mobile */
    }

    .container {
        width: 100%;
        max-width: 100%;
        padding: 20px;
    }

    h1 {
        font-size: 1.6rem;
    }

    .section-description {
        font-size: 12px;
    }

    input, textarea {
        padding: 7px;
        font-size: 12px;
    }

    button.submit-btn {
        padding: 7px;
        font-size: 13px;
    }
}

/* For mobile devices */
@media (max-width: 576px) {
    .signup-section {
        padding: 20px;
    }

    .container {
        padding: 15px;
    }

    h1 {
        font-size: 1.4rem;
    }

    .section-description {
        font-size: 11px;
    }

    input, textarea {
        padding: 6px;
        font-size: 11px;
    }

    button.submit-btn {
        padding: 6px;
        font-size: 12px;
    }
}