.sm_sms_tabs {
    margin-top: 16px;
    margin-bottom: 0;
}

.sm_sms_templates_table textarea {
    width: 100%;
    resize: vertical;
    font-size: 12px;
    line-height: 1.5;
    font-family: monospace;
}

.sm_sms_templates_table td {
    vertical-align: top;
    padding: 10px 8px;
}

.sm_sms_templates_table .sm_col_status {
    width: 180px;
}

.sm_sms_templates_table .sm_col_enabled {
    width: 80px;
    text-align: center;
}

.sm_sms_templates_table .sm_col_default {
    width: 60px;
    text-align: center;
}

.sm_sms_templates_table .sm_col_chars {
    width: 60px;
    text-align: center;
}

.sm_sms_counter {
    font-size: 12px;
    font-weight: 600;
    color: #555;
}

.sm_sms_counter.over_limit {
    color: #dc3232;
}

.sm_sms_status {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: #fff;
}

.sm_sms_status_sent {
    background-color: #31b404;
}

.sm_sms_status_failed {
    background-color: #dc3232;
}

.sm_sms_status_test {
    background-color: #e68a00;
}

code.sm_var {
    display: inline-block;
    margin: 2px 3px;
    padding: 1px 6px;
    background: #f0f0f1;
    border: 1px solid #c3c4c7;
    border-radius: 3px;
    cursor: pointer;
    font-size: 12px;
    transition: background 0.15s, color 0.15s;
}

code.sm_var:hover {
    background: #2271b1;
    border-color: #2271b1;
    color: #fff;
}

.sm_tpl_toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
}

.sm_tpl_toolbar_label {
    font-weight: 600;
    margin-right: 2px;
}

.sm_tpl_toolbar_sep {
    margin-left: 10px;
}

.sm_tpl_default_btn {
    font-size: 14px;
    line-height: 1;
    padding: 3px 7px;
}

.sm_sms_hidden {
    display: none;
}

.sm_tpl_save_row {
    margin-top: 15px;
}

.sm_sms_search_input {
    width: 280px;
}

.sm_sms_log_table .sm_col_id {
    width: 50px;
}

.sm_sms_log_table .sm_col_order {
    width: 80px;
}

.sm_sms_log_table .sm_col_status {
    width: 120px;
}

.sm_sms_log_table .sm_col_recipient {
    width: 150px;
}

.sm_sms_log_table .sm_col_badge {
    width: 80px;
}

.sm_sms_log_table .sm_col_date {
    width: 140px;
}

.sm_sms_empty_cell {
    text-align: center;
    padding: 20px;
}

.sm_sms_pagination {
    margin-top: 10px;
}

.sm_sms_pagination_info {
    margin: 0 10px;
    line-height: 30px;
}