/* ȫ����ʽ */
body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    display: flex;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background-attachment: fixed;
    min-height: 100vh;
}

/* �������??*/
.sidebar {
    width: 250px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: none;
    padding: 20px 0;
    height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.sidebar .system-name {
    padding: 0 20px 20px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 20px;
}

.sidebar .system-name h1 {
    color: #2d3748;
    font-size: 28px;
    margin: 0;
    padding: 0;
}

.sidebar .system-name p {
    color: #4a5568;
    margin: 5px 0 0 0;
}

.sidebar a {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    color: #4a5568;
    text-decoration: none;
    transition: all 0.3s;
    margin: 5px 15px;
    border-radius: 8px;
}

.sidebar a:hover {
    background: linear-gradient(to right, #667eea, #764ba2);
    color: white;
    transform: translateX(5px);
}

.sidebar a.active {
    background: linear-gradient(to right, #667eea, #764ba2);
    color: white;
}

.sidebar a i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

/* ��������??*/
.main-content, .section-content {
    flex: 1;
    margin-left: 250px;
    padding: 20px 30px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: none;
}

/* ͷ������ */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: none;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    margin-bottom: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header h1 {
    margin: 0;
    font-size: 24px;
    color: #2d3748;
}

.user-info a {
    padding: 10px 20px;
    background: linear-gradient(to right, #667eea, #764ba2);
    color: white;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s;
    font-weight: 500;
}

.user-info a:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

/* ������ʽ�Ż� */
.table-container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: none;
    border-radius: 15px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    overflow: hidden;
    margin-bottom: 25px;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

th {
    background: white;
    color: #2d3748;
    padding: 15px 20px;
    font-weight: 600;
    border-bottom: 2px solid #e2e8f0;
    text-align: left;
}

td {
    padding: 15px 20px;
    color: #4a5568;
    border-bottom: 1px solid #e2e8f0;
    border-right: 1px solid #e2e8f0;
}

td:last-child {
    border-right: none;
}

tbody tr:hover {
    background: #f8fafc;
}

/* ???????????? */
.table-container .data-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 760px;
}

.data-table thead {
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
}

.data-table thead th {
    padding: 16px 20px;
    font-weight: 600;
    letter-spacing: 0.3px;
    border-bottom: none;
}

.data-table tbody tr {
    border-bottom: 1px solid #edf2f7;
    transition: background 0.2s ease, transform 0.2s ease;
}

.data-table tbody tr:last-child {
    border-bottom: none;
}

.data-table tbody tr:hover {
    background: rgba(102, 126, 234, 0.08);
    transform: translateY(-1px);
}

.data-table tbody td {
    padding: 14px 20px;
    font-size: 14px;
    color: #2d3748;
    vertical-align: middle;
}

.data-table tbody td:first-child {
    font-weight: 600;
}

.cell-main {
    font-weight: 600;
    color: #2d3748;
}

.cell-sub {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    color: #718096;
}

.pill {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.3px;
    background: rgba(113, 128, 150, 0.18);
    color: #4a5568;
}

.pill-default {
    background: rgba(102, 126, 234, 0.12);
    color: #4c51bf;
}

.pill-amount {
    background: rgba(72, 187, 120, 0.2);
    color: #2f855a;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.3px;
    background: rgba(113, 128, 150, 0.18);
    color: #4a5568;
}

.status-success {
    background: rgba(72, 187, 120, 0.18);
    color: #2f855a;
}

.status-warning {
    background: rgba(237, 137, 54, 0.18);
    color: #c05621;
}

.status-danger {
    background: rgba(229, 62, 62, 0.18);
    color: #c53030;
}

.status-info {
    background: rgba(66, 153, 225, 0.18);
    color: #3182ce;
}

@media (max-width: 768px) {
    .table-container .data-table {
        min-width: 100%;
    }

    .data-table thead {
        display: none;
    }

    .data-table tbody tr {
        display: block;
        margin-bottom: 12px;
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.85);
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    }

    .data-table tbody td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 12px 16px;
        border-bottom: 1px solid #edf2f7;
    }

    .data-table tbody td:last-child {
        border-bottom: none;
    }

    .data-table tbody td::before {
        content: attr(data-label);
        font-weight: 600;
        color: #718096;
        margin-right: 16px;
    }
}

/* ��Ƭ�����Ż� */
.main-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 25px;
}

.left-column {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.cards-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

/* ��Ƭ������ʽ */
.card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    overflow: hidden;
    transition: transform 0.3s ease;
    position: relative;
}

.card:hover {
    transform: translateY(-5px);
}

/* ͳһ���п�Ƭ�ı�������??*/
.card .card-header {
    position: static;
    padding: 20px 25px;
    border-bottom: 1px solid #e2e8f0;
    background: white;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card .card-header .left-part {
    display: flex;
    align-items: center;
}

.card .card-header .left-part i {
    margin-right: 12px;
    color: #667eea;
    font-size: 18px;
}

.card .card-header .left-part h3 {
    margin: 0;
    font-size: 18px;
    color: #2d3748;
    font-weight: 600;
}

/* ͳһ��Ƭ����������ڱ߾� */
.card .card-body {
    padding: 15px 25px;
}

/* �Ƴ�֮ǰ���ض��ڱ߾���ʽ */
.card-reward .card-body,
.card-contribution .card-body,
.promo-card .card-body {
    padding-top: 25px;
}

/* ���㿨Ƭ������ʽ */
.card-settlement .card-header {
    position: static;
    padding: 20px 25px;
    border-bottom: 1px solid #e2e8f0;
    background: white;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-settlement .card-header .left-part {
    display: flex;
    align-items: center;
}

.card-settlement .card-header .left-part i {
    margin-right: 12px;
    color: #667eea;
    font-size: 18px;
}

.card-settlement .card-header .left-part h3 {
    margin: 0;
    font-size: 18px;
    color: #2d3748;
    font-weight: 600;
}

/* ������㰴ť��ʽ */
.btn-primary.settlement-btn {
    padding: 10px 20px;
    background: linear-gradient(to right, #667eea, #764ba2);
    color: white;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s;
    font-weight: 500;
    border: none;
    cursor: pointer;
}

.btn-primary.settlement-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

/* ���㿨Ƭ����������� */
.card-settlement .card-body {
    padding: 25px;
}

.settlement-feedback {
    margin-bottom: 12px;
    font-size: 14px;
    color: #4a5568;
    min-height: 18px;
}

.settlement-feedback.is-success {
    color: #2f855a;
}

.settlement-feedback.is-error {
    color: #c53030;
}

/* ����������Ƭ�����ݲ��� */
.card-reward .card-body,
.card-contribution .card-body {
    padding: 15px 25px;
}

.promo-card .card-body {
    padding: 15px 25px;
    display: flex;
    flex-direction: column;
}

/* �ض���Ƭ��ʽ */
.card-settlement {
    position: relative;
    background: white;
}

.card-reward {
    background: white;
}

.card-contribution {
    background: white;
}

.promo-card {
    background: white;
    height: auto;
}

/* �ƹ���Ƭ��ʽ�Ż� */
.promo-code {
    background: #f8fafc;
    padding: 15px 25px; /* �޸�: �����ڱ߾���ƥ����࿨Ƭ */
    border-radius: 8px;
    margin-bottom: 20px;
}

.promo-code p {
    color: #4a5568;
    margin: 0 0 12px 0;
    font-size: 15px;
    font-weight: 500;
}

.code-display {
    background: white;
    padding: 15px 20px;
    border-radius: 8px;
    border: 2px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s;
}

.code-display:hover {
    border-color: #667eea;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.15);
}

.code-display span {
    font-family: 'Monaco', 'Consolas', monospace;
    font-size: 22px;
    font-weight: 600;
    color: #2d3748;
    letter-spacing: 2px;
}

.btn-copy {
    background: none;
    border: none;
    color: #667eea;
    cursor: pointer;
    padding: 8px 12px;
    transition: all 0.3s;
    border-radius: 6px;
    display: flex;
    align-items: center;
}

.btn-copy i {
    font-size: 16px;
}

.btn-copy:hover {
    background: #f7fafc;
    color: #764ba2;
}

.promo-details-container {
    display: flex; /* ����: ʹ�� flex ���� */
    gap: 20px; /* ����: ������Ԫ��֮��ļ�� */
}

.promo-details {
    background: #f8fafc;
    padding: 15px 25px;
    border-radius: 8px;
    margin-bottom: 20px;
    flex: 1; /* ����: ʹÿ??promo-details ռ����ͬ�Ŀ�??*/
}

.promo-details p {
    color: #4a5568;
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
}

/* �һ���ť���� */
.promo-exchange .btn-primary {
    padding: 10px 20px;
    font-size: 15px;
    background: linear-gradient(to right, #667eea, #764ba2);
    color: white;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s;
    cursor: pointer;
}

.promo-exchange .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

/* ����������ʽ */
.search-container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: none;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    margin-bottom: 25px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.search-item input,
.search-item select {
    padding: 10px 15px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    transition: all 0.3s;
}

.search-item input:focus,
.search-item select:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* ������ť��ʽ */
.search-container button {
    padding: 10px 20px;
    background: linear-gradient(to right, #667eea, #764ba2);
    color: white;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s;
    font-weight: 500;
    cursor: pointer;
}

.search-container button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

/* ��ҳ��ʽ */
.pagination {
    display: flex;
    justify-content: center;
    padding: 20px;
    gap: 10px;
}

.pagination button {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    color: #2d3748;
    font-weight: 500;
}

.pagination button:hover {
    background: linear-gradient(to right, #667eea, #764ba2);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.pagination button.active {
    background: linear-gradient(to right, #667eea, #764ba2);
    color: white;
}

/* ��Ӧʽ�����Ż� */
@media (max-width: 1200px) {
    .main-layout {
        grid-template-columns: 1fr;
    }
    
    .right-column {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .cards-container {
        grid-template-columns: 1fr;
    }
    
    .main-content, .section-content {
        margin-left: 200px;
        padding: 15px;
    }
}

/* ������Ƭ���ݵļ�??*/
.card-reward .card-body p,
.card-contribution .card-body p {
    margin: 5px 0;
}

.card-reward .card-body p:first-child,
.card-contribution .card-body p:first-child {
    margin-top: 0;
}

.card-reward .card-body p:last-child,
.card-contribution .card-body p:last-child {
    margin-bottom: 0;
}

/* �����Ҳ��ƹ���Ƭ */
.right-column {
    display: flex;
    flex-direction: column;
}

.promo-card {
    height: 100%;
}

/* ������࿨Ƭ���� */
.left-column {
    display: flex;
    flex-direction: column;
}

.promo-info h4 {
    margin-bottom: 5px; /* �޸�: ���� h4 ??p ֮��ļ�??*/
}

.promo-info p {
    margin-top: 5px; /* �޸�: ���� h4 ??p ֮��ļ�??*/
}

/* ͼ�������ʽ */
.chart-container {
    width: 100%;
    height: 320px;
    padding: 24px;
    margin-bottom: 30px;
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 20px 45px rgba(118, 75, 162, 0.15);
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
    backdrop-filter: none;
    display: flex;
    flex-direction: column;
}

.chart-title {
    position: relative;
    z-index: 1;
    margin-bottom: 16px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: #2d3748;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    text-align: center;
}

.chart-title::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    margin-right: 10px;
    box-shadow: 0 0 8px rgba(102, 126, 234, 0.45);
}

.chart-container::after {
    content: '';
    position: absolute;
    inset: 0;
    background: none;
    pointer-events: none;
}

.chart-container canvas {
    display: block;
    width: 100% !important;
    height: 100%;
    max-height: 100%;
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {
    .chart-container {
        height: 260px;
        padding: 20px;
    }

    .chart-title {
        font-size: 15px;
        margin-bottom: 12px;
    }
}

/* Modal styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.55);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
    z-index: 9999;
    padding: 20px;
    box-sizing: border-box;
}

.modal-overlay.is-visible {
    opacity: 1;
    visibility: visible;
}

.modal-dialog {
    width: 100%;
    max-width: 420px;
    background: rgba(255, 255, 255, 0.98);
    border-radius: 16px;
    box-shadow: 0 25px 55px rgba(79, 70, 229, 0.25);
    overflow: hidden;
    transform: translateY(20px);
    transition: transform 0.25s ease;
    position: relative;
}

.modal-overlay.is-visible .modal-dialog {
    transform: translateY(0);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 22px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #ffffff;
}

.modal-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.modal-close {
    border: none;
    background: transparent;
    color: #ffffff;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    padding: 4px;
}

.modal-body {
    padding: 24px;
    color: #2d3748;
    font-size: 14px;
    line-height: 1.6;
}

.modal-pending {
    margin-top: 16px;
    padding: 12px 14px;
    background: rgba(102, 126, 234, 0.08);
    border-radius: 10px;
    font-size: 14px;
    color: #4a5568;
    line-height: 1.6;
    display: none;
}

.modal-pending.is-visible {
    display: block;
}

.modal-pending-label {
    font-weight: 600;
    margin-right: 6px;
}

.modal-actions {
    margin-top: 24px;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

body.modal-open {
    overflow: hidden;
}

.modal-form {
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.modal-form label {
    font-weight: 600;
    color: #4a5568;
}

.modal-form input {
    padding: 12px 14px;
    border: 1px solid #cbd5e0;
    border-radius: 10px;
    font-size: 14px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.modal-form input:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.25);
    outline: none;
}

.modal-feedback {
    min-height: 18px;
    font-size: 13px;
    color: #e53e3e;
}

.modal-feedback.is-error {
    color: #e53e3e;
}

.modal-feedback.is-success {
    color: #2f855a;
}

.btn-primary {
    padding: 10px 22px;
    border-radius: 10px;
    border: none;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #ffffff;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(102, 126, 234, 0.25);
}

.btn-primary:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    box-shadow: none;
}

.btn-secondary {
    padding: 10px 22px;
    border-radius: 10px;
    border: none;
    background: #e2e8f0;
    color: #1a202c;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.btn-secondary:hover {
    background: #cbd5e0;
    transform: translateY(-1px);
}

@media (max-width: 480px) {
    .modal-dialog {
        max-width: 360px;
    }

    .modal-body {
        padding: 20px;
    }
}

/* �û���section��ʽ */
.section-content {
    max-width: 100%;
    padding: 20px;
    box-sizing: border-box;
    overflow-x: hidden;
}

/* ����������ʽ */
.search-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 30px 0 20px 0;
    max-width: 100%;
    box-sizing: border-box;
}

/* ����������ʽ */
.table-container {
    width: 100%;
    overflow-x: auto;
    margin-top: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* ������ʽ */
.table-container table {
    width: 100%;
    border-collapse: collapse;
    min-width: 800px;
}

/* ��ҳ������ʽ */
.pagination {
    display: flex;
    gap: 5px;
    justify-content: center;
    margin-top: 20px;
    flex-wrap: wrap;
}

/* ��������??*/
.search-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ͳ�ƿ�Ƭ������ʽ */
.stats-container {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    flex: 1;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.stat-title {
    color: #4a5568;
    font-size: 14px;
    margin-bottom: 8px;
}

.stat-value {
    color: #2d3748;
    font-size: 24px;
    font-weight: bold;
}

/* ��Ӧʽ��??*/
@media screen and (max-width: 768px) {
    .search-container {
        flex-direction: column;
    }
    
    .search-item {
        width: 100%;
    }
}
/* Login page layout */
body.login-page {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    box-sizing: border-box;
}

body.login-page .system-name {
    text-align: center;
    color: #ffffff;
    margin-bottom: 40px;
}

body.login-page .system-name h1 {
    font-size: 42px;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

body.login-page .system-name p {
    margin: 0;
    color: rgba(255, 255, 255, 0.85);
}

body.login-page .login-container {
    width: 100%;
    max-width: 420px;
    padding: 40px 36px;
    background: rgba(255, 255, 255, 0.96);
    border-radius: 18px;
    box-shadow: 0 20px 45px rgba(31, 41, 55, 0.25);
    box-sizing: border-box;
}

body.login-page .form-group {
    margin-bottom: 22px;
}

body.login-page label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2d3748;
}

body.login-page input[type="text"],
body.login-page input[type="tel"],
body.login-page input[type="password"] {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #cbd5e0;
    border-radius: 10px;
    font-size: 15px;
    background: #f7fafc;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
}

body.login-page input[type="text"]:focus,
body.login-page input[type="tel"]:focus,
body.login-page input[type="password"]:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.25);
    outline: none;
    background: #ffffff;
}

body.login-page .code-btn {
    padding: 12px 16px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

body.login-page .code-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.35);
}

body.login-page .code-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

body.login-page .login-btn {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

body.login-page .login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(102, 126, 234, 0.35);
}

body.login-page .login-btn:active {
    transform: translateY(0);
    box-shadow: 0 6px 14px rgba(102, 126, 234, 0.30);
}

body.login-page .error-message {
    margin-top: 15px;
    margin-bottom: 15px;
    padding: 12px 14px;
    border-radius: 8px;
    background: rgba(229, 62, 62, 0.12);
    color: #c53030;
    font-size: 14px;
    line-height: 1.5;
    min-height: 0;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

body.login-page .error-message:empty {
    display: none;
}

body.login-page .error-message.show {
    opacity: 1;
    transform: translateY(0);
}

/* 验证码容器样式 - popup模式下不需要预留空间 */
body.login-page #nc-container {
    margin: 0;
    min-height: 0;
}

body.login-page .login-btn {
    margin-top: 10px;
}

body.login-page .login-tip {
    margin: 16px 0 0 0;
    text-align: center;
    font-size: 13px;
    color: #718096;
}

@media screen and (max-width: 480px) {
    body.login-page {
        padding: 40px 16px;
    }

    body.login-page .login-container {
        padding: 32px 24px;
    }
}
#inviteRequirementModal .modal-body {
    text-align: center;
}

#inviteRequirementModal .modal-actions {
    justify-content: center;
    padding: 0 24px 24px;
}

#inviteRequirementModal .modal-actions .btn-primary {
    min-width: 140px;
}

#settlementRequirementModal .modal-actions {
    justify-content: center;
    padding: 0 24px 24px;
}

#settlementRequirementModal .modal-actions .btn-primary {
    min-width: 140px;
}

#settlementModal .modal-actions {
    padding: 0 24px 24px;
}
