/* MAIN CARD */
.c-card {
margin: 25px auto;
background: #fff;
padding: 18px;
box-shadow: 0 10px 25px rgba(0,0,0,0.10);
font-family: system-ui, sans-serif;
position: relative;
}

/* TITLE */
.c-card h2 {
margin-top: 40px;
margin-bottom: 24px;
font-size: 1.3rem;
font-weight: bold;
}

/* LEAVE COMMENT BUTTON */
.c-tglbtn {
width: 100%;
padding: 14px;
border: none;
border-radius: 50px;
background: #2563eb;
color: #fff;
font-size: 1rem;
cursor: pointer;
box-shadow: 0 5px 15px rgba(37,99,235,0.35);
display: flex;
justify-content: center;
align-items: center;
gap: 8px;
transition: 0.25s ease;
}
.c-tglbtn:hover {
background: #1e4fcc;
}

/* MAIN COMMENT FORM */
.c-slide {
max-height: 0;
opacity: 0;
overflow: hidden;
padding: 0;
transition: max-height .35s ease, opacity .35s ease;
}
.c-slide.open {
max-height: 450px;
opacity: 1;
padding: 16px;
background: #f8f9fb;
border: 1px solid #e5e7eb;
border-radius: 14px;
margin-top: 14px;
width: calc(100% - 4px);
box-sizing: border-box;
position: relative;
}

/* CLOSE BUTTON */
.c-close {
position: absolute;
right: -10px;
top: -10px;
font-size: 12px;
border: none;
background: none;
cursor: pointer;
color: red;
}

/* INPUTS */
.c-card input,
.c-card textarea {
width: 100%;
padding: 12px;
border-radius: 10px;
border: 1px solid #ccc;
margin-bottom: 12px;
box-sizing: border-box;
}

/* SUBMIT BUTTON */
.c-submit {
background: #16a34a;
padding: 10px 18px;
border: none;
border-radius: 50px;
color: #fff;
cursor: pointer;
transition: 0.25s ease;
}
.c-submit:hover {
background: #128238;
}

/* COMMENTS LIST */
.c-item {
padding: 15px 0;
border-bottom: 1px solid #eee;
}

.c-head {
display: flex;
gap: 12px;
}

.c-dp {
width: 42px;
height: 42px;
border-radius: 50%;
background: #ddd;
display: flex;
align-items: center;
justify-content: center;
font-size: 20px;
font-weight: bold;
}

/* ⭐ REPLIES BUTTON (Perfect Final) */
.c-rbtn {
border: none;
background: #f0f4ff !important;
color: #2563eb !important;
padding: 8px 14px;
border-radius: 50px;
font-size: .85rem;
cursor: pointer;
display: inline-flex;
align-items: center;
gap: 6px;
margin-top: 6px;
transition: transform 0.15s ease;
-webkit-tap-highlight-color: transparent;
}

.c-rbtn:hover {
background: #f0f4ff !important;
}

.c-rbtn:focus,
.c-rbtn:active {
background: #f0f4ff !important;
outline: none !important;
box-shadow: none !important;
transform: scale(0.94);
}

/* REPLY BOX */
.c-rbox {
margin: 12px auto;
background: #f8f9fb;
padding: 18px !important;
border-radius: 14px;
border: 1px solid #e5e7eb;
width: calc(100% - 4px);
box-sizing: border-box;
position: relative;
width:90%;
}

/* REPLY CLOSE BUTTON */
.c-rclose {
position: absolute;
right: 6px;
top: 4px;
background: none;
border: none;
color: #444;
font-size: 18px;
cursor: pointer;
}

/* SHOW MORE BUTTON */
.c-morebtn {
background: #e5e7eb;
border: none;
border-radius: 50px;
padding: 8px 18px;
margin: 12px auto 0;
display: block;
cursor: pointer;
transition: 0.25s ease;
}
.c-morebtn:hover {
background: #d4d4d4;
}

/* DELETE BUTTON */
.c-del{
color:#fff !important;
font-size:10px !important;
font-weight:700 !important;
cursor:pointer !important;
margin-left:5px;
background:#ffcccc !important;
padding:4px 6px !important;
border-radius: 5px !important;
}



/* ARROW */
.reply-arrow{
font-size:16px;
margin-left:6px;
display:inline-block;
}

/* ADMIN BADGE WRAPPER */
.c-admin-tag {
background: none !important;
padding: 0 !important;
margin-left: 5px;
display: inline-flex;
align-items: center;
}

.c-admin-tag i {
color: #119999 !important;
font-size: 13px !important;
line-height: 1;
}
