@charset "UTF-8";

html, body {
    overflow-x: hidden;
}

button {
    outline: none;
}


.common-button {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #fff;
    color: #333;
    border: 1px solid #ddd;
    padding: 0.5rem 1rem;
    border-radius: 8px;;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-size: 1rem;
}

.common-button.primary{
    background: linear-gradient(270deg, #29CCB7 0%, #29CC88 100%);
    color: white;
    border: none;
}


.common-button.small {
    --button-padding: 0.5rem 1rem;
    --button-font-size: 0.875rem;
    --button-border-radius: 6px;
}


.common-button.large {
    width: 100%;
    height: 2.75rem;
    margin-top: 2rem;
    /*    border-radius: 0.88rem;*/
    /*    border: transparent;*/
    opacity: 0.72;
    font-weight: normal;
    line-height: 1.06rem;
    /*    cursor: pointer;*/
}


.error-popup {
    display: none; /* 默认隐藏 */
    position: fixed;
    top: 0;
    left: 0;
    button: 50%;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.error-popup-title {
    width: 100%;
    display: flex;
    flex-direction: row-reverse;
    margin-top: 5px;
    margin-right: 18px;
}


.error-popup-content {
    background-color: #fff;
    padding: 0 0 1.5rem 1.5rem;
    border-radius: 8px;
    width: 80%;
    max-width: 300px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
}

.error-popup-content button {
    background-color: transparent;
    color: #3D3D3D;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
}
