:root {
    --popup-card-background-color: rgb(255, 255, 255);
    --warning-button-color: rgb(255, 59, 48);
    --warning-button-color-hover: rgb(255, 69, 58);
    --danger-button-color: rgb(255, 19, 58);
    --danger-button-color-hover: rgb(255, 29, 58);
    --success-button-color: rgb(48, 209, 88);
    --success-button-color-hover: rgb(58, 219, 98);
    --info-button-color: rgb(10, 132, 255);
    --info-button-color-hover: rgb(20, 142, 255);
    --primary-button-color: rgb(0, 122, 255);
    --primary-button-color-hover: rgb(10, 132, 255);
    --secondary-button-color: rgb(88, 86, 214);
    --secondary-button-color-hover: rgb(98, 96, 224);
    --default-button-color: rgb(43, 43, 46);
    --default-button-color-hover: rgb(53, 53, 56);
    --popup-card-footer-border-color: 209, 213, 219;
    --toast-background-color: rgb(255, 255, 255);
    --toast-text-color: rgb(0, 0, 0);
    --toast-close-color: rgb(0, 0, 0);
    --info-color-rgb: 0, 122, 255; /* #007aff */
    --error-color-rgb: 255, 59, 48; /* #ff3b30 */
    --warning-color-rgb: 248, 180, 37; /* #f8b425 */
    --success-color-rgb: 48, 210, 9; /* #30d209 */
    --question-color-rgb: 0, 122, 255; /* #007aff */
}

.customPopup {
    position: fixed;
    width: 100%;
    height: 100vh;
    top: 0;
    left: 0;
    display: none;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.customPopup-Control {
    position: fixed;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    overflow-y: auto;
    z-index: 9999999;
}

.customPopup-Controlable {
    position: relative;
    display: flex;
    height: fit-content;
    justify-content: center;
    align-items: center;
    justify-content: center;
}

.customPopup-Overlay {
    position: fixed;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    top: 0;
    left: 0;
    background:rgba(0, 0, 0, 0.5);
    align-items: center;
    justify-content: center;
    z-index: 9999999;
    background: rgba(0, 0, 0, 0.5);
    transition: opacity 0.3s ease-in-out;
}

.customPopup.Show {
    opacity: 1;
    display: flex;
    z-index: 99999999;
}

.customPopup.Show > .customPopup-Control > .customPopup-Controlable > .popup-header_card {
    animation:  popup-header_card_animation 0.2s ease-in-out;
    display: flex;
}
.customPopup.Bomb > .customPopup-Control > .customPopup-Controlable > .popup-header_card {
    animation:  bomb_popup-header_card_animation 0.1s ease-in-out;
}

@keyframes bomb_popup-header_card_animation {
    0% {
        transform: scale(0.9);
        opacity: 1;
    }
    25% {
        transform: scale(0.8);
        opacity: 0.7;
    }
    50% {
        transform: scale(0.7);
        opacity: 0.5;
    }
    75% {
        transform: scale(0.6);
        opacity: 0.3;
    }
    100% {
        transform: scale(0.5);
        opacity: 0;
        display: none;
    }
}

.popup-header_card {
    position: relative;
    min-width: 400px;
    max-width: 400px;
    min-height: 150px;
    height: fit-content;
    box-sizing: border-box;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    flex-direction: column;
    background-color: var(--popup-card-background-color);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    display: none;
    padding: 15px;
    z-index: 999999;
}


@keyframes popup-header_card_animation {
    0% {
        transform: scale(0.5);
        opacity: 0;
    }
    5% {
        transform: scale(1);
        opacity: 0;
    }
    50% {
        transform: scale(1.01);
        opacity: 1;
    }
    70% {
        transform: scale(0.9);
        opacity: 1;
    } 
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@media screen and (max-width: 768px) {
    .popup-header_card {
        width: 95%;
        min-width: 95%;
    }  
}

.popup-header_card_icon_container {
    position: relative;
    width: 100%;
    height: 100px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 999;
}

.popup-header_card_icon_container i {
    position: relative;
    font-size: 50px;
    animation: popup-header_card_icon_container_i_animation 0.5s ease-in-out;
}

.popup-header_card_icon_container svg {
    position: relative;
    font-size: 50px;
    animation: popup-header_card_icon_container_i_animation 0.5s ease-in-out;
}

@media screen and (max-width: 768px) {
    .popup-header_card_icon_container i {
        font-size: 80px;
    }  
    .popup-header_card_icon_container svg {
        font-size: 80px;
    }
}

@keyframes popup-header_card_icon_container_i_animation {
    0% {
        transform: rotate3d(0, 1, 0, 0deg);
    }
    50% {
        transform: rotate3d(0, 1, 0, 180deg);
    }
    100% {
        transform: rotate3d(0, 1, 0, 0deg);
    }
}

.popup-header_card_text_contaier {
    position: relative;
    width: 100%;
    height: fit-content;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.popup-header_card_text_contaier_title {
    position: relative;
    width: 100%;
    height: fit-content;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.popup-header_card_text_contaier_title_text {
    position: relative;
    font-size: 20px;
    font-weight: 500;
    color: var(--title-color);
    text-wrap: wrap;
    text-align: center;
    word-break: break-word;
}

@media screen and (max-width: 768px) {
    .popup-header_card_text_contaier_title_text {
        font-size: 30px;
    }  
}

.popup-header_card_text_contaier_content {
    position: relative;
    width: 100%;
    height: fit-content;
    box-sizing: border-box;
        display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}

.popup-header_card_text_contaier_content_text {
    position: relative;
    font-size: 14px;
    font-weight: 400;
    color: var(--text-color);
    text-wrap: wrap;
    text-align: center;
    word-break: break-word;
}

@media screen and (max-width: 768px) {
    .popup-header_card_text_contaier_content_text {
        font-size: 20px;
    }  
    
}

.popup-header_card_close {
    position: absolute;
    width: 30px;
    height: 30px;
    box-sizing: border-box;
    top: 5px;
    right: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 9999;
}

.popup-header_card_close i {
    position: relative;
    font-size: 14px;
    color: var(--title-color);
    z-index: 9999;
}

@media screen and (max-width: 768px) {
    .popup-header_card_close i {
        font-size: 20px;
    }  
    
}

.popup-header_buttons {
    position: relative;
    width: 100%;
    height: fit-content;
    box-sizing: border-box;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
} 

.popup-header_buttons_left {
    position: relative;
    height: fit-content;
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    margin-bottom: 5px;
}

.popup-header_buttons_right {
    position: relative;
    height: fit-content;
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    margin-bottom: 5px;
}

.popup-header_buttons_button {
    position: relative;
    max-width: 90%;
    width: 100px;
    min-height: 40px;
    height: fit-content;
    box-sizing: border-box;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out;
    padding: 0 5px;
}

@media screen and (max-width: 768px) {
    .popup-header_buttons_button {
        width: 130px;
    }  
}

.popup-header_buttons_button_text {
    position: relative;
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    text-wrap: wrap;
    text-align: center;
    word-break: break-word;
}

@media screen and (max-width: 768px) {
    .popup-header_buttons_button_text {
        font-size: 16px;
    }  
}

.warning-button-color {
    background-color: var(--warning-button-color);  
}

.warning-button-color:hover {
    background-color: var(--warning-button-color-hover);  
    box-shadow: 0 0 4px var(--warning-button-color);  
}

.success-button-color {
    background-color: var(--success-button-color);  
}

.success-button-color:hover {
    background-color: var(--success-button-color-hover);  
    box-shadow: 0 0 4px var(--success-button-color);  
}

.danger-button-color {
    background-color: var(--danger-button-color);  
}

.danger-button-color:hover {
    background-color: var(--danger-button-color-hover);  
    box-shadow: 0 0 4px var(--danger-button-color);  
}

.info-button-color {
    background-color: var(--info-button-color);  
}

.info-button-color:hover {
    background-color: var(--info-button-color-hover);  
    box-shadow: 0 0 4px var(--info-button-color);  
}

.default-button-color {
    background-color: var(--default-button-color);  
}

.default-button-color:hover {
    background-color: var(--default-button-color-hover);  
    box-shadow: 0 0 4px var(--default-button-color);  
}

.primary-button-color {
    background-color: var(--primary-button-color);  
}

.primary-button-color:hover {
    background-color: var(--primary-button-color-hover);  
    box-shadow: 0 0 4px var(--primary-button-color);  
}

.secondary-button-color {
    background-color: var(--secondary-button-color);  
}

.secondary-button-color:hover {
    background-color: var(--secondary-button-color-hover);  
    box-shadow: 0 0 4px var(--secondary-button-color);  
}

.infoColorTest {
    color: #007aff;
}

.errorColorTest {
    color: #ff3b30;
}

.warningColorTest {
    color: #f8b425;
}

.successColorTest {
    color: #30d209;
}   

.questionColorTest {
    color: #007aff;
}


.popup-header_card_footer {
    position: relative;
    width: 100%;
    min-height: 20px;
    height: fit-content;
    padding: 10px 0;
    box-sizing: border-box;
    border-top: 1px solid rgb(var(--popup-card-footer-border-color));
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.popup-header_card_footer_text {
    position: relative;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-color);
    text-wrap: wrap;
    text-align: center;
    word-break: break-word;
    text-decoration: none;
}

.popup-header_card_footer_text:link {
    color: var(--link-color);
}

.popup-header_card_footer_text:link:hover {
    text-decoration: underline;
}

.customToast {
    position: fixed;
    top: 20px;
    right: 20px;
    width: auto;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-start;
    z-index: 999999;
}

@media screen and (max-width: 768px) {
    .customToast {
        top: 10px;
        right: 10px;
        width: 100%;
    }  
}

.customToast-Item {
    position: relative;
    min-width: 300px;
    min-height: 50px;
    max-width: 500px;
    height: fit-content;
    box-sizing: border-box;
    border-radius: 5px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    background: rgba(var(--primary-color-rgb), 0.1);
    backdrop-filter: blur(10px); 
    --webkit-backdrop-filter: blur(10px);
    border: none;
    margin-bottom: 10px;
    padding: 10px;
    transition: opacity 0.3s ease-in-out;
    animation: toastIn 0.5s forwards, toastOut 0.5s 2.5s forwards;
    overflow: hidden;
}

@media screen and (max-width: 768px) {
    .customToast-Item {
        width: 70%;
    }  
}

@media screen and (max-width: 480px) {
    .customToast-Item {
        width: 90%;
    }  
}

@keyframes toastIn {
    0% {
        opacity: 0;
        transform: translateX(100%);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes toastOut {
    0% {
        opacity: 1;
        transform: translateX(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-100%);
    }
}

.customToast-Item.infoColor {
    background: rgba(var(--info-color-rgb), 0.1);
}

.customToast-Item.errorColor {
    background: rgba(var(--error-color-rgb), 0.1);
}

.customToast-Item.warningColor {
    background: rgba(var(--warning-color-rgb), 0.1);
}

.customToast-Item.successColor {
    background: rgba(var(--success-color-rgb), 0.1);
}

.customToast-Item.questionColor {
    background: rgba(var(--question-color-rgb), 0.1);
}

.customToast-Item-Icon {
    position: relative;
    width: 30px;
    height: 30px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
}

.customToast-Item-Icon i {
    position: relative;
    font-size: 20px;
}

.customToast-Item-Text {
    position: relative;
    width: calc(100% - 30px);
    height: fit-content;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 0 10px;
}

.customToast-Item-Text-Title {
    position: relative;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-color);
    text-wrap: wrap;
    text-align: left;
    word-break: break-word;
}

.customToast-Item-Text-Content {
    position: relative;
    font-size: 14px;
    font-weight: 400;
    color: var(--text-color);
    text-wrap: wrap;
    text-align: left;
    word-break: break-word;
}