body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(to bottom, rgba(177, 156, 217, 0.7), rgba(201, 106, 106, 0.7));
}

.container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

.flex-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 1200px;
    padding: 20px;
    gap: 40px;
}

.logo-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: left;
    text-align: left;
    margin-left: 25px;
}

.logo-container {
    display: flex;
    gap: 20px;
    margin-bottom: 0px;
}

.logo {
    width: 140px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(2px 4px 6px rgba(0, 0, 0, 0.2)); /* Drop shadow for logos */
}

.heading {
    font-size: 44px;
    font-weight: bold;
    color: white;
    margin-bottom: 70px;
    text-shadow: 2px 4px 6px rgba(0, 0, 0, 0.5); /* Text shadow for depth */
}

/* Container Styling */
.signup-box {
    flex: 1;
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
    max-width: 400px; /* Adjusted for better fit */
    width: 100%;
    margin-right: 40px; /* Center aligns better */
}

.signup-title {
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 40px;
}

form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.form-group {
    position: relative;
    margin-bottom: 15px;
    width: 100%;
    max-width: 330px;
}

.form-row {
    display: flex;
    gap: 10px;
    justify-content: space-between;
    width: 100%;
    max-width: 330px;
}

.form-input {
    width: 100%;
    padding: 10px;
    border: 1px solid #e5e7eb;
    border-radius: 5px;
    font-size: 16px;
    box-sizing: border-box;
}

.form-input::placeholder {
    color: #999;
    font-size: 14px;
    font-family: Arial, sans-serif;
}

.form-input:focus {
    box-shadow: 0 0 0 1px rgba(167, 139, 250, 0.2);
    outline: none;
}

.password-group {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #666;
}

.password-hint-icon {
    position: absolute;
    right: 35px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #666;
    font-size: 16px;
}

/* Show password hint when hovering over the icon */
.password-group:hover .password-hint {
    display: block;
}

.password-hint {
    font-size: 12px;
    color: #999;
    text-align: left;
    max-width: 360px;
    margin-top: 5px;
    display: none; /* Initially hidden */
}

.submit-btn {
    width: 100%;
    max-width: 330px;
    background-color: #a78bfa;
    color: white;
    padding: 10px;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    border: none;
    margin-top: 5px;
    transition: background-color 0.3s;
}

.submit-btn:hover {
    background-color: #B19CD9;
}

.login-footer-text {
    text-align: center;
    margin-top: 25px;
    font-size: 14px;
    color: #666;
}

.login-link {
    color: #a78bfa;
    text-decoration: none;
}

.login-link:hover {
    text-decoration: underline;
}

/* Mobile View Adjustments */
@media (max-width: 768px) {
    .flex-container {
        flex-direction: column;
        gap: 10px;
        padding: 10px;
    }

    .logo-container {
        justify-content: flex-start;
        margin-bottom: 5px;
        padding-left: 75px;
    }

    .logo {
        width: 80px;
    }

    .heading {
        font-size: 24px; /* Adjust font size for smaller screens */
        text-align: left; /* Align heading text with logos */
        margin: 0 0 15px 75px; /* Add margin to align with logos */
        margin-left: 30px;
        line-height: 1.2; /* Adjust line spacing for better readability */
    }

    .signup-box {
        margin: 0 auto;
        max-width: 90%;
        padding: 15px;
    }

    .form-row {
        flex-direction: column;
        gap: 3px; /* Reduce gap between first name and last name fields */
    }

    .form-group {
        margin-bottom: 10px; /* Reduce bottom margin to make the layout more compact */
    }

    .form-input {
        font-size: 14px;
    }

    .submit-btn {
        font-size: 14px;
    }

    .login-footer-text {
        font-size: 12px;
        margin-top: 20px;
    }
}

.btn-secondary {
    background-color: #a78bfa; /* A visually appealing purple shade */
    color: white;
    padding: 8px 20px; /* Smaller padding for a more compact look */
    border-radius: 5px;
    font-size: 14px; /* Slightly smaller font size */
    cursor: pointer;
    border: none;
    transition: background-color 0.3s, transform 0.2s;
    text-align: center;
    display: inline-block;
    width: auto; /* Width automatically adjusts to fit the text */
    margin-top: 5px;
    margin-left: 223px;
}

.btn-secondary:hover {
    background-color: #B19CD9; /* Slightly darker shade on hover */
}

.btn-secondary:active {
    background-color: #4A42CC; /* Even darker shade on click */
}

.btn-secondary:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(108, 99, 255, 0.5); /* Outline effect for focus */
}
