#pad-discussion-app {max-width: 100%; margin: 0 auto;}
.pad-comment-card {display: flex;
    align-items: flex-start;
    background: #fff;
    padding: 10px 10px 0 10px;
    margin-bottom: 10px;
    position: relative;
    }
.pad-comment-root {
    margin-bottom: 20px;
    
}
.pad-comment-child {
    margin-left: 80px;
    position: relative;
    margin-bottom: 20px;
}
.pad-comment-thread-line {
    position: absolute;
    left: 0px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: #cf1b1b;
    border-radius: 3px;
    content: "";
    display: block;
}
.pad-comment-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    border: 1px solid #e0e0e0;
    background: #fafafa;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.pad-comment-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}
.pad-comment-avatar-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 80px;
    margin-right: 16px;
    flex-shrink: 0;
}
.pad-comment-content {flex: 1; min-width: 0;background-color: #f6f6f8;
    border-radius: 10px; padding: 10px;}
.pad-comment-meta {display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 3px;}
.pad-comment-author {font-weight: 700;
    font-size: 17px;
    color: #1890ff;}
.pad-comment-badge {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 16px;
    padding: 2px 7px;
    border-radius: 7px;
    color: #fff;
    display: inline-block;
    text-align: center;
    white-space: nowrap;
    font-weight: 600;
    box-shadow: 0 2px 6px rgba(80,0,0,0.05);
}
.pad-comment-time {color: #aaa;
    font-size: 13px;
    margin-left: 8px;}
.pad-comment-text {font-size: 15px;
    color: #2a2a2a;
    margin-bottom: 10px;}
.pad-reply-btn {font-size: 16px; color: #008ae6; cursor: pointer; text-decoration: underline;}
.pad-frontend-delete {font-size: 16px; color: #008ae6; cursor: pointer; text-decoration: underline; margin-left: 5px;}
.pad-comment-children {
    margin-left: 30px !important;
    border-left: none !important;
    padding-left: 0 !important;
    margin-top: 0 !important;
}
/* KHÔNG thụt lề thêm ở các cấp sâu nữa */
.pad-comment-children .pad-comment-children,
.pad-comment-children .pad-comment-children .pad-comment-children,
.pad-comment-children .pad-comment-children .pad-comment-children .pad-comment-children,
.pad-comment-children .pad-comment-children .pad-comment-children .pad-comment-children .pad-comment-children {
    margin-left: 50px !important;
    border-left: none !important;
    padding-left: 50px !important;
    margin-top: 0 !important;
}
.pad-mention { color: #008ae6; font-weight: bold; margin-right: 5px; }
.pad-comment-form {background: #f6f6f8; border-radius: 10px; padding: 18px 12px; margin-bottom: 18px;}
.pad-comment-form .pad-row {margin-bottom: 12px;}
.pad-comment-form label {
    display: block;
    font-weight: 500;
    margin-bottom: 3px;
    margin-left: 2px;
    font-size: 15px;
    color: #444;
}
.pad-comment-actions {
    display: flex;
    align-items: center;
    gap: 18px;
    font-size: 14px;
}
.pad-comment-actions a {
    color: #1691e7;
    font-weight: 600;
    text-decoration: none;
    margin-right: 12px;
    transition: color 0.15s;
}
.pad-comment-actions a:hover {
    color: #0056b3;
}
.pad-comment-form input[type="text"],
.pad-comment-form input[type="email"] {width: 40%; padding: 6px 8px; border: 1px solid #ddd; border-radius: 6px;}
.pad-comment-form textarea {width: 100%; padding: 6px 8px; border: 1px solid #ddd; border-radius: 6px; min-height: 48px;}
.pad-comment-form button {background: #cf1b1b; color: #fff; border: none; padding: 7px 18px; border-radius: 7px; font-weight: bold;}
.pad-pagination {margin: 20px 0; text-align: center;}
.pad-page-btn {display: inline-block; margin: 0 2px; padding: 4px 12px; border-radius: 7px; background: #eee; color: #444; text-decoration: none;}
.pad-page-btn.active {background: #cf1b1b; color: #fff;}
.pad-loading {text-align: center; color: #008ae6; font-size: 16px;}
.pad-sort-row {margin-bottom: 15px;}
.pad-sort-row span {font-weight: bold; margin-right: 10px;}
.pad-sort-btn {margin-right: 6px; padding: 2px 10px; border-radius: 7px; background: #eee; border: none; cursor: pointer;}
.pad-sort-btn.active {background: #cf1b1b; color: #fff;}
@media (max-width: 600px) {
    #pad-discussion-app {padding: 0 2vw;}
    .pad-comment-card {flex-direction: column;}
    .pad-comment-avatar {margin-bottom: 5px;}
    .pad-comment-children {margin-left: 15px !important;}
    .pad-comment-form input[type="text"], .pad-comment-form input[type="email"] {width: 100%; margin-bottom: 6px;}
}
.pad-modal-notify {
    position: fixed;
    left: 0; right: 0; top: 0; bottom: 0;
    background: rgba(0,0,0,0.08);
    z-index: 9999999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}
.pad-modal-notify.show {
    opacity: 1;
    pointer-events: auto;
}
.pad-modal-inner {
    background: #47c047;
    color: #fff;
    padding: 28px 38px;
    font-size: 1.25em;
    border-radius: 24px;
    box-shadow: 0 4px 24px rgba(60,60,60,0.11);
    text-align: center;
    min-width: 180px;
    min-height: 60px;
    font-weight: bold;
    animation: pad-fadeInZoom 0.25s;
}
@keyframes pad-fadeInZoom {
    0% { opacity: 0; transform: scale(0.7);}
    100% { opacity: 1; transform: scale(1);}
}

