* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background: #f5f5f5;
}

.wrapper {
    display: flex;
    background: white;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 900px;
    overflow: hidden;
}

.logo-container {
    width: 40%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.logo-container img {
    max-width: 80%;
    height: auto;
}

.form-container {
    width: 60%;
    padding: 40px;
    text-align: center;
}

h2 {
    margin-bottom: 25px;
    color: #333;
    font-size: 24px;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

label {
    display: block;
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 5px;
}

input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

.btn {
    width: 100%;
    background: #06bbcc;
    border: none;
    padding: 12px;
    color: white;
    font-size: 18px;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

.btn:hover {
    background: #1d9aa5;
}

.toggle-text {
    margin-top: 15px;
    font-size: 16px;
}

.toggle-text a {
    color: #06bbcc;
    text-decoration: none;
    font-weight: bold;
    cursor: pointer;
}

.toggle-text a:hover {
    text-decoration: underline;
}

.hidden {
    display: none;
}

.captcha-container {
    text-align: center;
    margin: 10px 0;
}

/* Smooth form transition */
.form-container div {
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

    .logo-container {
        width: 100%;
        padding: 10px;
    }

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

/* Styling for the Close Button */
.close-btn {
    font-size: 30px;
    color: #333;
    background: none;
    border: none;
    position: relative;
    cursor: pointer;
    transition: color 0.3s;
}

.close-btn:hover {
    color: #ff0000;
}

/* Hide the entire form when collapsed */
.wrapper.collapsed {
    display: none;
}

/* Container for the form box */
.form-container {
    position: relative; /* This ensures the close button is positioned relative to this container */
    width: 100%;
    max-width: 400px; /* Adjust as needed */
    margin: 10px auto;  
    padding: 20px;
    border: 1px solid #ccc;
    background-color: #fff;
    border-radius: 10px;
}

/* Styling for the Close Button inside the form box */
.close-btn {
    font-size: 30px;
    color: #333;
    background: none;
    border: none;
    position: absolute;
    top: 10px;
    right: 20px;
    cursor: pointer;
    transition: color 0.3s;
}

.close-btn:hover {
    color: #ff0000;
}
