/* 全局样式 */
.form-control:focus, .btn:focus {
    box-shadow: 0 0 0 0.25rem rgba(var(--primary-color-rgb), 0.25);
}

/* 自定义卡片样式 */
.card-dashboard {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-dashboard:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.card-counter {
    color: white;
    padding: 20px;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-counter:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.card-counter i {
    font-size: 5em;
    opacity: 0.3;
}

.card-counter .count-numbers {
    font-size: 32px;
    display: block;
}

.card-counter .count-name {
    display: block;
    font-size: 18px;
}

/* 会员卡片样式 */
.membership-card {
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: visible;
    margin-bottom: 20px;
    padding-bottom: 10px;
}

.membership-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.membership-card .card-header {
    font-size: 1.5rem;
}

.membership-card .price {
    font-size: 2rem;
    font-weight: bold;
    margin: 15px 0;
}

.membership-card .ribbon {
    display: none;
}

/* 会员套餐标签 - 全新设计 */
.plan-tag {
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #ff4d4f;
    color: white;
    font-weight: bold;
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 16px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 10;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    white-space: nowrap;
}

.plan-tag.best-value {
    background-color: #52c41a;
}

.membership-card:hover .plan-tag {
    transform: translateX(-50%) translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25);
}

/* 主题设置 */
.color-picker {
    width: 40px;
    height: 40px;
    padding: 0;
    border: none;
    cursor: pointer;
}

/* 步数修改表单 */
.steps-form {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.steps-log {
    max-height: 400px;
    overflow-y: auto;
}

/* 卡密列表 */
.card-code {
    font-family: monospace;
    font-weight: bold;
    letter-spacing: 1px;
}

/* 自适应布局 */
@media (max-width: 767.98px) {
    .card-counter i {
        font-size: 3em;
    }
    .card-counter .count-numbers {
        font-size: 24px;
    }
    .card-counter .count-name {
        font-size: 16px;
    }
}

/* 加载动画 */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* 主题预览 */
.theme-preview {
    width: 100%;
    height: 100px;
    border-radius: 10px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

/* 页面过渡动画 */
.fade-in {
    animation: fadeIn 0.5s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* 会员标签美化 */
.badge {
    font-size: 14px !important;
    font-weight: bold !important;
    padding: 5px 10px !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
    transition: all 0.3s ease;
    border-radius: 4px !important;
    color: white !important;
}

.badge:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2) !important;
}

/* 会员卡片角标 */
.membership-card .badge {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.membership-card:hover .badge {
    transform: translateY(-50%) scale(1.1) !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2) !important;
} 