.visually-hidden__hard {
  display: none;
  width: 0;
  height: 0;
}


.visually-hidden__lite {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  border: 0;
  clip: rect(0 0 0 0)
}

.helper {
    position: absolute;
    right: 2%;
    top: 35%;
}

.helper_field {
    position: absolute;
    right: 2%;
}

.helper_resource {
    position: absolute;
    right: 2%;
    top: 35%;
}

.helper-form__close:hover {
    color: #2d2d2d;
}

.form-group {
    position: relative;
}

#network_address_wrapper {
  position: relative;
}

.th_with_helper {
  position: relative !important;
}

.helper_field_th {
    position: absolute;
    right: 5%;
    top: 35%;
}


.glyphicon-question-sign__blue:before {
    content: "\e085";
    color: #0c6dc4;
}

.custom_helper span {
    right: 11%;
}

.helper_in_header {
    font-size: 17px;
    margin-left: 22px;
    top: -15px;
}


.search_helper {
    font-size: 15px;
    margin-left: 8px;
    top: 2px;
}

.remove_rule_trunk_button, .add_rule_trunk_button {
    height: 30px;
}

.flex_container {
    display: flex;
    flex-direction: row;
}

/* Client Variables page */
.variables-container {
    max-width: 760px;
}

.variables_table {
    width: 100% !important;
    margin-bottom: 8px;
}

.variables-hint {
    margin: 0 0 10px;
    color: #5f6b7a;
    font-size: 13px;
}

.variable-row {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 10px;
}

.variable-key { flex: 0 0 240px; }

.variables-arrow-between {
    flex: 0 0 auto;
    color: #5cb85c;
    font-size: 24px;
    font-weight: bold;
    line-height: 1;
}

.variable-value { flex: 1 1 auto; }

.variable-actions {
    display: flex;
    gap: 6px;
}

@media (max-width: 900px) {
    .variables-container { padding-right: 10px; }
    .variable-row { flex-direction: column; }
    .variable-key, .variable-value { flex: 1 1 auto; width: 100%; }
    .variable-actions { width: 100%; }
}

/* Global Access Lists layout tweaks */
.global-access-container {
    margin: 0 auto 32px;
}

.global-access-card {
    background: #f7f9fc;
    border: 1px solid #e3e6ed;
    border-radius: 12px;
    padding: 18px 20px 16px;
    box-shadow: 0 6px 18px rgba(17, 24, 39, 0.05);
    margin-bottom: 24px;
}

.global-access-card h4 {
    margin-top: 0;
    margin-bottom: 8px;
    font-weight: 600;
}

.global-access-hint {
    margin-top: 0;
    margin-bottom: 14px;
    color: #5f6b7a;
    font-size: 13px;
}

.network-row {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 10px 12px;
    border: 1px solid #e3e6ed;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(17, 24, 39, 0.04);
}

.network-row + .network-row {
    margin-top: 12px;
}

.network-address-block {
    flex: 0 0 240px;
}

.network-address-block .form-control {
    width: 100%;
    min-width: 200px;
}

.network-description-block {
    flex: 1 1 0;
}

.network-description-block textarea {
    min-height: 52px;
}

.network-actions {
    display: flex;
    flex-direction: row;
    gap: 8px;
    padding-top: 2px;
}

.network-actions .btn {
    min-width: 34px;
}

.network-actions .glyphicon {
    top: 0;
}

.network-row-footer {
    display: flex;
    justify-content: flex-end;
    margin-top: 16px;
}

@media (max-width: 900px) {
    .global-access-container {
        padding: 0 10px;
    }

    .network-row {
        flex-direction: column;
    }

    .network-address-block,
    .network-description-block {
        width: 100%;
        flex: 1 1 auto;
    }

    .network-actions {
        width: 100%;
        padding-top: 0;
    }
}
