/* assets/css/license.css */

/* 授权状态样式 */
.custom-theme-license-wrap {
    max-width: 800px;
    margin: 20px auto;
}

.custom-theme-license-status {
    display: flex;
    align-items: flex-start;
    padding: 20px;
    margin-bottom: 30px;
    border-radius: 5px;
}

.custom-theme-license-status.valid {
    background-color: #e6f7ed;
    border-left: 4px solid #52c41a;
}

.custom-theme-license-status.invalid {
    background-color: #fef0f0;
    border-left: 4px solid #f5222d;
}

.custom-theme-license-status .icon {
    margin-right: 15px;
    font-size: 24px;
}

.custom-theme-license-status .content h3 {
    margin-top: 0;
    font-size: 18px;
}

.custom-theme-license-status .actions {
    margin-left: auto;
}

/* 表单样式 */
.custom-theme-license-form {
    background-color: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.form-table th {
    width: 200px;
}

#theme-license-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 4px;
    display: none;
}

#theme-license-message.success {
    background-color: #e6f7ed;
    border-left: 4px solid #52c41a;
}

#theme-license-message.error {
    background-color: #fef0f0;
    border-left: 4px solid #f5222d;
}

/* 响应式调整 */
@media (max-width: 600px) {
    .custom-theme-license-status {
        flex-direction: column;
    }
    
    .custom-theme-license-status .actions {
        margin-left: 0;
        margin-top: 15px;
    }
    
    .form-table th {
        width: 100%;
        display: block;
        margin-bottom: 5px;
    }
}