* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Comic Sans MS", cursive;
}

body {
    overflow-x: hidden;
}
.custom-flex-row {
    display: flex;
    gap: 7px;
    margin-top: -12px;
}

.hero-section {
    /* height: 100vh; */
    width: 100%;
    background-image: url("/assets/img/Non-profits-background.png");
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.main-box {
    background-color: white;
    width: 80%;
    height: 95%;
    max-width: 1200px;
    display: flex;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.048);
}

.left-box {
    width: 48%;
    background-color: #fb8503;
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    border-radius: 20px;
}

.left-box img {
    width: 380px;
    height: 260px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 20px;
}

.left-box h1 {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 15px;
    color: #fff;
}

.left-box p {
    font-size: 1.2rem;
    line-height: 1.5;
    color: #fff;
}

.right-box {
    width: 50%;
    background-color: white;
    padding: 30px;
    position: relative;
    /* overflow-y: auto;
    scroll-behavior: smooth; */
}

.right-box .corner-img {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 80px;
    height: 80px;
    object-fit: cover;
}

.signup-back-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    margin-bottom: 12px;
    padding: 8px 18px;
    border: 2px solid #fb8503;
    border-radius: 999px;
    background: #fff;
    color: #fb8503;
    font-family: "Comic Neue", cursive !important;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    transition: all 0.25s ease;
}

.signup-back-button:hover {
    background: #fb8503;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(251, 133, 3, 0.28);
}
.right-box h2 {
    color: #fb8503;
    font-size: 1.5rem;
    margin-bottom: 20px;
    text-align: left;
    font-weight: bold;
}

.form-container {
    background-image: url("/assets/img/right-background.png");
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
    padding: 20px;
    border-radius: 15px;
    max-width: 500px;
}

.form-group-new {
    position: relative;
    margin-bottom: 15px;
}

.form-group-new i {
    position: absolute;
    left: 15px;
    top: 27px;
    transform: translateY(-50%);
    color: #fb8503;
}

.form-group-new input,
.form-group-new select {
    width: 100%;
    padding: 10px 20px 10px 45px;
    border: 1px solid #fb8503;
    border-radius: 50px;
    font-size: 1rem;
    color: #555;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.8);
}

.form-group-new select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fb8503'%3e%3cpath d='M7 10l5 5 5-5z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 20px;
}

.row {
    display: flex;
    gap: 0px;
}

.row .form-group-new {
    flex: 1;
}

.password-wrapper {
    position: relative;
}

.password-wrapper .input-icon {
    position: absolute;
    left: 15px;
    top: 27px;
    transform: translateY(-50%);
    color: #fb8503;
}

.password-toggle {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #fb8503;
    cursor: pointer;
    /*align-items: end;
    justify-content: end;
    display: flex;*/
    left: 94% !important;
}

.password-wrapper input {
    padding-left: 45px !important;
    padding-right: 45px !important;
    width: 100%;
}

.password-strength {
    margin: -5px 0 12px;
    padding: 0 5px;
}

.password-strength-bar {
    height: 6px;
    background: rgba(251, 133, 3, 0.2);
    border-radius: 999px;
    overflow: hidden;
}

.password-strength-fill {
    height: 100%;
    width: 0;
    border-radius: 999px;
    transition: width 0.25s ease, background-color 0.25s ease;
}

.password-strength-label {
    margin: 6px 0 8px;
    font-size: 0.8rem;
    font-weight: bold;
    color: #555;
    font-family: "Comic Neue", cursive !important;
}

.password-strength-rules {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px 12px;
}

.password-strength-rules li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    color: #888;
    font-family: "Comic Neue", cursive !important;
    transition: color 0.25s ease;
}

.password-strength-rules li .rule-text {
    transition: color 0.25s ease, opacity 0.25s ease;
}

.password-strength-rules li .rule-status {
    position: relative;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid #d0d0d0;
    background: #fff;
    flex-shrink: 0;
    transition: border-color 0.25s ease, background-color 0.25s ease, transform 0.25s ease;
}

.password-strength-rules li .rule-status::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 2px;
    width: 5px;
    height: 9px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg) scale(0);
    opacity: 0;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.password-strength-rules li.met {
    color: #26899B;
}

.password-strength-rules li.met .rule-text {
    color: #26899B;
    font-weight: bold;
}

.password-strength-rules li.met .rule-status {
    background: #26899B;
    border-color: #26899B;
}

.password-strength-rules li.met .rule-status::after {
    transform: rotate(45deg) scale(1);
    opacity: 1;
}

.password-strength-rules li.rule-just-met .rule-status {
    animation: password-rule-tick 0.45s ease;
}

@keyframes password-rule-tick {
    0% {
        transform: scale(0.85);
    }
    50% {
        transform: scale(1.15);
    }
    100% {
        transform: scale(1);
    }
}

.checkbox-group {
    display: flex;
    align-items: center;
    margin: 15px 0;
}

.checkbox-group input {
    margin-right: 8px;
    accent-color: #fb8503;
}

.checkbox-group label {
    color: #555;
    font-size: 0.85rem;
    font-family: "Comic Neue", cursive !important;
}

.button-group {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.submit-btn {
    background-color: #fb8503;
    color: white;
    border: none;
    padding: 10px 45px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: "Comic Neue", cursive !important;
}

.submit-btn:hover {
    background-color: #e67700;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(251, 133, 3, 0.4);
}

.button-img {
    width: 60px;
    height: 30px;
    animation: float 3s ease-in-out infinite;
}

.postbox__select4 .nice-select {
    width: 100%;
    height: 50px;
    line-height: 50px;
    padding: 0px 10px 10px 40px;
    position: relative;
    border-radius: 50px;
    background-color: white;
    color: #555;
    border: 1px solid #fb8503;
    text-align: left;
}

.col-md-6 {
    flex: 0 0 auto;
    width: 49%;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-8px);
    }
    100% {
        transform: translateY(0px);
    }
}

@media (max-width: 1200px) {
    .main-box {
        width: 100%;
        /* height: 100vh; */
        padding: 10px 0px;
    }

    .left-box img {
        width: 320px;
        height: 220px;
    }
}

@media (max-width: 992px) {
    .main-box {
        flex-direction: column;
        height: auto;
    }

    .left-box,
    .right-box {
        width: 100%;
    }

    .left-box {
        border-radius: 30px 30px 0 0;
    }

    .right-box {
        border-radius: 0 0 30px 30px;
    }

    .left-box img {
        width: 280px;
        height: 200px;
    }
}

@media only screen and (max-width: 768px) {
    .custom-flex-row {
        display: block;
        gap: 7px;
    }
    .col-md-6 {
        flex: 1;
        text-align: center;
        width: 100%;
    }

    .password-toggle {
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
        color: #fb8503;
        cursor: pointer;
        /*align-items: end;
        justify-content: end;
        display: flex;*/
        left: 89% !important;
    }
}

@media (max-width: 768px) {
    .main-box {
        width: 95%;
    }

    .googlerecaptcha {
        margin-left: -42px;
    }

    .left-box,
    .right-box {
        padding: 20px;
    }

    .left-box h1 {
        font-size: 1.6rem;
    }

    .right-box h2 {
        font-size: 1.3rem;
    }

    .form-container {
        padding: 15px;
    }

    .row {
        flex-direction: column;
        gap: 0;
    }
}

@media (max-width: 576px) {
    .left-box img {
        width: 220px;
        height: 160px;
    }

    .left-box h1 {
        font-size: 1.4rem;
    }

    .right-box h2 {
        font-size: 1.1rem;
    }

    .corner-img {
        width: 60px;
        height: 60px;
    }

    .button-img {
        width: 50px;
        height: 25px;
    }
}
