/* 최상단과 배경 이미지 관련 수정 */
body, html {
    height: 100%;
    margin: 0;
    padding: 0;
}

body > .content.login {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    min-height: 100%;
    margin-bottom: 5em;
    background: none;
}

body > .content.login::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("/images/login.webp");
    background-size: cover;
    background-position: center;
    z-index: -1;
    opacity: 1;
}

/* 로그인 폼 스타일 */
body > .content.login .form-title {
    text-align: center;
    color: #000000;
    font-weight: bold;
    font-size: 2.0em;
    margin-top: 5px;
    letter-spacing: -0.03em;
}

body > .content.login .form-group {
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

body > .content.login .login-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1;
}

body > .content.login .login-form-logo {
    display: flex;
    align-items: flex-start;
    flex-wrap: nowrap;
    flex-direction: column;
    margin-bottom: 12px;
    z-index: 1;
}

body > .content.login .register-form {
    flex: 1;
    width: 100%;
    z-index: 1;
}

/* 로그인 폼 그룹 스타일 */
body > .content.login .login-form-group {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: stretch;
    flex-wrap: nowrap;
    z-index: 1;
}

body > .content.login .login-form-group-data {
    width: 100%;
    z-index: 1;
}

body > .content.login .login-form-group-data .form-group > input {
    border: 1px solid #bbb;
    padding: 5px;
    margin: 1px;
    width: 100%;
}

body > .content.login .form-group.form-button {
    display: flex;
    align-items: stretch;
    margin-top: 5px;
}

/* 버튼 스타일 */
body > .content.login .form-group.form-button > input {
    background: #000000;
    color: white;
    width: 80px;
    padding: 10px;
    border: 1px solid #1b4479;
    flex-grow: 1;
}

body > .content.login .form-group.form-button > input:hover {
    background: #0a1e2a;
}

body > .content.login .form-group.form-button > input:disabled {
    background: #bbbbbb;
    color: white;
    border: 1px solid #878686;
}

.signup-content {
    max-width: 300px;
}

.form-group input {
    width: 100%;
    padding: 15px;
    margin-bottom: 5px;
}

.modal-dialog:has(.patrolmember-content-cn-div) {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.modal-content:has(.patrolmember-content-cn-div) {
    min-width: 70vw;
    width: 100%;
    max-width: 90vw;
    height: auto;
}

.modal > .modal-dialog > .modal-content > .modal-body:has(.patrolmember-content-cn-div) {
    margin: 0;
    padding: 0;
}

.modal:has(.patrolmember-content-cn-div) input {
    border-radius: unset;
    margin: unset;
    width: 100%;
    border: none;
    height: 100%;
}

.modal:has(.patrolmember-content-cn-div) .tab.one input {
    text-align: left;
}

.modal:has(.patrolmember-content-cn-div) .table-row div {
    padding: 0;
}

.modal:has(.patrolmember-content-cn-div) .table-cell.btns, .modal:has(.patrolmember-content-cn-div) .table-cell.btns {
    flex: 0.25;
}

.modal:has(.patrolmember-content-cn-div) .add-btn-div {
    display: flex;
    justify-content: flex-end;
    margin: 5px 0px;
}

.patrolmember-content-cn-div-top-btn-div {
    position: absolute;
    right: 20px;
    top: -50px;
    display: flex;
}

.patrolmember-content-cn-div-top-btn {

}

.patrolmember-content-cn-div-top-btn-last-before {
    display: none;
    margin-left: 10px;
}

.patrolmember-content-cn-div-top-btn-temporary-save {
    margin-left: 10px;
}

.common-cd {
    display: flex;
}

.common-cd.ngo > div {
    margin-right: 10px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-direction: row;
}

.common-cd.ngo > div > label {
    text-wrap: nowrap;
    margin-left: 5px;
}

.table-cell button.btn {
    font-size: 0.9em;
    height: 30px;
    margin: 5px;
    line-height: 10px;
}

.tab-sub-buttons {
    display: flex;
}

.tab-sub-buttons li {
    padding: 10px;
    background-color: #bbc4cb;
    color: black;
    width: 100%;
    margin: 0px;
    text-align: center;
}

.tab-sub-buttons li.active {
    background-color: #84a3bd;
}

.tabs {
    font-size: 0.9em;
    border-top: 1px solid #55d5b7;
    /* padding-top: 10px; */
    /* background: #ffffff; */
    background-color: #f3faff;
}

.tab.one > div > .row:not(:last-child) {
    border-bottom: 1px solid #55d5b7;
}

.tab.one > div > .row {
    padding: 8px 0px;
}

.tab.one .col > .row:not(:first-child) {
    padding-top: 8px;
}

.tab-buttons {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}

.tab-buttons li {
    padding: 10px;
    background-color: #cfcfcf;
    color: black;
    width: 100%;
    margin: 0px;
    text-align: center;
}

.tab-buttons li.active {
    background-color: #235ba0;
    color: white;
    font-weight: bold;
}

.header {
    background-color: #9bc2e6;
    padding: 10px;
    text-align: center;
    font-weight: bold;
    border-radius: 10px;
}

.row:last-child {
    border-bottom: none;
}

.col {
    flex: 1;
}

.label {
    flex: 0 0 20%;
    font-weight: bold;
    background-color: #d9e8f5;
    padding: 5px;
    display: flex;
    align-items: center;
}

.input:not(.hidden) {
    flex: 1;
    border: 1px solid #ddd;
    padding: 0px;
    display: flex;
    background-color: white;
    align-items: center;
}

.list-view .input {
    padding-left: 10px;
}

.row-button {
    width: 135px;
    display: flex;
    justify-content: center;
}

.row-button button {
    font-size: 0.9em;
}

.title {
    background-color: #d9e8f5;
    font-weight: bold;
    padding: 5px;
    text-align: center;
}

.section-title {
    background-color: #d9e8f5;
    font-weight: bold;
    padding: 5px;
    text-align: left;
    margin-top: 10px;
}

.table-header {
    background-color: #d9e8f5;
    font-weight: bold;
}

.table-row {
    display: flex;
    border-bottom: 1px solid #ddd;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    text-align: center;
    padding: 0;
}

.table-row > div:nth-child(1) {
    flex: 0.4;
}

.table-row > div:nth-child(2) {
    flex: 0.4;
}

.table-row > div:nth-child(3) {
    flex: 0.5;
}

.table-row > div:nth-child(4) {
    flex: 0.4;
}

.table-row > div:nth-child(5) {
    flex: 0.7;
}

.table-row > div:nth-child(6) {
    flex: 2;
}

.table-row > div:nth-child(7) {
    flex: 0.5;
}

.table-row > div:nth-child(8) {
    flex: 0.5;
}

.table-row > div:nth-child(9) {
    flex: 0.4;
}

.table-row div {
    flex: 1;
    padding: 5px 0px;
    border-right: 1px solid #ddd;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: white;
}

.table-row div:last-child {
    border-right: none;
}

.vigilante-group-ptrl-dow {
    margin-right: 10px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-direction: row;
}