.general_container {
    display: flex;
    gap: 20px;
}

.general_container .sidebar {
    width: 45%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.general_container .sidebar .payload {
    width: 100%;
    border: 1px solid #B4B4B4;
    border-radius: 5px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    box-sizing: border-box;
}

.general_container .sidebar .payload .item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.general_container .sidebar .payload .item.post .input_box {
    padding-left: 12px;
}

.general_container .sidebar .payload .item label {
    font-size: 18px;
}

.general_container .sidebar .payload .item .input_box {
    border: 1px solid #E6E7E9;
    border-radius: 5px;
    height: 48px;
    display: flex;
}

.general_container .sidebar .payload .item .input_box .icon {
    width: 40px;
    text-align: center;
    align-items: center;
    display: flex;
    justify-content: center;
}

.general_container .sidebar .payload .item.post .input_box .icon {
    display: none;
}

.general_container .sidebar .payload .item .input_box .icon svg {
    width: 22px;
    height: 22px;
    fill: #B4B4B4;
}

.general_container .sidebar .payload .item .input_box input {
    border: none;
    flex: 1;
    font-size: 16px;
}

input:focus {
    outline: none;
}

.general_container .sidebar .payload .item .input_box .arrow {
    width: 40px;
    text-align: center;
    align-items: center;
    display: flex;
    justify-content: center;
}

.general_container .sidebar .payload .item .input_box .arrow svg {
    width: 17px;
    height: 17px;
    fill: #B4B4B4;
}

.general_container .result {
    border: 1px solid #B4B4B4;
    border-radius: 5px;
    height: max-content;
    flex: 1;
}

.user_success .item.user .input_box {
    border: 1px solid #A0D8AB;
    background: #E6F5E9;
}

.user_success .item.user input {
    background: #E6F5E9;
}

.user_success svg, .post_success svg {
    fill: #000000 !important;
}

.post_success .item.user .input_box {
    background: #7FB2DE;
}

.post_success .item.user input {
    background: #7FB2DE;
    color: #212529;
}

.post_success .item.user .arrow {
    display: none;
}

.post_success .item.post .input_box {
    border: 1px solid #A0D8AB;
    background: #E6F5E9;
}

.post_success .item.post input {
    background: #E6F5E9;
}

.post_success .sidebar .payload .item.post .input_box .icon {
    display: flex;
}

.post_success .sidebar .payload .item.post .input_box {
    padding-left: unset;
}


.user_failed .item.user .input_box {
    border: 1px solid #E6E7E9;
    background: #D04545;
}

.user_failed .item.user input {
    background: #D04545;
    color: #921B1B;
}

.user_failed svg, .post_failed .item.post svg {
    fill: #921B1B !important;
}

.post_failed .item.post .input_box {
    border: 1px solid #D04545;
    background: #F8D7DA;
}

.post_failed .item.post input {
    background: #F8D7DA;
    color: black;
}

.post_failed .sidebar .payload .item.post .input_box .icon {
    display: flex;
}

.post_failed .sidebar .payload .item.post .input_box {
    padding-left: unset;
}

.post_failed .sidebar .payload .item.post .input_box svg {
    fill: #D04545;
}

.general_container .sidebar .chosen_post {
    width: 100%;
    border: 1px solid #B4B4B4;
    border-radius: 5px;
    padding: 20px;
    flex-direction: column;
    gap: 15px;
    box-sizing: border-box;
    font-size: 18px;
    display: none;
    opacity: 0;
    visibility: hidden;
}

.general_container .sidebar .chosen_post.active {
    display: flex;
    opacity: 1;
    visibility: visible;
}

.general_container .sidebar .chosen_post .header {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.general_container .sidebar .chosen_post .image_box {
    position: relative;
}

.general_container .sidebar .chosen_post .image_box img {
    width: 100%;
    height: 120px;
    object-fit: cover;
}

.general_container .sidebar .chosen_post .inputs {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.general_container .sidebar .chosen_post .inputs .counts {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.general_container .sidebar .chosen_post .inputs .counts .item {
    border: 1px solid #E6E7E9;
    border-radius: 5px;
    height: 48px;
    display: flex;
}

.general_container .sidebar .chosen_post .inputs .counts input {
    width: 100%;
}


.general_container .chosen_post .input_box {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 5px;
}

.general_container .chosen_post .input_box input, .general_container .chosen_post .input_box select {
    height: 30px;
    border: 1px solid #E6E7E9;
    border-radius: 5px;
    padding-left: 10px;
}

.general_container .chosen_post .input_box select {
    height: 36px;
    font-size: 15px;
}

.general_container .chosen_post button {
    width: 100%;
    color: white;
    height: 48px;
    border: none;
    border-radius: 4px;
    font-size: 15px;
    cursor: pointer;
    padding: unset;
    line-height: unset;
}

.general_container .check {
    position: absolute;
    top: 8px;
    right: 8px;
    background: white;
    width: 22px;
    height: 22px;
    border-radius: 5px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99;
}

.general_container .check svg {
    fill: black;
}

.general_container .result.loading .header,
.general_container .result.loading .content,
.general_container .result.loading .raffle_response,
.general_container .result.blank .loading,
.general_container .result.blank .raffle_response,
.general_container .result.success .loading,
.general_container .result.success .raffle_response,
.general_container .result.blank .header.success,
.general_container .result.blank .content .success_photos,
.general_container .result.success .header.blank,
.general_container .result.success .content .photos.blank,
.general_container .result.raffle .header.blank,
.general_container .result.raffle .loading,
.general_container .result.raffle .success_photos,
.general_container .result.raffle .content .photos.blank,
.general_container .result.raffle .header.success {
    display: none;
}


.general_container .result.loading .loading {
    display: flex;
}

.general_container .result .loading {
    width: 100%;
    border-radius: 5px;
    background: #F7F7F8;
    height: 400px;
    justify-content: center;
    align-items: center;
    text-align: center;
}


.general_container .result .header {
    width: 100%;
    box-sizing: border-box;
    padding: 20px;
    display: flex;
}

.general_container .result .header.blank {
    justify-content: center;
    font-size: 18px;
    align-items: center;
    gap: 15px;
    color: #e5e5e5;
}

.general_container .result .header.success {
    justify-content: space-between;
}

.general_container .result .header.success .profile {
    display: flex;
    gap: 10px;
}

.general_container .result .header.success .profile .image {

}

.general_container .result .header.success .profile .image img {
    width: 64px;
    height: 64px;
    border-radius: 100%;
    object-fit: cover;

}

.general_container .result .header.success .profile .name_box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 3px;
}

.general_container .result .header.success .profile .name_box .username {
    font-weight: bold;
}

.general_container .result .header.success .profile .name_box .name {

}

.general_container .result .header.success .totals {
    align-items: end;
    display: flex;
}

.general_container .result .header.blank .user_image {
    width: 64px;
    height: 64px;
    border-radius: 100%;
    background: #e5e5e5;
}

.general_container .result .header.blank .user_image {

}

.general_container .result .content {
    width: 100%;
    height: max-content;
    border-radius: 0 0 5px 5px;
    padding: 10px;
    box-sizing: border-box;
    overflow: scroll;

}

.result .content .photos, .result .content .success_photos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    padding: 7px;
    max-height: 520px;
    overflow: scroll;
}

.result .content .photos .item {
    background-color: #e5e5e5;
    color: white;
    text-align: center;
    aspect-ratio: 1 / 1;
    border: 1px solid #ccc;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
}


.result .content .success_photos .item {
    background-color: #e5e5e5;
    color: white;
    text-align: center;
    aspect-ratio: 1 / 1;
    border: 1px solid #ccc;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
}

.general_container .result.blank .content {
    background: #f8f8f8;
    min-height: 538px;
}

.general_container .result.success .content {
    background: #2D74B133;
}

.general_container .result.success .success_photos .item {
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.general_container .result.success .success_photos .item img {
    width: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    opacity: .6;
}

.general_container .result.success .success_photos .item.active img {
    filter: grayscale(0%);
    opacity: 1;
}

.general_container .result.success .success_photos .item .check svg {
    display: none;
}

.general_container .result.success .success_photos .item.active .check svg {
    display: unset;
}

.mock_success_clone_item, .mock_success_clone_item_raffle {
    display: none;
    visibility: hidden;
    opacity: 0;
    position: absolute;
}

.next_photo_button, .select_photo_button {
    width: 97.8%;
    color: white;
    height: 48px;
    border: none;
    border-radius: 4px;
    font-size: 15px;
    cursor: pointer;
    margin-left: 6px;
    margin-top: 10px;
    display: none;
}

.next_photo_button.active {
    display: block;
}

.result.raffle {
    border: none;
}

.result.raffle .content {
    padding: 0;
}

.general_container .result.raffle .header {
    display: block;
    padding: 0;
    /*padding: 0 20px;*/
}

.general_container .result.raffle .header .message_bold {
    font-size: 25px;
    font-weight: bold;
}

.general_container .result.raffle .header .message {
    display: block;
    font-size: 18px;
    margin-top: 4px;
}

.result.raffle .raffle_response {
    display: block;
}

.result.raffle .raffle_response .raffle_content {
    margin-top: 20px;
    padding: 20px;
    background: #2D74B11A;
}


.raffle_content .list {
    display: flex;
    justify-content: space-between;
    background: white;
    box-shadow: 0px 2px 4px 0px #0000001A;
    border-radius: 5px;
    min-height: 400px;
    font-size: 18px;
}

.raffle_content .list .winners {
    flex: 1;
}

.raffle_content .list .spares {
    flex: 1;
}

.raffle_content .list .header {
    border-bottom: 1px solid #e5e5e5;
    padding: 10px !important;
    box-sizing: border-box;
    font-weight: bold;

}

.raffle_content .list .spares .items {
    background: #F5F6F7;
}

.raffle_content .list .items {
    max-height: 450px;
    overflow: scroll;
}

.raffle_content .list .items .item {
    border-bottom: 1px solid #e5e5e5;
    padding: 10px !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.raffle_content .list .items .item .text {

}

.raffle_content .list .items .item .icon {
    border-radius: 3px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 4px;
}

.raffle_content .list .items .item .icon svg {
    width: 15px;
    height: 15px;
    fill: white !important;
    cursor: pointer;
}

.error_alert {
    color: #921B1B;
    margin-top: 10px;
    display: none;
    font-size: 17px;
}

.user_failed .item.user .error_alert, .post_failed .item.post .error_alert {
    display: block;
}


.mobile_container {
    display: block;
}

.mobile_container .sidebar {
    display: block;
    width: 100%;
}

/*.mobile_container .sidebar .payload {*/
/*    display: none;*/
/*}*/

.mobile_container .sidebar .chosen_post {
    display: none;
    margin-top: 20px;
}

.mobile_container .result {
    /*display: none;*/
    margin-top: 20px;
}

/*.mobile_container.step_one .sidebar .payload {*/
/*    display: flex;*/
/*}*/

.mobile_container .sidebar .chosen_post .image_box img {
    height: 250px;
}

.mobile_container .result.blank .content {
    min-height: unset;
}


.mobile_container .result .content .photos {
    max-height: 350px;
}

.mobile_container .select_photo_button.active {
    display: block;
}

.mobile_container .result.raffle .header{
    background: white;
}
.mobile_container .raffle_content .list{
    background: none;
    display: block;
}
.mobile_container .raffle_content .list .winners{
    background: white;
}
.mobile_container .raffle_content .list .spares{
    margin-top: 30px;
}
.mobile_container .raffle_response .top_header{
    display: none!important;
}


.api_alerts {

}

.api_alerts .api_alert {
    padding: 10px;
    gap: 10px;
    border-radius: 5px;
    align-items: center;
    display: none;
    margin-bottom: 20px;
}

.api_alerts .api_alert .icon {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.api_alerts .api_alert svg {
    width: 20px;
}

.api_alerts .success_alert {
    background: #E6F5E9;
    color: #0F421C;
    border: 1px solid #A0D8AB;
}

.api_alerts .failed_alert {
    background: #F8D7DA;
    border: 1px solid #D59399;
}

.api_alerts .success_alert svg {
    fill: #0F421C;

}
.api_alerts .failed_alert svg {

}

.raffle_success .success_alert, .raffle_failed .failed_alert{
    display: flex;
}

.raffle_failed .winners .items, .raffle_failed .spares .items{
    height: calc(100% - 48px);
    background: #F8D7DA!important;
    box-sizing: border-box;
}
.mobile_container .raffle_failed .winners .items, .mobile_container .raffle_failed .spares .items{
    height: 200px;
}

.retry_raffle_button, .select_new_photo_button{
    width: 100%;
    background: black;
    color: white;
    height: 48px;
    border: none;
    border-radius: 4px;
    font-size: 15px;
    cursor: pointer;
    margin-top: 10px;
    padding: unset;
    line-height: unset;
}
.select_new_photo_button {
}

.result.loading .loading img{
    width: 64px;
}




