.gearing-cost-container {
    padding: 20px;
    color: var(--text-primary);
}

.module-header {
    margin-bottom: 24px;
}

.module-title {
    font-size: 24px;
    color: var(--text-gold);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.module-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.cost-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.summary-card {
    background: var(--bg-surface);
    border: 1px solid rgba(212, 168, 83, 0.1);
    padding: 20px;
    border-radius: 12px;
    text-align: center;
}

.summary-label {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.summary-value {
    font-size: 28px;
    font-weight: bold;
    color: var(--text-gold);
}

.action-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.btn-add {
    background: linear-gradient(135deg, #d4a853, #b8860b);
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-add:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 168, 83, 0.3);
}

.cost-list {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-surface);
    border-radius: 12px;
    overflow: hidden;
}

.cost-list th, .cost-list td {
    padding: 14px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.cost-list th {
    background: rgba(212, 168, 83, 0.1);
    color: var(--text-gold);
    font-weight: 600;
}

.cost-list tr:hover {
    background: rgba(255, 255, 255, 0.02);
}

.type-badge {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    background: rgba(212, 168, 83, 0.15);
    color: var(--text-gold);
}

.price-val {
    color: #ff4d4f;
    font-weight: 600;
}

.btn-edit, .btn-delete {
    padding: 4px 8px;
    margin-right: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: transparent;
    color: var(--text-secondary);
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
}

.btn-edit:hover {
    border-color: var(--text-gold);
    color: var(--text-gold);
}

.btn-delete:hover {
    border-color: #ff4d4f;
    color: #ff4d4f;
}

/* 弹窗样式 */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal-content {
    background: var(--bg-surface);
    padding: 24px;
    border-radius: 16px;
    width: 400px;
    border: 1px solid rgba(212, 168, 83, 0.2);
}

.modal-title {
    font-size: 18px;
    color: var(--text-gold);
    margin-bottom: 20px;
}

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

.form-label {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.form-input, .form-select, .form-textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 10px;
    color: #fff;
}

.modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 24px;
}

.btn-cancel {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
}

.empty-state {
    text-align: center;
    padding: 40px;
    color: var(--text-muted);
}

.login-tip {
    background: rgba(212, 168, 83, 0.1);
    border: 1px dashed var(--text-gold);
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 24px;
}

.login-link {
    color: var(--text-gold);
    cursor: pointer;
    text-decoration: underline;
}
