* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Apple SD Gothic Neo', 'Noto Sans KR', sans-serif;
}

h1 {
    font-size: 24px;
    margin-bottom: 24px;
    text-align: center;
    color: #333;
}

.form-group {
    margin-bottom: 16px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 14px;
    color: #495057;
}

.settlement-input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ced4da;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.2s;
}

    .settlement-input:focus {
        border-color: #4dabf7;
        outline: none;
    }

.settlement-button {
    width: 100%;
    padding: 14px;
    background-color: #222;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
    margin-top: 16px;
}

    .settlement-button:hover {
        background-color: #444;
    }

.download-btn {
    background-color: #222;
    position: fixed;
    bottom: 40px;
    left: 40px;
    width: auto;
    padding: 12px 20px;
    border-radius: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 100;
}

    .download-btn:hover {
        background-color: #444;
    }

    .download-btn i {
        margin-right: 8px;
    }
.rider-settlement-report-modal {
    padding: 20px;
    border-radius: 12px;
    max-width: 80vw;
    max-height: 90vh;
}
.amount-positive {
    color: #28a745; /* 녹색 */
}

.amount-negative {
    color: #dc3545; /* 빨간색 */
}

.amount-deduction {
    color: #dc3545; /* 빨간색 - 차감 항목용 */
}

.amount-promotion {
    color: #28a745; /* 녹색 - 프로모션용 */
}
@media (max-width: 768px) {
    .rider-settlement-report-modal {
        width: 100%;
        height: 100%;
        overflow-y: hidden;
        border-radius: 0;
        max-width:100vw;
        max-height:100vh;
    }

    .download-btn {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0;
    }

        .download-btn span {
            display: none;
        }

        .download-btn i {
            margin-right: 0;
            font-size: 20px;
        }
}

.settlement {
    display: none;
    background-color: #fff;
    border-radius: 8px;
    padding: 24px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    /* 종이 정산서 느낌 추가 */
    border: 1px solid #e0e0e0;
    background-image: linear-gradient(#f9f9f9 1px, transparent 1px);
    background-size: 100% 28px;
}

.settlement-header {
    text-align: center;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 2px dotted #ccc;
    display:flex;
    justify-content:space-between;
    align-items:end;
}

.settlement-date {
    font-size: 14px;
    color: #495057;
    margin-bottom: 8px;
}

.settlement-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.services-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 24px;
}

.settlement-section {
    flex: 1;
    min-width: 300px;
    padding: 16px;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    background-color: #fcfcfc;
}

.settlement-section-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
    padding-left: 8px;
    border-left: 4px solid #228be6;
}

.settlement-subsection {
    margin-bottom: 16px;
}

    .settlement-subsection h4 {
        margin-bottom: 10px;
        padding-bottom: 5px;
        border-bottom: 1px solid #e9ecef;
        color: #555;
        font-size: 14px;
    }

.settlement-detail {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 14px;
}

.settlement-total {
    display: flex;
    justify-content: space-between;
    margin-top: 16px;
    font-weight: 700;
    font-size: 16px;
}

.final-section {
    background-color: #f8f9fa;
    padding: 16px;
    border-radius: 8px;
    margin-top: 16px;
    position: relative;
}

.settlement-footer {
    text-align: center;
    margin-top: 32px;
    color: #495057;
    font-size: 14px;
    padding-top: 20px;
    border-top: 2px dotted #ccc;
}

.company-name {
    margin-top: 16px;
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 16px;
}

.error-message {
    color: #e03131;
    font-size: 14px;
    margin-top: 4px;
    display: none;
}


.stamp {
    position: absolute;
    right: 30px;
    top: 80px;
    width: 100px;
    height: 100px;
    border: 2px solid rgba(255, 0, 0, 0.5);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: rotate(-15deg);
    color: rgba(255, 0, 0, 0.7);
    font-weight: bold;
    font-size: 14px;
    opacity: 0.8;
}

@media (max-width: 768px) {
    .services-container {
        flex-direction: column;
    }

    .settlement-section {
        min-width: 100%;
    }
}




.login-area .cnt-in {
    max-width: 820px;
    margin: 0 auto;
    box-sizing: border-box;
    padding: 0 20px;
    height: 100%;
}
.login-area .cnt-in .login-box {
    border-radius: 12px;
    box-sizing: border-box;
    padding: 80px 130px 74px 130px;
    box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.08), 2px 2px 2px rgba(44, 43, 42, 0.1), inset 0px -14px 62px rgba(0, 0, 0, 0.03);
}
.login-area .cnt-in .login-box h1 {
    font-size: 32px;
    line-height: 32px;
}
.login-area .cnt-in .login-box p {
    font-size: 14px;
    line-height: 20px;
    margin-top: 28px;
}
.login-area .cnt-in .login-box .id-input {
    margin-top: 50px;
}
.login-area .cnt-in .login-box .password-input {
    margin-top: 8px;
}
.login-area .cnt-in .login-box .password-input .eye-ico {
    right: 20px;
}
.login-area .cnt-in .login-box .password-input .eye-ico img.on {
    display: none;
}
.login-area .cnt-in .login-box .password-input.error .eye-ico img {
    display: none;
}
.login-area .cnt-in .login-box .password-input.error .eye-ico img.on {
    display: block;
}
.login-area .cnt-in .login-box .check-text-box-area {
    margin-top: 12px;
}
.login-area .cnt-in .login-box .check-text-box-area .check-text-box-1 {
    margin-right: 36px;
}
.login-area .cnt-in .login-box .login-btn {
    margin-top: 40px;
}
.login-area .cnt-in .add-box {
    margin-top: 16px;
}
.login-area .cnt-in .add-box .logo-box {
    width: 180px;
}
.login-area .cnt-in .add-box .cs-center-box .text {
    font-size: 14px;
    line-height: 14px;
    margin-right: 16px;
}
.login-area .cnt-in .add-box .cs-center-box .call {
    font-size: 32px;
    line-height: 32px;
}
.login-area .cnt-in .copyright {
    font-size: 10px;
    line-height: 12px;
    bottom: 56px;
}
.bottom-btnwrap {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.bottom-btnwrap button {
    height: 44px;
    border-radius: 8px;

}
/* ------------------------------------------------------------------------------- */

/* ~920 */
@media (max-width:920px) {
    /* 로그인 영역 */
    .login-area .cnt-in {
        max-width: 640px;
    }
    .login-area .cnt-in .login-box {
        padding: 80px 40px 74px 40px;
    }
    .login-area .cnt-in .add-box .logo-box {
        width: 140px;
    }
    .login-area .cnt-in .add-box .cs-center-box .text {
        margin-right: 12px;
    }
    .login-area .cnt-in .add-box .cs-center-box .call {
        font-size: 28px;
        line-height: 28px;
    }
}
/* //~920 */

/* ------------------------------------------------------------------------------- */

/* ~680 */
@media (max-width:680px) {
    /* 로그인 영역 */
    .login-area .cnt-in .login-box {
        padding: 60px 30px 40px 30px;
        border-radius: 0px;
        height: 100%;
        width: 100%;
        box-shadow: none;
    }
    .login-area .cnt-in .login-box h1 {
        font-size: 24px;
        line-height: 24px;
    }
    .login-area .cnt-in .login-box .id-input {
        margin-top: 40px;
    }
    .login-area .cnt-in .add-box .logo-box {
        width: 140px;
    }
    .login-area .cnt-in .add-box .cs-center-box .text {
        font-size: 12px;
        line-height: 12px;
    }
    .login-area .cnt-in .add-box .cs-center-box .call {
        font-size: 20px;
        line-height: 20px;
    }
    .login-area .cnt-in .copyright {
        font-size: 10px;
        line-height: 10px;
        bottom: 20px;
    }
    .login-area .cnt-in {
        max-width: 100%;
        padding: 0;
        margin: 0;
        height: 100%;
    }
}
/* //~680 */