body {
    background-color: #323949;
}

main {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 520px;
    min-height: 700px;
    height: 100%;
}

main.agent {
    min-height: 890px;
}

main.loading {
    background-color: #ffffff;
}

main > form {
    position: relative;
    width: 500px;
    padding: 40px 80px;
    border-radius: 5px;
    box-sizing: border-box;
    box-shadow: 3px 3px 10px 3px #333333;
    background-color: #ffffff;
    font-size: 0;
    text-align: center;
}

main.agent > form {
    height: 870px;
}

main > form #backBtn {
    position: absolute;
    right: 15px;
    top: 10px;
    width: 25px;
    height: 25px;
    border: none;
    box-sizing: border-box;
    background: url(../img/sw-p-icon-03.png) no-repeat center;
    cursor: pointer;
}

main > form > .title-box {
    margin-top: 10px;
}

main > form > .title-box > h1 {
    font-size: 24px;
    font-weight: 700;
}

main > form > .login-box {
    margin-top: 30px;
}

main > form > .login-box > span {
    color: #777777;
    font-size: 14px;
}

main > form > .login-box > a {
    padding: 5px 10px;
    color: #2c67de;
    font-size: 14px;
}

main > form > .input-box {
    margin-top: 10px;
}

main > form > .input-box > div {
    position: relative;
    margin-top: 5px;
    margin-bottom: 12px;
}

main > form > .input-box > div.warning {
    margin-bottom: 0;
}

main > form > .input-box > div > p {
    text-align: left;
    color: #777777;
    font-size: 14px;
}

main > form > .input-box > div.warning > p {
    color: #ff1e3e;
    font-weight: 700;
}

main > form > .input-box > div > .date-btn {
    position: absolute;
    right: 16px;
    top: 26px;
    width: 20px;
    height: 18px;
    border: none;
    background: url(../img/sw_m6_img0.png) no-repeat center;
    background-size: contain;
    cursor: pointer;
}

main > form > .input-box > div > .date-btn:hover,
main > form > .input-box > div > .date-btn:focus,
main > form > .input-box > div > .date-btn:active {
    background-image: url(../img/sw_m2_img4.png);
}

main > form > .input-box > div > input {
    display: block;
    width: 100%;
    margin-top: 5px;
    border: 1px solid #aaaaaa;
    border-radius: 5px;
    padding: 10px 15px;
    box-sizing: border-box;
    font-size: 14px;
}

main > form > .input-box > div > button {
    display: block;
    width: 100%;
    height: 35px;
    margin-top: 5px;
    border: none;
    border-radius: 5px;
    box-sizing: border-box;
    background: #2c67de;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

main > form > .input-box > div > button.dis {
    background-color: #323949;
    cursor: not-allowed;
    pointer-events: none;
}

main > form > .input-box > div > button.dis::after {
    content: '메일을 확인해 주세요';
}

main > form > .input-box > div.warning > input {
    border: 2px solid #ff1e3e;
}

main > form > .input-box > div > div {
    padding: 3px 10px;
    text-align: left;
}

main > form > .input-box > div > div > span {
    display: none;
    color: #ff1e3e;
    font-size: 14px;
}

main > form > .input-box > div.warning > div > span {
    display: block;
}

main > form > .submit-box {
    margin-top: 10px;
}

main > form > .submit-box > button {
    display: block;
    width: 100%;
    height: 40px;
    border: none;
    border-radius: 5px;
    box-sizing: border-box;
    background: #2c67de;
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}

main > form > .submit-box > p {
    margin: 0 auto;
    margin-top: 15px;
    color: #777777;
    text-align: center;
    font-size: 14px;
}

/* 달력 */
main > form > .date-box {
    position: absolute;
    right: 100px;
    top: 400px;
    padding: 5px;
    color: #8d94a4;
    cursor: pointer;
    z-index: 10;
}

main > form > .date-box > span {
    vertical-align: middle;
}

main > form > .date-box > button {
    display: inline-block;
    vertical-align: middle;
    width: 20px;
    height: 17px;
    margin-left: 10px;
    border: none;
    background: url(../img/sw_m3_img0.png) no-repeat center;
    background-size: contain;
    cursor: pointer;
}

main > form > .date-box > .date-popup {
    position: absolute;
    right: 0;
    top: 100%;
    width: 300px;
    border: 1px solid #000000;
    background: #ffffff;
    cursor: default;
    font-size: 0;
}

main > form > .date-box > .date-popup > .title-box {
    position: relative;
    padding: 10px 15px;
    border-bottom: 1px solid #ededed;
}

main > form > .date-box > .date-popup > .title-box > span {
    font-size: 14px;
    font-weight: 700;
}

main > form > .date-box > .date-popup > .title-box > select {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    height: 100%;
    border: none;
    padding: 0 5px;
    box-sizing: border-box;
    font-size: 14px;
    cursor: pointer;
}

main > form > .date-box > .date-popup > .title-box > .year-box {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    border: 1px solid #dddddd;
    border-radius: 10px;
    padding: 1px 10px;
    background: #ffffff;
    text-align: right;
}

main > form > .date-box > .date-popup > .title-box > .year-box > input,
main > form > .date-box > .date-popup > .title-box > .year-box > span,
main > form > .date-box > .date-popup > .title-box > .year-box > select {
    display: inline-block;
    vertical-align: middle;
    border: none;
    box-sizing: border-box;
    font-size: 12px;
}

main > form > .date-box > .date-popup > .title-box > .year-box > span {}

main > form > .date-box > .date-popup > .date-box {
    padding: 10px;
}

main > form > .date-box > .date-popup > .date-box > .week-box {
    margin-top: 10px;
}

main > form > .date-box > .date-popup > .date-box > .week-box > span {
    display: inline-block;
    width: calc(99.999% / 7);
    height: 25px;
    color: #222222;
    text-align: center;
    font-size: 13px;
}

main > form > .date-box > .date-popup > .date-box > .day-box {
    text-align: left;
    white-space: normal;
}

main > form > .date-box > .date-popup > .date-box > .day-box > div {
    position: relative;
    display: inline-block;
    width: calc(99.999% / 7);
    margin: 4px 0;
    text-align: center;
    box-sizing: border-box;
}

main > form > .date-box > .date-popup > .date-box > .day-box > div.active {
    cursor: pointer;
}

main > form > .date-box > .date-popup > .date-box > .day-box > div.selected {}

main > form > .date-box > .date-popup > .date-box > .day-box > div > span {
    position: relative;
    display: inline-block;
    width: 1.8em;
    height: 1.8em;
    border-radius: 3em;
    color: #dddddd;
    font-size: 13px;
    line-height: 1.8em;
}

main > form > .date-box > .date-popup > .date-box > .day-box > div:hover > span {
    font-weight: 700;
}

main > form > .date-box > .date-popup > .date-box > .day-box > div.active > span {
    color: #222222;
}

main > form > .date-box > .date-popup > .date-box > .day-box > div.active:nth-of-type(7n) > span {
    color: blue;
}

main > form > .date-box > .date-popup > .date-box > .day-box > div.active:nth-of-type(7n+1) > span {
    color: crimson;
}

main > form > .date-box > .date-popup > .date-box > .day-box > div.active:hover > span,
main > form > .date-box > .date-popup > .date-box > .day-box > div.active:active > span {
    background-color: #79d009;
    color: #ffffff;
}

main > form > .date-box > .date-popup > .date-box > .day-box > div.scheduled > span::after {
    content: '';
    position: absolute;
    left: 3px;
    right: 3px;
    bottom: 0;
    border-bottom: 2px solid #00a651;
    z-index: 1;
}