.sd-login-page,
.sd-order-page {
    min-height: 100vh;
    color: #1f2937;
    background: #eef3f7;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", Arial, sans-serif;
}

.sd-login-page.signin {
    background: linear-gradient(135deg, #0f5f86 0%, #eef3f7 48%, #f7fafc 100%);
}

.sd-login-shell {
    width: min(1080px, calc(100% - 32px));
    min-height: 100vh;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 32px 0;
}

.sd-login-title {
    margin: 0 0 22px;
    color: #ffffff;
    font-size: 30px;
    font-weight: 700;
    text-align: center;
    letter-spacing: 0;
}

.sd-login-panel {
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, .85fr);
    background: #ffffff;
    border: 1px solid rgba(15, 95, 134, .12);
    border-radius: 8px;
    box-shadow: 0 16px 42px rgba(15, 54, 82, .18);
}

.sd-login-info {
    padding: 38px 42px;
    background: #f6fafc;
    border-right: 1px solid #e5edf2;
}

.sd-login-info h4 {
    margin: 0 0 22px;
    color: #0f4667;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0;
}

.sd-login-info ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.sd-login-info li {
    display: flex;
    gap: 10px;
    margin-bottom: 14px;
    color: #455a69;
    font-size: 15px;
    line-height: 1.75;
}

.sd-login-info i {
    flex: 0 0 auto;
    margin-top: 6px;
    color: #1677a8;
}

.sd-login-form {
    padding: 36px 34px;
}

.sd-login-form h4 {
    margin: 0 0 8px;
    color: #17364d;
    font-size: 22px;
    font-weight: 700;
}

.sd-login-form .form-control {
    height: 44px;
    margin-top: 14px;
    border: 1px solid #d7e0e7;
    border-radius: 6px;
    box-shadow: none;
    color: #243746;
    background-color: #fbfdff;
}

.sd-login-form .form-control:focus {
    border-color: #1682b5;
    box-shadow: 0 0 0 3px rgba(22, 130, 181, .12);
}

.sd-login-form .code-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 124px;
    gap: 12px;
    margin-top: 14px;
}

.sd-login-form .code-row .form-control {
    margin-top: 0;
}

.sd-login-form .imgcode {
    width: 100%;
    height: 44px;
    object-fit: cover;
    border: 1px solid #d7e0e7;
    border-radius: 6px;
    background: #ffffff;
}

.sd-login-form .btn {
    height: 44px;
    margin-top: 18px;
    border: 0;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    background: #1682b5;
    box-shadow: 0 8px 18px rgba(22, 130, 181, .22);
}

.sd-login-form .btn:hover,
.sd-login-form .btn:focus {
    background: #0f6f9f;
}

.sd-login-footer {
    margin-top: 18px;
    color: rgba(255, 255, 255, .9);
    font-size: 13px;
    text-align: center;
}

.sd-app-header {
    margin: 0;
    padding: 0 24px;
    border: 0;
    background: #ffffff;
    box-shadow: 0 1px 8px rgba(15, 54, 82, .08);
}

.sd-app-nav {
    min-height: 62px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.sd-app-title {
    color: #17364d;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.35;
}

.sd-app-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.sd-app-actions a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 34px;
    padding: 6px 10px;
    border-radius: 6px;
    color: #37566a;
}

.sd-app-actions a:hover,
.sd-app-actions a:focus {
    color: #0f6f9f;
    background: #eef7fb;
}

.sd-order-content {
    padding: 18px 20px 64px;
}

.sd-table-panel {
    padding: 16px;
    background: #ffffff;
    border: 1px solid #e2eaf0;
    border-radius: 8px;
    box-shadow: 0 10px 26px rgba(31, 50, 65, .06);
}

.sd-order-page .fixed-table-container {
    border: 1px solid #e0e8ef;
    border-radius: 6px;
}

.sd-order-page .bootstrap-table .table {
    margin-bottom: 0 !important;
}

.sd-order-page .bootstrap-table .table,
.sd-order-page .bootstrap-table .table > thead > tr > th,
.sd-order-page .bootstrap-table .table > tbody > tr > td {
    white-space: nowrap;
}

.sd-order-page .bootstrap-table .table > thead > tr > th {
    background: #f4f8fb;
    color: #30485a;
    font-weight: 600;
    border-bottom: 1px solid #d8e3eb;
}

.sd-order-page .bootstrap-table .table-striped > tbody > tr:nth-of-type(odd) {
    background-color: #ffffff;
}

.sd-order-page .bootstrap-table .table-striped > tbody > tr:nth-of-type(even) {
    background-color: #f8fbfd;
}

.sd-order-page .bootstrap-table .table > tbody > tr:hover {
    background-color: #eef7fb;
}

.sd-download-btn {
    min-width: 70px;
    border: 0;
    border-radius: 5px;
    background: #1682b5;
}

.sd-download-btn:hover,
.sd-download-btn:focus {
    background: #0f6f9f;
}

.sd-footer {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 990;
    min-height: 44px;
    padding: 10px 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #c2410c;
    background: #fff7ed;
    border-top: 1px solid #fed7aa;
    box-shadow: 0 -1px 8px rgba(15, 54, 82, .08);
}

.sd-footer label {
    margin: 0;
    font-weight: 500;
}

@media (max-width: 768px) {
    .sd-login-page.signin {
        background: #eef3f7;
    }

    .sd-login-shell {
        width: 100%;
        min-height: 100vh;
        padding: 18px 14px;
    }

    .sd-login-title {
        margin-bottom: 14px;
        color: #17364d;
        font-size: 18px;
        line-height: 1.3;
        white-space: nowrap;
    }

    .sd-login-panel {
        grid-template-columns: 1fr;
        box-shadow: 0 10px 24px rgba(15, 54, 82, .12);
    }

    .sd-login-info {
        order: 2;
        padding: 22px 20px;
        border-right: 0;
        border-top: 1px solid #e5edf2;
    }

    .sd-login-info h4 {
        font-size: 19px;
    }

    .sd-login-info li {
        font-size: 14px;
        line-height: 1.65;
    }

    .sd-login-form {
        order: 1;
        padding: 24px 20px;
    }

    .sd-login-form .code-row {
        grid-template-columns: 1fr;
    }

    .sd-login-form .imgcode {
        width: 112px;
        justify-self: start;
        object-fit: contain;
    }

    .sd-login-footer {
        color: #627587;
    }

    .sd-app-header {
        padding: 10px 14px;
    }

    .sd-app-nav {
        min-height: auto;
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    .sd-app-title {
        font-size: 18px;
    }

    .sd-app-actions {
        width: 100%;
        justify-content: space-between;
    }

    .sd-order-content {
        padding: 12px 10px 96px;
    }

    .sd-table-panel {
        padding: 10px;
        border-radius: 6px;
    }

    .sd-order-page .fixed-table-body {
        overflow-x: auto;
    }

    .sd-footer {
        align-items: flex-start;
        z-index: 2050;
        min-height: 50px;
        padding: 9px 12px;
        text-align: center;
        line-height: 1.45;
    }
}

@media (max-width: 360px) {
    .sd-login-title {
        font-size: 16px;
    }
}
