/*
Plugin Name: 28圈子担保交易系统
Plugin URI: https://www.baicaixq.vip
Description: 子比主题担保交易插件样式
Version: 1.0.0
Author: 28圈子
*/

/* 担保徽章样式 */
.badge-guarantee {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    color: #fff;
}

.badge-guarantee icon,
.badge-guarantee i {
    font-size: 12px;
}

/* 担保信息框 */
.guarantee-info {
    border: 1px solid #ffebe6;
    background: linear-gradient(135deg, #fff9f5 0%, #ffffff 100%);
}

.guarantee-info .badge-guarantee {
    font-size: 13px;
    padding: 4px 12px;
}

/* 遮盖层 */
.guarantee-cover {
    position: relative;
    min-height: 400px;
    overflow: hidden;
    border-radius: 12px;
}

.guarantee-blur {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.03);
    backdrop-filter: blur(8px);
    z-index: 10;
}

.guarantee-cover-content {
    position: relative;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

/* 担保任务小工具样式 */
.guarantee-widget-content {
    padding: 5px 0;
}

.guarantee-settings-wrapper {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #eee;
}

.guarantee-deposit-info {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 12px;
}

/* 接单按钮样式 */
.guarantee-take-button {
    color: #00a854;
}

.guarantee-take-button:hover {
    color: #009944;
}

/* 管理员后台表格样式 */
.badge-info {
    background: #1890ff;
    color: #fff;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
}

.badge-warning {
    background: #fa8c16;
    color: #fff;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
}

.badge-success {
    background: #52c41a;
    color: #fff;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
}

.badge-danger {
    background: #ff4d4f;
    color: #fff;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
}

/* 渐变背景类 */
.jb-red {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
}

.jb-orange {
    background: linear-gradient(135deg, #ffa502, #ff6348);
}

.jb-green {
    background: linear-gradient(135deg, #26c281, #0abd8b);
}

.jb-blue {
    background: linear-gradient(135deg, #4a90e2, #357abd);
}

.jb-gray {
    background: linear-gradient(135deg, #95a5a6, #7f8c8d);
}
/* 接单模态框居中修复 */
.modal.guarantee-take-modal .modal-dialog,
.modal[id^="guarantee-take-modal"] .modal-dialog {
    margin: 10% auto;
    position: relative;
}

.modal.guarantee-take-modal .modal-content,
.modal[id^="guarantee-take-modal"] .modal-content {
    border-radius: 16px;
    overflow: hidden;
}

/* 接单弹窗居中修复 */
.modal {
    text-align: center !important;
}

.modal .modal-dialog {
    display: inline-block !important;
    text-align: left !important;
    vertical-align: middle !important;
    margin: 10% auto !important;
}