
.container {
    height: 575px;
    box-sizing: border-box;
    margin: 0 15px;
    float: left;
}

.mk-vtcl{
    writing-mode: vertical-lr;
    text-orientation: sideways-right;
}
.mk-hltb{
    writing-mode: horizontal-tb;
}
.comment-section {
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.12);
    padding: 20px;
    box-sizing: border-box;
}

.section-title {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-right: 20px;
    padding-right: 10px;
    border-right: 2px solid #eaeaea;
    display: flex;
    align-items: center;
    font-family: "0yun Qagan Tig";
}

.section-title i {
    margin-bottom: 10px;
    color: #3498db;
}

.comment-form {
    margin-right: 30px;
}

.form-group {
    margin-right: 15px;
    position: relative;
}

.form-group label {
    display: block;
    margin-right: 8px;
    font-weight: 500;
    color: #555;
    font-family: "0yun Qagan Tig";
    font-size: 18px;
}
.form-group label .optional {
    font-weight: normal;
    color: #aaa;
    font-family: "0yun Qagan Tig";
    font-size: 18px;
}
.input-control {
    height: 100%;
    padding: 15px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.3s;
    font-family: "0yun Qagan Tig";
    font-size: 18px;
    box-sizing: border-box;
}

.input-control:focus {
    border-color: #3498db;
    outline: none;
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
}

textarea.input-control {
    min-width: 100px;
    resize: vertical;
    box-sizing: border-box;
    max-height: 100%;
    min-height: 100%;
}

.emoji-picker {
    position: relative;
    display: inline-block;
}

.emoji-trigger {
    background: #f1f8ff;
    border: 1px solid #d1e5fb;
    border-radius: 6px;
    padding: 12px 8px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    font-size: 14px;
    color: #3498db;
}

.emoji-trigger i {
    margin-right: 5px;
}

.emoji-container {
    position: absolute;
    top: 0;
    left: 100%;
    background: white;
    border-radius: 8px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
    padding: 10px;
    width: 100px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 5px;
    z-index: 100;
    display: none;
    writing-mode: horizontal-tb;
}

.emoji-container.show {
    display: grid;
}

.emoji {
    font-size: 20px;
    cursor: pointer;
    text-align: center;
    padding: 5px;
    border-radius: 4px;
    transition: background 0.2s;
}

.emoji:hover {
    background: #f0f5ff;
}

.captcha-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.captcha-image{
	width: 40px;
   	 height: 120px;
}

.captcha-code {
    font-family: 'Courier New', monospace;
    font-size: 20px;
    font-weight: bold;
    letter-spacing: 3px;
    background: #f0f4f8;
    padding: 15px 8px;
    border-radius: 6px;
    color: #2c3e50;
    user-select: none;
}

.btn {
    padding: 20px 12px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-block;
}

.btn-primary {
    background: #3498db;
    color: white;
    font-family: "0yun Qagan Tig";
    font-size: 18px;
}

.btn-primary:hover {
    background: #2980b9;
    color:#fff;
}

.btn-secondary {
    background: #95a5a6;
    color: white;
    font-family: "0yun Qagan Tig";
    font-size: 18px;
}

.btn-secondary:hover {
    background: #7f8c8d;
    color:#fff;
}

.comment-list {
    margin-left: 30px;
}

.comment-item {
    padding: 20px;
    border-radius: 8px;
    background: #f9fafc;
    margin-right: 20px;
    border-top: 3px solid #e4e8f0;
}

.comment-item.pinned {
    background: #fffaf2;
    border-top: 3px solid #f39c12;
    order: -1;
}

.pinned-badge {
    background: #f39c12;
    color: white;
    font-size: 12px;
    padding: 8px 3px;
    border-radius: 4px;
    margin-bottom: 8px;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    margin-right: 10px;
    align-items: center;
}

.user-info {
    display: flex;
    align-items: center;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #3498db;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-bottom: 10px;
    font-size: 18px;
    font-family: "0yun Qagan Tig", 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.user-name {
    font-weight: 500;
    color: #2c3e50;
    font-family: "0yun Qagan Tig", 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 18px;
}

.comment-date {
    font-size: 12px;
    color: #7f8c8d;
}

.comment-content {
    color: #34495e;
    margin-right: 15px;
    line-height: 1.5;
    font-family: "0yun Qagan Tig", 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 18px;
    text-align: justify;
}

.reply-info {
    font-size: 14px;
    color: #7f8c8d;
    margin-right: 8px;
    padding: 10px 5px;
    background: #f0f4f8;
    border-radius: 4px;
    display: inline-block;
    font-family: "0yun Qagan Tig";
    font-size: 18px;
}

.reply-info i {
    margin: 5px 0;
}

.comment-actions {
    display: flex;
    gap: 15px;
}

.action-btn {
    background: none;
    border: none;
    color: #7f8c8d;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color 0.2s;
    font-family: "0yun Qagan Tig";
    font-size: 16px;
}

.action-btn:hover {
    color: #3498db;
    font-size: 16px;
}

.nested-comments {
    margin-left: 20px;
    margin-top: 0px;
    border-top: 2px dashed #e4e8f0;
    padding-top: 20px;
}

.load-more {
    text-align: center;
    margin-top: 20px;
}

.empty-state {
    text-align: center;
    padding: 30px;
    color: #7f8c8d;
    display: flex;
}

.empty-state i {
    font-size: 28px;
    margin-bottom: 15px;
    color: #bdc3c7;
}
.empty-state p {
    font-family: "0yun Qagan Tig";
    font-size: 18px;
}

.reply-form {
    background: #f0f5ff;
    padding: 15px;
    border-radius: 8px;
    margin-left: 15px;
}

.form-actions {
    display: flex;
    gap: 10px;
}

.input-with-emoji {
    position: relative;
    box-sizing: border-box;
}

.emoji-btn {
    position: absolute;
    right: 10px;
    bottom: 10px;
    background: none;
    border: none;
    color: #7f8c8d;
    cursor: pointer;
    font-size: 18px;
}

@media (max-width: 600px) {
    .container {
        padding: 10px;
    }

    .comment-section {
        padding: 15px;
    }

    .nested-comments {
        margin-left: 20px;
    }

    .captcha-container {
        flex-direction: column;
        align-items: flex-start;
    }

    .emoji-container {
        width: 100%;
    }

    .form-actions {
        flex-direction: column;
    }
}
