.container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 0;
    min-height: 100vh;
    overflow: hidden;
    max-width: 100vw;
}

.container .box-1 {
    background-color: #010336;
}

.branding, .box-1 {
    flex: 1;
    padding: 2rem;
}

.branding {
    display: flex;
    padding: 1rem;
    background-color: transparent;
    flex-direction: column;
    justify-content: center;
    margin-top: 200px;

}

.brand-name {
    font-weight: bold;
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #333;
}

.brand-button {
    padding: 0.25rem 0.5rem;
    background: linear-gradient(to right, #183369, #1e8dc5);
    border-radius: 0.5rem;
    color: white;
    font-size: 5rem;
    display: inline-block;
    float: right;
}

.tagline {
    margin-top: 10px;
    line-height: 1.5;
    color: white;
    text-align: right;
}

.container .box-2 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: #eef3f4;
}

.container .box-2 .wrapper {
    background: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: .6rem;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.container .box-2 .wrapper .title-1 {
    margin-bottom: 2rem;
}

.container .box-2 .wrapper .title-1 h2 {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 0.3rem;
}

.container .box-2 .wrapper .title-1 h5 {
    font-size: 0.9rem;
    font-weight: 300;
    color: #666;
}

.container .box-2 .wrapper {
    padding: 2rem;
}

.container .box-2 .wrapper .cust-signup-form {
    display: flex;
    flex-direction: column;
}

.container .box-2 .wrapper .cust-signup-form > * {
    margin-bottom: 1rem;
}

.container .box-2 .wrapper .cust-signup-form {
    font-size: 0.9rem;
    font-weight: 400;
    color: #747373;
}

.container .box-2 .wrapper .cust-signup-form .input-element {
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem;
}

.container .box-2 .wrapper .cust-signup-form .input-element label {
    margin-bottom: .4rem;
}

.container .box-2 .wrapper .cust-signup-form .input-element input {
    padding: 0.8rem 0.6rem;
    border-radius: .6rem;
    border: 1px solid #e0e0e0;
    color: #747373;
}

.container .box-2 .wrapper .cust-signup-form .input-element input:focus {
    border-color: #5db8f5ed;
    outline: none;
}

.container .box-2 .wrapper .cust-signup-form .input-element:focus-within label {
    color: #5db8f5f0;
}

.container .box-2 .wrapper .cust-signup-form .input-element:nth-child(3) h6 {
    margin-top: 0.2rem;
    font-size: 0.7rem;
    color: #949393;
}

.container .box-2 .wrapper .cust-signup-form .terms-cond {
    font-size: 0.8rem;
}

.container .box-2 .wrapper .cust-signup-form .not-robot {
    border: 1px solid #e0e0e0;
    padding: 1rem 0.6rem;
    border-radius: 0.6rem;
    font-size: 0.8rem;
    background-color: #eff3f4;
}

.container .box-2 .wrapper .cust-signup-form input[type="checkbox"] {
    accent-color: #5db8f5;
}

.container .box-2 .wrapper .cust-signup-form .btn {
    padding: 0.8rem 1.2rem;
    border-radius: 2rem;
    background: #5db8f5;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    border: none;
    transition: background 0.3s;
}

.log-in a {
    text-decoration: none;
    color: #5db8f5;
}

.input-element h6 {
    margin-top: 0.5rem;
}

@media screen and (max-width: 768px) {
    .container {
        grid-template-columns: 1fr;
    }

    .container .box-2 {
        padding: 2rem;
    }

    .container .box-2 .wrapper {
        padding: 1.5rem;
    }

    .container .box-2 .wrapper .title-1 h2 {
        font-size: 1.3rem;
    }

    .container .box-2 .wrapper .title-1 h5 {
        font-size: 0.8rem;
    }

    .container .box-2 .wrapper .cust-signup-form {
        font-size: 0.8rem;
    }

    .container .box-2 .wrapper .cust-signup-form .input-element input {
        padding: 0.7rem 0.5rem;
    }

    .container .box-2 .wrapper .cust-signup-form .input-element:nth-child(3) h6 {
        font-size: 0.6rem;
    }

    .container .box-2 .wrapper .cust-signup-form .terms-cond {
        font-size: 0.7rem;
    }

    .container .box-2 .wrapper .cust-signup-form .not-robot {
        padding: 0.8rem 0.5rem;
        font-size: 0.7rem;
    }

    .container .box-2 .wrapper .cust-signup-form .btn {
        padding: 0.7rem 1.1rem;
        font-size: 0.8rem;
    }
}

/* Highlight invalid input fields */
.container .box-2 .wrapper .cust-signup-form .input-element .invalid {
    border-color: #dc3545; /* Red border for error */
    background-color: #f8d7da; /* Light red background for error */
}

.container .box-2 .wrapper .cust-signup-form .input-element .invalid {
    color: #dc3545; /* Red color for label to indicate error */
}

/* Error feedback message */
.container .box-2 .wrapper .cust-signup-form .input-element .invalid-feedback {
    color: #dc3545;
    font-size: 0.8rem;
    margin-top: 0.2rem;
    /*display: none;  /* Hide by default, show only when invalid */
}

/* Display error feedback when invalid */
.container .box-2 .wrapper .cust-signup-form .input-element.invalid .invalid-feedback {
    display: block;
}

.alert {
    position: relative;
    padding: 1rem 1.25rem;
    border: 1px solid transparent;
    border-radius: 0.25rem;
}

.alert-success {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}