/* グラジャパ側が追加しているCSSはこっち */

.finalist__item-info-button-like-check {
    padding-left: 1em;
    background: url(../../../img/campaign/new_heroine_project2025_final/icon-check.svg) no-repeat center center;
    background-size: 0.9em 0.9em;
    margin-left: 0.3em;
    top: 0.08em;
    position: relative;
}

/* -------------------------
login-modal
------------------------- */
div#login {
    display: flex;
    justify-content: center;
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    pointer-events: none;
}

div#login.isOpen {
    pointer-events: all;
}

#modal-background {
    position: fixed;
    top: 0;
    right: 0;
    width: 100vw;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    opacity: 0;
    transition: opacity 0.3s;
}

div#login.isOpen #modal-background {
    opacity: 1;
}

.modal-content {
    display: flex;
    justify-content: center;
    flex-direction: column;
    margin: auto 0;
    padding: .5rem 1.5rem;
    background-color: var(--color_base);
    overflow-y: auto;
    overscroll-behavior: contain;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s;
}

div#login.isOpen .modal-content {
    pointer-events: all;
    transform: translate(0, 0);
    opacity: 1;
}

/* -------------------------
vote-modal
------------------------- */
div#vote_confirm {
    display: flex;
    justify-content: center;
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    pointer-events: none;
}

div#vote_confirm.isOpen {
    pointer-events: all;
}

#modal-background-vote {
    position: fixed;
    top: 0;
    right: 0;
    width: 100vw;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    opacity: 0;
    transition: opacity 0.3s;
}

div#vote_confirm.isOpen #modal-background-vote {
    opacity: 1;
}

div#vote_confirm.isOpen .modal-content {
    pointer-events: all;
    transform: translate(0, 0);
    opacity: 1;
}

.modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 1rem;
    border-bottom: 1px solid #e9ecef;
    border-top-left-radius: .3rem;
    border-top-right-radius: .3rem;
}

.modal-title {
    margin-bottom: 0;
    line-height: 1.5;
    font-size: 1.75rem;
    font-weight: 500;
}

.modal-header .close {
    float: right;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
    color: #000;
    text-shadow: 0 1px 0 #fff;
    opacity: .5;
    cursor: pointer;
    padding: 1rem;
    margin: -1rem -1rem -1rem auto;
}

.modal-body {
    position: relative;
    flex: 1 1 auto;
    padding: 1rem;
}

.modal-body p {
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1.6rem;
}

.modal-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 1rem;
    border-top: 1px solid #e9ecef;
}

.modal-footer .btn {
    color: #fff;
    background-color: #6c757d;
    border-color: #6c757d;
    display: inline-block;
    font-weight: 400;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    border: 1px solid transparent;
    padding: .375rem .75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: .25rem;
    margin: .375rem;
}

.modal-footer .btn.btn-primary {
    color: #fff;
    background-color: #007bff;
    border-color: #007bff;
}
