/**
 * 软件授权插件 - 前台样式（用户中心）
 */

/* ============================================
   用户中心容器
   ============================================ */
.software-license-user-center {
    /* 继承 zibll 用户中心布局 */
}

.software-license-user-center h3 {
    margin: 0;
}

.license-box-title {
    margin-top: 0;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--main-border-color, #eee);
    font-size: 15px;
}

/* ============================================
   授权信息卡片
   ============================================ */
.license-info-list {
    margin-bottom: 15px;
}

.license-info-row {
    margin-bottom: 10px;
    font-size: 14px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
}

.license-label {
    color: #888;
    min-width: 100px;
}

.license-info-row code {
    background: #f5f5f5;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 13px;
    letter-spacing: 1px;
}

.license-action-btns {
    padding-top: 5px;
}

.license-action-btns .buton {
    display: inline-block;
}

/* ============================================
   表单通用
   ============================================ */
.license-tip {
    color: #888;
    font-size: 13px;
    margin-bottom: 12px;
    line-height: 1.6;
}

.license-form-inline {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.license-serial-input {
    flex: 1;
    min-width: 180px;
    padding: 8px 14px;
    border: 1px solid var(--main-border-color, #ddd);
    border-radius: 6px;
    font-size: 14px;
    font-family: monospace;
    background: var(--main-bg-color, #fff);
    color: var(--main-color, #333);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.license-serial-input:focus {
    border-color: var(--theme-color, #0073aa);
    outline: none;
    box-shadow: 0 0 0 2px rgba(var(--theme-color-rgb, 0, 115, 170), 0.15);
}

/* ============================================
   消息提示
   ============================================ */
.license-msg {
    margin-top: 10px;
    padding: 10px 14px;
    border-radius: 6px;
    font-size: 13px;
    line-height: 1.5;
}

.license-msg.success {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #a5d6a7;
}

.license-msg.error {
    background: #ffebee;
    color: #c62828;
    border: 1px solid #ef9a9a;
}

/* ============================================
   使用说明
   ============================================ */
.license-instructions-box p {
    color: #888;
    font-size: 13px;
    line-height: 1.8;
    margin: 0;
}

/* ============================================
   红色警告
   ============================================ */
.c-red {
    color: #dc3545 !important;
}

/* ============================================
   短代码兼容（独立页面）
   ============================================ */
.software-license-container {
    max-width: 700px;
}
