/*
 Theme Name: Hello Child SM
 Template: hello-elementor
*/

/* ====== Общий контейнер ====== */

.sm-wrapper {
    max-width: 800px;
    margin: 40px auto;
    font-family: Arial, sans-serif;
    color:#333;
    background:#f7f7f7;
    padding:20px;
    border-radius:10px;
}

/* ====== Заголовки ====== */

.sm-title {
    font-size: 32px;
    margin-bottom: 20px;
    color:#222;
}

.sm-subtitle {
    font-size: 24px;
    margin: 30px 0 20px;
    color:#222;
}

/* ====== Форма проверки ====== */

.sm-check {
    margin-bottom: 30px;
}

.sm-input {
    width:100%;
    max-width:300px;
    padding:10px;
    margin-bottom:10px;
    border-radius:6px;
    border:1px solid #ccc;
    background:#fff;
    color:#333;
}

.sm-textarea {
    width:100%;
    padding:10px;
    border-radius:6px;
    border:1px solid #ccc;
    background:#fff;
    color:#333;
}

.sm-btn {
    padding:8px 14px;
    border-radius:6px;
    border:none;
    background:#0073e6;
    color:#fff;
    cursor:pointer;
}

/* ====== Карточка ====== */

.sm-card {
    background:#ffffff;
    padding:15px;
    border-radius:10px;
    margin-bottom:20px;
    border:1px solid #ddd;
    box-shadow:0 2px 4px rgba(0,0,0,0.05);
}

/* ====== Имя автора ====== */

.sm-name {
    display:inline-block;
    padding:6px 10px;
    border-radius:6px;
    border:1px solid #ddd;
    background:#fafafa;
    color:#333;
    margin-bottom:6px;
    font-weight:600;
}

/* ====== Дата ====== */

.sm-date {
    font-size:12px;
    color:#777;
    margin-bottom:10px;
}

/* ====== Домен ====== */

.sm-domain {
    font-weight:bold;
    color:#222;
    margin-bottom:10px;
}

/* ====== Статус ====== */

.sm-status {
    margin-bottom:10px;
    color:#333;
}

.sm-dot {
    display:inline-block;
    width:14px;
    height:14px;
    border-radius:50%;
    margin-left:6px;
}

/* ====== Комментарий ====== */

.sm-comment {
    margin-bottom:10px;
    color:#444;
    line-height:1.4;
}

/* ====== Кнопка Répondre (как на TotalBug) ====== */

.sm-reply-btn {
    background: none;
    border: none;
    color: #0066cc;
    padding: 0;
    margin-top: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: normal;
    text-decoration: none;
}

.sm-reply-btn:hover {
    color: #004c99;
    text-decoration: underline;
}

/* ====== Блок ответа ====== */

.sm-reply-box {
    margin-top:10px;
    padding:10px;
    background:#f9f9f9;
    border:1px solid #ddd;
    border-radius:8px;
}

.sm-info-text {
    font-size: 13px;
    color: #888;
    margin-bottom: 10px;
    line-height: 1.4;
}
.sm-reply-box {
    margin-top:10px;
    padding:10px;
    background:#f9f9f9;
    border:1px solid #ddd;
    border-radius:8px;
}

.sm-info-text {
    font-size: 13px;
    color: #888;
    margin-bottom: 10px;
    line-height: 1.4;
}
.sm-reply-warning {
    font-size: 13px;
    color: #888;
    margin: 8px 0 12px;
    line-height: 1.4;
    font-style: italic;
}


/* ====== Вложенные ответы ====== */

.sm-replies {
    margin-top:10px;
}

.sm-reply {
    background:#fff;
    padding:10px;
    border-radius:8px;
    border:1px solid #ddd;
    margin
}

.sm-date-small {
    font-size: 12px;
    color: #777;
    margin-top: 4px;
    margin-bottom: 8px;
}
	
	.sm-line-graph {
    width: 100%;
    max-width: 600px;
    margin: 20px 0;
}

.sm-line-graph svg {
    width: 100%;
    height: 80px;
}

.sm-hours {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: #666;
    margin-top: 5px;
}
.sm-graph-24h {
    margin: 20px 0;
}

.sm-graph-line svg {
    width: 100%;
    height: 80px;
}

.sm-graph-hours {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: #666;
    margin-top: 5px;
}
/* ====== ОСНОВНОЙ БЛОК ОТВЕТОВ ====== */
.sm-reply {
    background: #ffffff;
    border: 1px solid #e6e6e6;
    padding: 12px 14px;
    border-radius: 10px;
    margin: 12px 0;
    font-family: Arial, sans-serif;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

/* ====== ОТСТУПЫ ПО УРОВНЯМ ====== */
.sm-reply.level-0 { margin-left: 0; }
.sm-reply.level-1 { margin-left: 20px; background: #f7faff; }
.sm-reply.level-2 { margin-left: 40px; background: #f0f6ff; }
.sm-reply.level-3 { margin-left: 60px; background: #e8f0ff; }

/* ====== ИМЯ АВТОРА ====== */
.sm-name {
    font-weight: bold;
    font-size: 15px;
    margin-bottom: 6px;
    color: #333;
}

/* ====== ТЕКСТ КОММЕНТАРИЯ ====== */
.sm-comment {
    font-size: 14px;
    line-height: 1.45;
    margin-bottom: 8px;
    color: #444;
}

/* ====== ДАТА ====== */
.sm-date-small {
    font-size: 12px;
    color: #777;
    margin-bottom: 10px;
}

/* ====== КОМУ АДРЕСОВАН ОТВЕТ ====== */
.sm-reply-to {
    font-size: 12px;
    color: #888;
    margin-bottom: 6px;
    font-style: italic;
}

/* ====== КНОПКА ОТВЕТА ====== */
.sm-reply-btn {
    background: #e8ecf5;
    border: 1px solid #d0d7e6;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 13px;
    cursor: pointer;
    color: #333;
    transition: 0.2s;
}

.sm-reply-btn:hover {
    background: #dce3f3;
}

/* ====== ВНУТРЕННИЕ ОТВЕТЫ ====== */
.sm-replies {
    margin-top: 10px;
    border-left: 2px solid #d0d7e6;
    padding-left: 12px;
}
/* ====== Блок объяснения статусов ====== */
.sm-status-info {
    background: #f7f7f7;
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.5;
}

.sm-status-info ul {
    list-style: none;
    padding-left: 0;
    margin: 10px 0 0 0;
}

.sm-status-info li {
    margin-bottom: 12px;
}

.sm-status-info .sm-dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 6px;
    vertical-align: middle;
}

/* ====== Комментарии и ответы ====== */
.sm-reply {
    background: #ffffff;
    border: 1px solid #e6e6e6;
    padding: 12px 14px;
    border-radius: 10px;
    margin: 12px 0;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.sm-reply.level-0 { margin-left: 0; }
.sm-reply.level-1 { margin-left: 20px; background: #f7faff; }
.sm-reply.level-2 { margin-left: 40px; background: #f0f6ff; }
.sm-reply.level-3 { margin-left: 60px; background: #e8f0ff; }

.sm-name {
    font-weight: bold;
    font-size: 15px;
    margin-bottom: 6px;
}

.sm-comment {
    font-size: 14px;
    margin-bottom: 8px;
}

.sm-date-small {
    font-size: 12px;
    color: #777;
    margin-bottom: 10px;
}

.sm-reply-to {
    font-size: 12px;
    color: #888;
    margin-bottom: 6px;
    font-style: italic;
}

.sm-reply-btn {
    background: #e8ecf5;
    border: 1px solid #d0d7e6;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 13px;
    cursor: pointer;
    transition: 0.2s;
}

.sm-reply-btn:hover {
    background: #dce3f3;
}

.sm-replies {
    margin-top: 10px;
    border-left: 2px solid #d0d7e6;
    padding-left: 12px;
}


