/* ============================================================
 * trial.css — 试用授权领取卡片（论坛统一风格）
 * ============================================================ */

/* 增强后的模板块外壳 */
.trial-template-block.trial-block-enhanced {
    border: 2px solid rgba(224, 192, 96, 0.25);
    border-radius: 2px;
    padding: 0;
    margin: 16px 0;
    background: transparent;
}
.trial-template-block.trial-block-enhanced::before {
    display: none;
}

/* 卡片主体 */
.trial-card {
    margin: 0;
    border: none;
    background: rgba(22, 20, 17, 0.98);
    border-radius: 2px;
    padding: 20px;
    position: relative;
    overflow: hidden;
}
.trial-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(224, 192, 96, 0.6), transparent);
}

/* 头部 */
.trial-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}
.trial-card-icon {
    width: 36px; height: 36px;
    background: rgba(224, 192, 96, 0.08);
    border: 1px solid rgba(224, 192, 96, 0.15);
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'VT323', monospace;
    font-size: 1.08rem;
    color: #e0c060;
}
.trial-card-title {
    font-family: 'VT323', monospace;
    font-size: 1.38rem;
    font-weight: bold;
    color: #e0c060;
}
.trial-card-subtitle {
    font-family: 'VT323', monospace;
    font-size: 0.96rem;
    color: rgba(184, 176, 160, 0.5);
}

/* 信息格 */
.trial-card-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 8px;
    margin-bottom: 16px;
}
.trial-info-item {
    background: rgba(224, 192, 96, 0.03);
    padding: 8px 12px;
    border-radius: 2px;
    border-left: 3px solid rgba(224, 192, 96, 0.25);
}
.trial-info-label {
    font-family: 'VT323', monospace;
    font-size: 0.9rem;
    color: rgba(184, 176, 160, 0.4);
    margin-bottom: 2px;
}
.trial-info-value {
    font-family: 'VT323', monospace;
    font-size: 1.2rem;
    color: #e0d8c8;
    font-weight: bold;
}

/* 状态区 */
.trial-card-status {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}
.trial-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 2px 8px;
    border-radius: 2px;
    font-family: 'VT323', monospace;
    font-size: 1.02rem;
    font-weight: bold;
}
.trial-status-active {
    background: rgba(124, 252, 0, 0.12);
    color: #7cfc00;
    border: 1px solid rgba(124, 252, 0, 0.3);
}
.trial-status-expired {
    background: rgba(255, 100, 100, 0.15);
    color: #ff6464;
    border: 1px solid rgba(255, 100, 100, 0.3);
}
.trial-status-unclaimed {
    background: rgba(224, 192, 96, 0.12);
    color: #e0c060;
    border: 1px solid rgba(224, 192, 96, 0.3);
}
.trial-license-code {
    font-family: 'VT323', monospace;
    font-size: 1.2rem;
    color: rgba(184, 176, 160, 0.6);
    letter-spacing: 1px;
    user-select: all;
    cursor: pointer;
}
.trial-license-code:hover { color: #e0c060; }

.trial-meta-text {
    font-family: 'VT323', monospace;
    font-size: 0.96rem;
    color: rgba(184, 176, 160, 0.4);
}
.trial-meta-text.trial-meta-active {
    color: rgba(124, 252, 0, 0.6);
}

/* 领取/续期按钮 */
.trial-btn-claim {
    padding: 6px 18px;
    border: 1px solid rgba(74, 140, 63, 0.8);
    background: rgba(74, 140, 63, 0.6);
    color: #fff;
    font-family: 'VT323', monospace;
    font-size: 1.14rem;
    font-weight: bold;
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.15s;
}
.trial-btn-claim:hover {
    background: rgba(92, 160, 80, 0.8);
    border-color: #7cfc00;
    color: #7cfc00;
}
.trial-btn-claim:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}
.trial-btn-claim.renew {
    border-color: rgba(224, 192, 96, 0.5);
    background: rgba(224, 192, 96, 0.15);
    color: #e0c060;
}
.trial-btn-claim.renew:hover {
    border-color: #e0c060;
    background: rgba(224, 192, 96, 0.25);
}
