html, body {
    font-family: Verdana, Tahoma, Arial, "Helvetica Neue", Helvetica, sans-serif;
    font-size: 13px;
    background: #fff;
    margin: 0;
    padding: 0;
    color: #000;
}

.public-navbar {
    background: #fff;
    border-bottom: 1px solid #e5e5e5;
    display: flex;
    align-items: center;
    gap: 26px;
    height: 100px;
    left: 0;
    padding: 0 calc((100% - 1170px) / 2);
    position: fixed;
    right: 0;
    top: 0;
    z-index: 1000;
}

.auth-topbar {
    background: #fff;
    border-bottom: 2px solid #3f69b1;
    padding: 12px 60px;
    display: flex;
    align-items: center;
    gap: 24px;
}

.public-logo img {
    height: 100px;
    display: block;
}

.auth-logo img {
    height: 72px;
}

.public-links {
    display: flex;
    gap: 0;
    align-items: stretch;
    min-height: 100px;
}

.public-link {
    color: #31447e;
    font-weight: 700;
    text-decoration: none;
    font-size: 16px;
    padding: 42px 40px 0 0;
}

.public-link:hover {
    color: #0000ff;
}

.auth-tab {
    color: #31447e;
    font-weight: 700;
    text-decoration: none;
    font-size: 16px;
}

.body-content {
    box-sizing: border-box;
    margin: 100px auto 0;
    max-width: 1170px;
    padding: 0 15px;
}

.auth-topbar {
    justify-content: space-between;
}

.auth-account {
    align-items: center;
    display: flex;
    gap: 28px;
    text-align: right;
}

.auth-balance {
    font-size: 15px;
}

.auth-tabs {
    background: #e5edf9;
    border-bottom: 1px solid #7ea1d5;
    padding: 4px 12px;
}

.auth-tab {
    display: inline-block;
    background: #d2dfef;
    border: 1px solid #7694c2;
    padding: 4px 10px;
    margin-right: 4px;
}

.auth-content {
    padding: 12px;
}

.mainContent {
    background: url('/Content/images/background.jpg') no-repeat center center;
    background-size: cover;
    padding: 319px 40px 0 450px;
    height: 548px;
    box-sizing: border-box;
}

.introduction, .block {
    background: #f0f0f0;
    padding: 10px;
}

.introduction h2 {
    margin: 0;
    padding: 20px;
}

.introduction ul {
    margin-top: 0;
    padding: 0 20px 15px 55px;
}

h1, h2, h3, .dashboard-title, .login-title {
    color: #3a4981;
}

p, ul {
    line-height: 1.6em;
    margin-bottom: 20px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin-left: -15px;
    margin-right: -15px;
}

.col-md-4 {
    width: 33.333%;
    box-sizing: border-box;
    padding: 20px;
}

.block {
    min-height: 155px;
}

.block h3 {
    margin-top: 0;
}

.login-page {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60vh;
}

.login-card {
    width: 380px;
    padding: 32px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
}

.form-control {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.form-group {
    margin-bottom: 14px;
}

.btn {
    display: inline-block;
    padding: 7px 12px;
    border: 1px solid #999;
    border-radius: 4px;
    background: #eee;
    color: #222;
    text-decoration: none;
    cursor: pointer;
}

.btn-primary {
    background: #3a4981;
    border-color: #3a4981;
    color: #fff;
}

.btn-disabled {
    color: #777;
    pointer-events: none;
    opacity: 0.55;
}

.btn-login {
    width: 100%;
}

.table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}

.table th, .table td {
    border: 1px solid #ddd;
    padding: 6px 8px;
}

.dashboard-empty, .alert {
    padding: 16px;
    background: #f8f9fa;
    border: 1px solid #ddd;
}

.error-log-text {
    margin: 0;
    max-width: 760px;
    overflow: auto;
    white-space: pre-wrap;
    word-break: break-word;
}

.alert-danger {
    background: #f8d7da;
}

.alert-success {
    background: #d1e7dd;
}

.captcha-history-image {
    max-width: 120px;
    max-height: 42px;
}

.payment-transfer-image {
    max-width: 100%;
}

.payment-options {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.payment-option {
    border: 1px solid #ddd;
    padding: 12px;
}

.payment-option h3 {
    margin-top: 0;
}

.pager {
    align-items: center;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 12px;
}

.pager-links {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    justify-content: flex-end;
}

.pager-gap {
    align-self: center;
    padding: 0 4px;
}

.dashboard-chart {
    margin-top: 18px;
    max-width: 720px;
}

.dashboard-chart svg {
    display: block;
    height: auto;
    width: 100%;
}

.chart-axis {
    stroke: #555;
    stroke-width: 1;
}

.chart-grid {
    stroke: #d0d0d0;
    stroke-width: 1;
}

.chart-line {
    fill: none;
    stroke: #2568a8;
    stroke-width: 3;
}

.chart-point {
    fill: #0f5fa8;
}

.chart-label,
.chart-date {
    fill: #333;
    font-size: 12px;
}

.chart-date {
    text-anchor: middle;
}

.chart-title {
    fill: #555;
    font-size: 16px;
    font-weight: 700;
    text-anchor: middle;
}

@media (max-width: 991px) {
    .public-navbar {
        height: auto;
        padding: 12px 15px;
        position: static;
        flex-wrap: wrap;
    }

    .public-logo img {
        height: 72px;
    }

    .public-links {
        min-height: 0;
        flex-wrap: wrap;
        gap: 18px;
    }

    .public-link {
        padding: 0;
    }

    .body-content {
        margin-top: 0;
    }

    .mainContent {
        background-position: center top;
        height: auto;
        min-height: 0;
        padding: 20px 15px;
    }

    .introduction {
        margin-top: 0;
    }

    .introduction h2 {
        padding: 10px 15px;
    }

    .introduction ul {
        padding: 0 15px 10px 35px;
    }

    .row {
        margin-left: 0;
        margin-right: 0;
    }

    .col-md-4 {
        padding: 10px 5px;
        height: auto;
    }

    .col-md-4 {
        width: 100%;
    }
}
