﻿
.window {
    border-radius: 16px;
    box-shadow: 0px 0px 9px #000000;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}

.window > .header {
    width: 100%;
    height: 40px;
    background-color: #00a5a6;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 0px 20px;
    /* 不能反白 */
    -webkit-user-select: none;
    -moz-user-select: none;
    -o-user-select: none;
    user-select: none;
}

.window > .header > .title {
    width: calc(100% - 40px);
    height: 40px;
    cursor: all-scroll;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.window > .header > .title > span {
    color: #ffffff;
    font-weight: 700;
    pointer-events: none;
}

.window > .area1 {
    width: 100%;
    height: calc(100% - 80px);
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}

.window > .area1 > .content {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    overflow: auto;
}

.window .rows {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
}

.window .rows > .title {
    width: 64px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.window .rows > span,
.window .rows > .title > span
{
    color: #000000;
    display: block;
    font-weight: 700;
    white-space: nowrap;
}
.window .rows > button { height: 34px; }

.window .rows-box {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 20px;
}

.window .rows :where(input[type="text"], input[type="number"], select) { width: calc(100% - 74px); height: 34px; }

.window .rows input[type="radio"],
.window .rows input[type="checkbox"] { width: 20px; height: 20px; margin: 0px 5px 0px 0px; }

.window .rows-box > .rows {
    flex: 1;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
}

.window .rows-box > .rows.flex-start {
    align-items: flex-start;
}

.window .rows-box > .rows.flex-end {
    align-items: flex-end;
}

/* ---------------------------------------------------------------------------------------------------- */

.window > .footer {
    width: 100%;
    height: 40px;
    background-color: #ffffff;
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0px 20px;
    position: absolute;
    bottom: 0px;
    left: 0px;
    z-index: 1;
}

.window > .footer > .box_close {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.window > .footer > .box_close > .error-box {
    width: calc(100% - 200px);
    color: #d45a43;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    font-size: 16px;
    font-weight: 700;
}

.window > .footer > .box_close > .error-box > span {
    width: 100%;
    display: block;
    /* 文字超出出現省略號... */
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    /* --------------------- */
}

.window > .footer > .box_close > .item {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

/* 手機 */
@media screen and (max-width: 767px) {
    .window .rows :where(input[type="text"], input[type="number"], select) { width: calc(100% - 66px); height: 34px; }
}
