/* -----------------------------------------------------------------------------
**
** 欲しい物リスト/コレクションリスト追加モーダル（PC,SP共通）
**
----------------------------------------------------------------------------- */

/* PC */
.TOL-add-list-modal-inner{
    padding: 10px;
    width: 750px;
}
.TOL-add-list-modal-title {
    letter-spacing: 1px;
    font-size: 16px;
    color: #535353;
    border-bottom: solid 1px var(--tr-dark-gray);
    padding: 10px 10px 15px;
    font-weight: bold;
    display: flex;
    align-items: center;
}
.TOL-add-list-modal-title  i {
    margin: 0 10px 0 0;
}
.TOL-add-list-modal-title  img {
    height: 20px;
    margin: 0 10px 0 0;
}
.TOL-add-list-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 10px;
    padding-right: 35px;
    position: relative;
    z-index: 5;
    background: white;
}
.TOL-add-list-modal-arrival-notice {
    display: flex;
    align-items: center;
    cursor: pointer;
}
.TOL-add-list-modal-arrival-notice .common-toggle-switch{
    margin-right: 5px;
}

.TOL-add-list-modal-alert {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
    border-radius: 2px;
    padding: 8px 20px;
    margin: 0px 15px 0 10px;
    position: relative;
    z-index: 5;
} 
.TOL-add-list-modal-list-block {
    margin-top: -50px;
}
.TOL-add-list-modal-list-inner {
    height: 500px;
    position: relative;
    overflow-y: scroll;
    padding-top: 50px;
}
.TOL-add-list-modal-list-name {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    margin: 10px;
    cursor: pointer;
    transition: .2s;
    outline: 1px solid #fff;
    position: relative;
}
.TOL-add-list-modal-list-name.is-new-list,
.TOL-add-list-modal-list-name.is-new-collection-list {
    justify-content: left;
    align-items: center;
}
.TOL-add-list-modal-list-name.is-new-list span,
.TOL-add-list-modal-list-name.is-new-collection-list span {
    margin-left: 10px;
}
.TOL-add-list-modal-list-name:hover {
    background: var(--tr-light-gray);
    outline: 1px solid var(--tr-gray);
}
.TOL-add-list-modal-list-public-icon {
    border-radius: 30px;
    background: var(--tr-gray);
    color: var(--tr-deep-gray);
    padding: 4px 10px;
    flex-shrink: 0;
}

.TOL-add-list-modal-add-done {
    position: absolute;
    padding: 15px;
    width: 220px;
    margin: 0 auto;
    background: white;
    top: -40px;
    left: 250px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -o-border-radius: 10px;
    -ms-border-radius: 10px;
    border-radius: 10px;
    text-align: center;
    z-index: 2000;
    filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.4));
    animation: anim .5s;
}
.TOL-add-list-modal-add-done:before {
    content: "";
    position: absolute;
    bottom: -24px;
    left: 50%;
    margin-left: -15px;
    border: 12px solid transparent;
    border-top: 13px solid #FFF;
    z-index: 2;
}
@keyframes anim {
    0% {
        transform: translateY(20px);
        opacity: 0;
    }

    100% {
        transform: translateY(0px);
        opacity: 1;
    }
}
.tr-common-modal:has(.TOL-add-list-modal-new-list) {
    /* border-radius: 8px; */
}
.TOL-add-list-modal-new-list {
    width: 440px;
    padding: 15px 30px;
}
.TOL-add-list-modal-new-list .common-textbox-container{
    margin-bottom: 10px;
}
.TOL-add-list-modal-new-list .common-square-button {
    background: var(--tr-black);
    width: 100px;
    margin: 0 auto;
}

/* SP */
@media screen and (max-width: 850px) {   
    .tr-common-modal-close {
        right: 10px;
        top: 10px;
    } 
    .tr-common-modal:has(.TOL-add-list-modal-inner) {
        width: 95%;
        min-width: 95%;
        /* border-radius: 4px; */
    }
    .TOL-add-list-modal-inner {
        width: unset;
    }
    .TOL-add-list-modal-title {
        font-size: 12px;
    }
    .TOL-add-list-modal-header {
        justify-content: flex-start;
    }
    .TOL-add-list-modal-header span {
        font-size: 11px;
    }
    .TOL-add-list-modal-arrival-notice {
        padding-left: 10px;
    }
    .TOL-add-list-modal-alert {
        margin:0;
        margin-bottom: 10px;

    }
    .TOL-add-list-modal-list-name {
        padding: 15px 10px;
        margin: 0;
        margin-bottom: 10px;
        border: 1px solid var(--tr-dark-gray);
        display: flex;
    }
    .TOL-add-list-modal-list-name.is-new-list {
        background-color: var(--tr-blue);
        justify-content: center;
    }
    .TOL-add-list-modal-list-name.is-new-collection-list {
        background-color: var(--tr-red);
        justify-content: center;
    }
    .TOL-add-list-modal-list-name.is-new-list i {
        display: none;
    }
    .TOL-add-list-modal-list-name.is-new-list span,
    .TOL-add-list-modal-list-name.is-new-collection-list span {
        color: white;
    }
    .TOL-add-list-modal-list-name span,
    .TOL-add-list-modal-list-name a {
        font-size: 12px;
    }
    .TOL-add-list-modal-add-done {
        right: 0;
        left: 0;
        padding: 10px;
        width: 210px;
    }
    .tr-common-modal:has(.TOL-add-list-modal-new-list) {
        min-width: 90%;
    }
    .TOL-add-list-modal-new-list {
        width: auto;
    }
}