/**
 * 壹手设计工具箱 - 说说样式
 */

/* ===== 发布表单 ===== */
.iyesbox-shuoshuo-form-wrap {
    margin: 20px 0 30px;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
}

.iyesbox-shuoshuo-btn-row {
    margin: 16px 0;
    display: flex;
    gap: 16px;
}

.iyesbox-shuoshuo-btn-row button {
    padding: 10px 28px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    background: #FF4600;
    color: #fff;
    transition: opacity 0.2s;
}

.iyesbox-shuoshuo-btn-row button:hover {
    opacity: 0.9;
}

/* 图片样式 */
.iyesbox-shuoshuo-img {
    display: block;
    margin: 12px auto;
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.iyesbox-shuoshuo-alt {
    display: block;
    text-align: center;
    color: #9f9f9f;
    font-size: 12px;
    margin-top: 4px;
}

/* ===== 模态框 ===== */
.iyesbox-ss-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.iyesbox-ss-modal-inner {
    background: #fff;
    padding: 30px 40px;
    border-radius: 12px;
    max-width: 320px;
    width: 90%;
}

.iyesbox-ss-modal-inner label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.iyesbox-ss-modal-inner input[type="datetime-local"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    margin-bottom: 20px;
}

.iyesbox-ss-modal-btn {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.iyesbox-ss-modal-btn button {
    padding: 8px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
}

.iyesbox-ss-confirm {
    background: #FF4600;
    color: #fff;
}

.iyesbox-ss-cancel {
    background: #eee;
    color: #333;
}

/* ===== 说说列表 ===== */
.iyesbox-shuoshuo-list {
    margin: 20px 0;
}

.iyesbox-shuoshuo-ul {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.iyesbox-shuoshuo-item {
    margin-bottom: 28px !important;
    padding: 0 !important;
    list-style: none !important;
}

/* 序号 */
.iyesbox-shuoshuo-number {
    display: inline-block;
    color: #999;
    font-size: 12px;
    border: 1px solid #ddd;
    border-radius: 3px;
    padding: 0 8px;
    margin-bottom: 8px;
    line-height: 1.6;
}

/* 元信息（表情、作者） */
.iyesbox-shuoshuo-meta {
    font-size: 14px;
    color: #666;
    margin-bottom: 12px;
    line-height: 1.5;
}

.iyesbox-shuoshuo-emoji {
    display: inline-block;
    font-size: 18px;
    margin-right: 2px;
    vertical-align: middle;
}

.iyesbox-shuoshuo-author {
    color: #333;
    font-weight: 600;
}

/* 文字内容 */
.iyesbox-shuoshuo-text {
    font-size: 16px;
    line-height: 1.7;
    margin-left: 12px;
    padding-left: 8px;
    border-left: 2px solid #f0f0f0;
}

.iyesbox-shuoshuo-quote {
    color: #ccc;
    font-style: normal;
}

.iyesbox-shuoshuo-content {
    font-weight: 700;
    font-size: 20px;
    color: #333;
}

.iyesbox-shuoshuo-time {
    color: #aaa;
    font-size: 12px;
    margin-left: 8px;
    font-weight: normal;
    white-space: nowrap;
}

/* 空状态 */
.iyesbox-shuoshuo-empty {
    color: #999;
    text-align: center;
    padding: 20px;
}

/* 分页 */
.iyesbox-shuoshuo-pagination {
    text-align: center;
    margin-top: 30px;
    margin-bottom: 20px;
}

.iyesbox-shuoshuo-pagination .page-numbers {
    display: inline-block;
    padding: 6px 12px;
    margin: 0 4px;
    color: #FF4600;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s ease;
}

.iyesbox-shuoshuo-pagination .page-numbers:hover {
    background: #FF4600;
    color: #fff;
    border-color: #FF4600;
}

.iyesbox-shuoshuo-pagination .page-numbers.current {
    background: #FF4600;
    color: #fff;
    border-color: #FF4600;
    cursor: default;
}

/* ===== 暗色模式 ===== */
html[data-theme="dark"] .iyesbox-shuoshuo-form-wrap {
    background: #2a2a2a;
    border-color: #404040;
}

html[data-theme="dark"] .iyesbox-shuoshuo-number {
    color: #666;
    border-color: #404040;
}

html[data-theme="dark"] .iyesbox-shuoshuo-meta {
    color: #aaa;
}

html[data-theme="dark"] .iyesbox-shuoshuo-author {
    color: #e0e0e0;
}

html[data-theme="dark"] .iyesbox-shuoshuo-text {
    border-left-color: #3a3a3a;
}

html[data-theme="dark"] .iyesbox-shuoshuo-content {
    color: #e0e0e0;
}

html[data-theme="dark"] .iyesbox-shuoshuo-time {
    color: #666;
}

html[data-theme="dark"] .iyesbox-shuoshuo-pagination .page-numbers {
    color: #FF4600;
    background: #2a2a2a;
    border-color: #404040;
}

html[data-theme="dark"] .iyesbox-shuoshuo-pagination .page-numbers:hover {
    background: #FF4600;
    color: #fff;
    border-color: #FF4600;
}

html[data-theme="dark"] .iyesbox-shuoshuo-pagination .page-numbers.current {
    background: #FF4600;
    color: #fff;
    border-color: #FF4600;
}

/* 兼容 .dark 类 */
html.dark .iyesbox-shuoshuo-form-wrap {
    background: #2a2a2a;
    border-color: #404040;
}

html.dark .iyesbox-shuoshuo-number {
    color: #666;
    border-color: #404040;
}

html.dark .iyesbox-shuoshuo-meta {
    color: #aaa;
}

html.dark .iyesbox-shuoshuo-author {
    color: #e0e0e0;
}

html.dark .iyesbox-shuoshuo-text {
    border-left-color: #3a3a3a;
}

html.dark .iyesbox-shuoshuo-content {
    color: #e0e0e0;
}

html.dark .iyesbox-shuoshuo-time {
    color: #666;
}

html.dark .iyesbox-shuoshuo-pagination .page-numbers {
    color: #FF4600;
    background: #2a2a2a;
    border-color: #404040;
}

html.dark .iyesbox-shuoshuo-pagination .page-numbers:hover {
    background: #FF4600;
    color: #fff;
    border-color: #FF4600;
}

html.dark .iyesbox-shuoshuo-pagination .page-numbers.current {
    background: #FF4600;
    color: #fff;
    border-color: #FF4600;
}
