/* 通用工具類 */
.container {
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
}

.text-shadow {
    text-shadow: var(--shadow-text);
}

.btn-main {
    border-radius: 3px;
    background-color: rgba(255, 255, 255, 0.3);
    border: 2px solid #fff;
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 10px 40px;
    gap: 4px;
    text-align: left;
    font-size: 24px;
    color: #fff;
    font-weight: 900;
    text-shadow: var(--shadow-text);
}

.btn-main:hover, .btn:hover {
    background-color: var(--color-white);
    color: var(--color-gray);
    text-shadow: none;
}

.btn-main .material-icons {
    font-size: 35px;
    color: var(--color-white);
    transition: all 0.3s ease;
    padding-left: 0px;

}

.btn-main:hover .material-icons, .btn:hover .material-icons{
    color: var(--color-gray);
}

.vector-icon {
    width: 23px;
    max-height: 100%;
}

.vector-icon img {
    width: 100%;
    height: 100%;
}


.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 40px;
    border-radius: 3px;
    border: 3px solid var(--color-white);
    font-size: var(--font-size-2xl);
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    gap: 4px;
    color: var(--color-white);
    display: flex;
    align-items: center;
    font-weight: bold;
    font-weight: 900;
    cursor: pointer;
}


.btn .material-icons {
    font-size: 35px;
    color: var(--color-white);
    font-weight: normal;
    transition: all 0.3s ease;
    padding-left: 0px;

}

.btn-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 40px;
    border-radius: 3px;
    background-color: var(--color-primary);
    font-size: var(--font-size-4xl);
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    gap: 0px;
    color: var(--color-white);
    display: flex;
    align-items: center;
    font-weight: bold;
}

.btn-submit .mdc-button__label {
    display: inline-block;
    transform: scale(1);
    transition: transform 0.3s ease;
}

.btn-submit:hover .mdc-button__label {
    transform: scale(0.875);
}

.mb {
    display: none;
}

.pc {
    display: block;
}


.fab-container {
    position: fixed;
    bottom: 110px;
    right: 10px;
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    /* transition: opacity 0.3s ease; */
}

.fab-container.show {
    opacity: 1;
    pointer-events: auto;
}

.fab-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    /* transition: all 0.3s ease; */
}

.fab-container.active .fab-buttons {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.fab-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    /* transition: transform 0.2s ease; */
}
 
.fab-icon img {
    width: 40px;
    height: 40px;
}

.fab-icon.close {
    background-color: #fadbe3;
}

.fab-toggle {
    width: 80px;
    height: 80px;
    border: none;
    border-radius: 50%;
    background-color: #fadbe3;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    /* transition: opacity 0.3s ease, visibility 0.3s ease; */
}

.fab-toggle img {
    width: 45px;
    height: 45px;
}

.mb {
    display: none;
    width: 100%;
    gap: 16px;
    align-items: stretch;
}

.mb .name {
    width: 100%;
}

.mb .name .mdc-text-field {
    margin-bottom: 0;
}

.mb .gender {
    width: 40%;
    margin-bottom: 20px;
}

.mb .gender .radio-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mb .gender .mdc-form-field {
    margin: 0;
    padding: 0;
    height: 24px;
    display: flex;
    align-items: center;
}

.mb .gender .mdc-radio {
    padding: 0;
    margin: 0;
    width: 20px;
    height: 20px;
}

@media screen and (max-width: 768px) {
    .btn-main {
        font-size: var(--font-size-base);
    }

    .btn-main .material-icons {
        font-size: var(--font-size-base);
    }

    .mb {
        display: flex;
    }

    .pc {
        display: none !important;
    }


    .btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 5px 20px;
        border-radius: 3px;
        border: 3px solid var(--color-white);
        font-size: var(--font-size-base);
        cursor: pointer;
        transition: all 0.3s ease;
        text-decoration: none;
        gap: 4px;
        color: var(--color-white);
        display: flex;
        align-items: center;
        font-weight: bold;
        font-weight: 900;
        cursor: pointer;
    }


    .btn .material-icons {
        font-size: var(--font-size-2xl);
        color: var(--color-white);
        font-weight: normal;
        transition: all 0.3s ease;
        padding-left: 0px;
    }

    .btn-submit {
        font-size: 20px;
    }

    .btn-submit:hover {
        font-size: 18;
    }


    .fab-icon {
        width: 48px;
        height: 48px;
    }
    
    .fab-icon img {
        width: 24px;
        height: 24px;
    }

    .fab-toggle {
        width: 50px;
        height: 50px;
    }
    
    .fab-toggle img {
        width: 28px;
        height: 28px;
    }
}