/******************************************
 * Topxart Comment System — Full CSS
 * Scope: .asdeh
 ******************************************/
.ccs-comment-wrapper.asdeh{direction:rtl;padding:8px 8px 24px;}
.ccs-field-line{display:flex;grid-auto-rows:repeat(2,1fr);align-items:center;gap:8px;}
.ccs-input-message{gap:24px;display:flex;}
.ccs-row.two-cols{gap:24px;display:flex;flex-direction:row;}
ol.children .comment{padding:8px 16px;background:#FDF8F4;border:1px solid #EF6C00;border-radius:16px;}
.ccs-input-email,.ccs-input-name{width:40%;}
.ccs-control{width:85%;display:flex;flex-direction:column;}
.ccs-field{width:90%;}
.ccs-actions{display:flex;align-items:flex-end;}
.ccs-form-wrapper.asdeh{display:grid;gap:24px;}
.ccs-input-block label{color:#1A0E04;font-weight:600;font-size:14px;}
.ccs-input-block input[type=email],.ccs-input-block input[type=text],.ccs-input-block textarea{max-width:100%;border:1px solid #EF6C00;border-radius:6px;padding:10px 12px;background:transparent;font-size:14px;line-height:1.6;}
.ccs-input-block input:focus,.ccs-input-block textarea:focus{border:2px solid #EF6C00 !important;background:#FFF7F0 !important;outline:none;}
.ccs-invalid{border-color:#c62828 !important;background:#ffebee !important;}
.ccs-field-error{margin-top:2px;font-size:12px;line-height:1.6;color:#c62828;}
#submit{display:none;}
button.submit{border:0;background:#EF6C00;color:#fff;cursor:pointer;padding:10px 16px;border-radius:8px;}
button.submit:hover{background:transparent;color:#EF6C00;border:1px solid #EF6C00;}
.ccs-comment-wrapper.asdeh ol,.ccs-comment-wrapper.asdeh ul{list-style:none;margin:0;padding:0;}
.ccs-comment-wrapper.asdeh .depth-1{padding: 8px 8px 16px 8px;border:1px solid #EF6C00;margin:20px 0px;border-radius:8px;}
.ccs-comment-wrapper.asdeh .comment-meta{display:flex;align-items:center;justify-content:space-between;gap:12px;}
.children .comment-meta{padding:0 !important;}
.ccs-comment-wrapper.asdeh .comment-author-box{display:inline-flex;align-items:center;gap:8px;}
.ccs-comment-wrapper.asdeh .custom-avatar{width:24px;height:24px;border-radius:50%;display:inline-block;object-fit:cover;}
.ccs-comment-wrapper.asdeh .comment-author{font-size:14px;font-weight:600;color:#1A0E04;}
.ccs-comment-wrapper.asdeh .comment-date{font-size:14px;color:#707070;white-space:nowrap;}
.ccs-comment-wrapper.asdeh .comment-content{padding:24px 8px;}
.ccs-comment-wrapper.asdeh .comment-text{color:#1A0E04;font-size:14px;line-height:1.9;}
.ccs-comment-wrapper.asdeh .comment-text p{margin:0;}
.ccs-comment-wrapper.asdeh .depth-2,.ccs-comment-wrapper.asdeh .depth-3,.ccs-comment-wrapper.asdeh .depth-4{margin:0 56px;position:relative;}
.ccs-comment-wrapper.asdeh .depth-2::before,.ccs-comment-wrapper.asdeh .depth-3::before,.ccs-comment-wrapper.asdeh .depth-4::before{content:'';position:absolute;right:-28px;top:24px;width:16px;height:1px;background:#E1EAC6;}
.ccs-comment-wrapper.asdeh .depth-2 .custom-avatar,.ccs-comment-wrapper.asdeh .depth-3 .custom-avatar,.ccs-comment-wrapper.asdeh .depth-4 .custom-avatar{width:24px;height:24px;}
.ccs-comment-wrapper.asdeh .comment-reply-link{display:inline-flex;align-items:center;gap:6px;font-size:12px;color:#D2B668;text-decoration:none;}
.ccs-comment-wrapper.asdeh .comment-reply-link:hover{text-decoration:underline;}
.ccs-sep{margin:24px 0;display:flex;justify-content:center;}
.ccs-sep .ccs-divider{max-width:100%;height:auto;}
.ccs-pagination{gap:16px;display:flex;align-items:center;justify-content:center;margin:20px 0;}
.ccs-pagination a,.ccs-pagination .ccs-page{font-size:14px;color:#314D0F;text-decoration:none;}
.ccs-pagination .active{margin-top:-4px;background:#F0F8E7;border-radius:1000px;padding:4px 12px 2px;font-weight:600;}
.ccs-pagination .dots{color:#B7C79C;}
.ccs-notice{display:flex;align-items:flex-start;gap:10px;padding:12px 14px;border-radius:10px;border:1px solid transparent;background:#FFF7F0;margin:12px 0;line-height:1.7;color:#4A3425;}
.ccs-notice-ic{display:inline-flex;align-items:center;justify-content:center;min-width:24px;height:24px;border-radius:50%;background:#EF6C00;color:#fff;font-weight:700;}
.ccs-notice-msg a{color:#EF6C00;text-decoration:underline;}
.ccs-notice-error{border-color:#c62828;background:#ffebee;}
.ccs-notice-warning{border-color:#EF6C00;background:#FFF7F0;}
.ccs-notice-success{border-color:#2e7d32;background:#e8f5e9;}
.ccs-notice-info{border-color:#1976d2;background:#e3f2fd;}
/* Popup */
.ccs-modal-overlay{position:fixed;inset:0;z-index:9999;background:rgba(0,0,0,.35);display:flex;align-items:center;justify-content:center;}
.ccs-modal{width:min(520px,92vw);background:#FFF7F0;border:1px solid #EF6C00;border-radius:16px;padding:20px 24px;text-align:center;direction:rtl;position:relative;box-shadow:0 10px 30px rgba(0,0,0,.08);}
.ccs-modal-close{position:absolute;left:12px;top:10px;background:transparent;border:0;font-size:22px;line-height:1;color:#333;cursor:pointer;}
.ccs-modal-icon{margin:6px auto 8px;}
.ccs-modal-title{font-weight:700;color:#1A0E04;font-size:16px;margin-top:6px;}
.ccs-modal-desc{color:#707070;font-size:14px;margin-top:6px;}
.ccs-modal-actions{margin-top:14px;}
.ccs-modal-actions .ccs-modal-ok{border:0;background:#EF6C00;color:#fff;cursor:pointer;padding:8px 16px;border-radius:8px;}
.ccs-modal-actions .ccs-modal-ok:hover{background:transparent;color:#EF6C00;border:1px solid #EF6C00;}
@media (max-width:900px){
  .children .comment-body{padding:0;}
  .ccs-comment-wrapper.asdeh .children{list-style:none;margin:0 8px !important;}
  .ccs-input-email,.ccs-input-name{width:100%;}
  .ccs-row.two-cols{display:flex;flex-direction:column;}
  .ccs-input-message{gap:24px;display:flex;flex-direction:column;align-items:flex-end;}
  .ccs-field{display:table;width:100%;}
  .ccs-control{width:100%;}
  .ccs-comment-wrapper.asdeh .comment-meta{padding:0;}
  .comment-list img{width:24px !important;height:24px !important;}
  .ccs-input-block label{width:56px;}
  .ccs-comment-wrapper.asdeh .depth-2,.ccs-comment-wrapper.asdeh .depth-3,.ccs-comment-wrapper.asdeh .depth-4{margin:0;}
  .ccs-comment-wrapper.asdeh{padding:8px 16px 16px;}
  .ccs-comment-wrapper.asdeh .comment-content{border-radius:18px 0;padding:16px 0;}
  .ccs-comment-wrapper.asdeh ol,.ccs-comment-wrapper.asdeh ul{list-style:none !important;counter-reset:none !important;}
  .ccs-comment-wrapper.asdeh li{list-style:none !important;counter-increment:none !important;}
  .ccs-comment-wrapper.asdeh li::marker{content:'' !important;font-size:0 !important;}
  .ccs-comment-wrapper.asdeh li::before,.ccs-comment-wrapper.asdeh li::after{content:none !important;}
  .ccs-comment-wrapper.asdeh .children{list-style:none;margin:0;padding:0;}
  .ccs-comment-wrapper.asdeh .children{list-style:none;margin:0 50px;}
  .ccs-badge-admin{font-size:11px;padding:2px 6px;margin-right:6px;border-radius:6px;background:#F0F8E7;color:#314D0F;border:1px solid #B7C79C;vertical-align:middle;}
  ol.children .comment{background:#FDF8F4;border:1px solid #EF6C00;border-radius:16px;}
}
