/* ============================================================
   DIGIT COUNTER
   Page-specific styles
   ============================================================ */


/* ============================================================
   BASE PAGE
   ============================================================ */

html {
    margin: 0;
    padding: 0;
    border: none;
    font-family: Arial, sans-serif;
}


.digit-page {
    width: 100%;
    padding: 105px 15px 30px;
    color: #333;
    font-family: Arial, sans-serif;
}


.digit-page *,
.digit-page *::before,
.digit-page *::after {
    box-sizing: border-box;
}


.digit-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    align-items: start;
    gap: 28px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}


.digit-main {
    width: 100%;
    min-width: 0;
}


.digit-tool-section {
    width: 100%;
}


.digit-page button,
.digit-page select,
.digit-page textarea {
    font-family: Arial, sans-serif;
}


.digit-page a {
    color: #1155cc;
    text-decoration: none;
}


.digit-page a:hover {
    text-decoration: underline;
}


/* ============================================================
   PAGE HEADING
   ============================================================ */

.digit-heading {
    margin-bottom: 22px;
    text-align: center;
}


.digit-heading h1 {
    margin: 0 0 10px;
    padding: 0;
    color: #333;
    font-size: 32px;
    line-height: 1.25;
    font-weight: 700;
}


.digit-intro {
    max-width: 720px;
    margin: 0 auto;
    color: #555;
    font-size: 17px;
    line-height: 1.55;
}


/* ============================================================
   PRIMARY METRICS
   ============================================================ */

.primary-metrics {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    width: 100%;
    margin-bottom: 14px;
    overflow: visible;
}


.metric-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 0;
    text-align: center;
    border: 1px solid #d9dde3;
    border-radius: 9px;
    background: #fff;
}


.primary-metric {
    position: relative;
    min-height: 105px;
    padding: 15px 10px;
    overflow: visible;
}


.secondary-metric {
    min-height: 82px;
    padding: 12px 8px;
}


.metric-label {
    display: block;
    color: #555;
    font-size: 15px;
    line-height: 1.3;
    font-weight: 600;
}


.metric-value {
    display: block;
    min-width: 0;
    max-width: 100%;
    margin-top: 7px;
    color: #1a73e8;
    font-size: 31px;
    line-height: 1;
    font-weight: 700;
    overflow-wrap: anywhere;
}


.secondary-metric .metric-value {
    font-size: 23px;
}


/* ============================================================
   METRIC INFO POPUP
   ============================================================ */

.metric-label-with-info {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}


.metric-info-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
}


.metric-info-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 17px;
    height: 17px;
    margin: 0;
    padding: 0;
    border: 1px solid #8a8f98;
    border-radius: 50%;
    background: transparent;
    color: #666;
    font-size: 11px;
    line-height: 1;
    font-weight: 700;
    cursor: help;
}


.metric-info-button:hover,
.metric-info-button:focus {
    border-color: #555;
    color: #333;
    outline: none;
}


.metric-info-button:focus-visible {
    outline: 2px solid #555;
    outline-offset: 2px;
}


.metric-info-popup {
    position: absolute;
    z-index: 100;
    bottom: calc(100% + 9px);
    left: 50%;
    width: 220px;
    max-width: calc(100vw - 24px);
    padding: 9px 10px;
    border-radius: 6px;
    background: #333;
    color: #fff;
    font-size: 12px;
    line-height: 1.4;
    font-weight: 400;
    text-align: left;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(-50%) translateY(3px);
    transition:
        opacity 0.15s ease,
        transform 0.15s ease,
        visibility 0.15s ease;
}


.metric-info-popup::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 5px;
    border-style: solid;
    border-color: #333 transparent transparent transparent;
}


.metric-info-wrapper:hover .metric-info-popup,
.metric-info-wrapper:focus-within .metric-info-popup {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}


/* ============================================================
   NUMBERS INFO POPUP
   Right-align popup so it cannot run off the viewport
   ============================================================ */

.primary-metrics .primary-metric:last-child .metric-info-popup {
    right: -8px;
    left: auto;
    max-width: calc(100vw - 24px);
    transform: translateY(3px);
}


.primary-metrics .primary-metric:last-child .metric-info-popup::after {
    right: 11px;
    left: auto;
    transform: none;
}


.primary-metrics .primary-metric:last-child .metric-info-wrapper:hover .metric-info-popup,
.primary-metrics .primary-metric:last-child .metric-info-wrapper:focus-within .metric-info-popup {
    transform: translateY(0);
}


/* ============================================================
   TEXTAREA
   ============================================================ */

.textarea-card {
    width: 100%;
}


.textarea-wrapper {
    position: relative;
    width: 100%;
}


#userWord {
    display: block;
    width: 100%;
    max-width: 100%;
    height: 300px;
    min-height: 80px;
    margin: 0;
    padding: 17px 18px 58px;
    border: 2px solid #c9ced6;
    border-radius: 10px;
    background: #fff;
    color: #222;
    outline: none;
    resize: vertical;
    white-space: pre-wrap;
    overflow-wrap: break-word;
    font-family: "Anonymous Pro", monospace;
    font-size: 15px;
    line-height: 1.55;
    transition:
        border-color 0.15s ease,
        box-shadow 0.15s ease;
}


#userWord:hover {
    border-color: #aeb4bd;
}


#userWord:focus {
    border-color: #5f6368;
    box-shadow: 0 0 0 2px rgba(95, 99, 104, 0.08);
}


#userWord::placeholder {
    color: #8a8f98;
    opacity: 1;
}


/* ============================================================
   TEXTAREA BUTTONS
   ============================================================ */

.textarea-actions {
    position: absolute;
    right: 20px;
    bottom: 11px;
    display: flex;
    align-items: center;
    gap: 7px;
}


.textarea-button {
    min-width: 66px;
    padding: 7px 12px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 6px;
    color: #fff !important;
    font-size: 13px;
    line-height: 1.2;
    font-weight: 600;
    cursor: pointer;
    opacity: 0.91;
    transition:
        opacity 0.15s ease,
        background-color 0.15s ease,
        transform 0.15s ease;
}


.textarea-button:hover {
    opacity: 1;
    text-decoration: none;
}


.textarea-button:active {
    transform: translateY(1px);
}


.textarea-button:focus-visible {
    outline: 2px solid #333;
    outline-offset: 2px;
}


.copy-button {
    background: #287a38;
}


.copy-button:hover {
    background: #216b30;
}


.copy-button.copied {
    background: #245f30;
}


.clear-button {
    background: #c94740;
}


.clear-button:hover {
    background: #b43d37;
}


.clear-button.undo-active {
    background: #5d6875;
}


.clear-button.undo-active:hover {
    background: #4c5661;
}


/* ============================================================
   DIGIT FREQUENCY
   ============================================================ */

.digit-details {
    width: 100%;
    margin-top: 20px;
    padding: 20px;
    border: 1px solid #d9dde3;
    border-radius: 10px;
    background: #fff;
}


.details-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 16px;
}


.details-header > div:first-child {
    min-width: 0;
}


.details-header h2 {
    margin: 0 0 5px;
    padding: 0;
    color: #333;
    font-size: 22px;
    line-height: 1.3;
    font-weight: 700;
}


.details-header p {
    margin: 0;
    color: #666;
    font-size: 14px;
    line-height: 1.5;
}


.details-sort {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
}


.details-sort label {
    color: #555;
    font-size: 14px;
    line-height: 1.3;
    font-weight: 600;
}


#digitSort {
    min-width: 145px;
    padding: 7px 29px 7px 9px;
    border: 1px solid #c8cdd4;
    border-radius: 6px;
    background: #fff;
    color: #333;
    outline: none;
    font-size: 14px;
    line-height: 1.3;
    cursor: pointer;
}


#digitSort:hover {
    border-color: #aeb4bd;
}


#digitSort:focus {
    border-color: #666;
}


/* ============================================================
   DIGIT FREQUENCY TABLE
   ============================================================ */

.digit-table-wrapper {
    width: 100%;
    overflow: hidden;
    border: 1px solid #e0e3e7;
    border-radius: 8px;
}


.digit-table {
    width: 100%;
    min-width: 0;
    border-collapse: collapse;
    table-layout: fixed;
    color: #333;
    font-size: 14px;
}


.digit-table th,
.digit-table td {
    padding: 11px 12px;
    border-bottom: 1px solid #e2e5e9;
    vertical-align: middle;
}


.digit-table th {
    background: #f4f5f7;
    color: #444;
    font-weight: 700;
}


.digit-table tbody td {
    background: #fff;
}


.digit-table tbody tr:last-child td {
    border-bottom: none;
}


.digit-table tbody tr:hover td {
    background: #fafafa;
}


.digit-column,
.digit-cell {
    width: 34%;
    text-align: left;
}


.digit-count-column,
.digit-count-cell {
    width: 33%;
    text-align: center;
}


.digit-percentage-column,
.digit-percentage-cell {
    width: 33%;
    text-align: right;
}


.digit-cell {
    color: #333;
    font-size: 16px;
    font-weight: 700;
}


.digit-count-cell {
    color: #444;
    font-weight: 600;
}


.digit-percentage-cell {
    color: #555;
}


/* ============================================================
   DIGIT FREQUENCY TOTAL ROW
   ============================================================ */

.digit-table tfoot td {
    padding: 11px 12px;
    border-top: 2px solid #cfd4db;
    border-bottom: none;
    background: #f4f5f7;
    color: #333;
    font-weight: 700;
}


.digit-total-row td:first-child {
    width: 34%;
    text-align: left;
}


.digit-total-row td:nth-child(2) {
    width: 33%;
    text-align: center;
}


.digit-total-row td:nth-child(3) {
    width: 33%;
    text-align: right;
}


/* ============================================================
   BOTTOM METRICS
   ============================================================ */

.bottom-metrics {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 10px;
    width: 100%;
    margin-top: 14px;
    margin-bottom: 24px;
}


.bottom-metrics .secondary-metric:nth-child(1),
.bottom-metrics .secondary-metric:nth-child(2),
.bottom-metrics .secondary-metric:nth-child(3) {
    grid-column: span 2;
}


.bottom-metrics .secondary-metric:nth-child(4),
.bottom-metrics .secondary-metric:nth-child(5) {
    grid-column: span 3;
}


.bottom-metrics .secondary-metric {
    min-height: 82px;
    padding: 12px 8px;
}


.bottom-metrics .metric-label {
    font-size: 14px;
}


.bottom-metrics .metric-value {
    font-size: 23px;
    line-height: 1.15;
}


#most-frequent-digit,
#least-frequent-digit {
    white-space: normal;
    word-break: normal;
    overflow-wrap: anywhere;
}


/* ============================================================
   TOOL RECOMMENDATION
   ============================================================ */

.tool-recommendation {
    margin-top: 20px;
    padding: 14px 16px;
    border: 1px solid #d6dde7;
    border-radius: 8px;
    background: #f7faff;
}


.tool-recommendation p {
    margin: 0;
    color: #444;
    font-size: 15px;
    line-height: 1.55;
}


/* ============================================================
   INFORMATIONAL CONTENT
   ============================================================ */

.digit-content {
    width: 100%;
    margin-top: 34px;
    color: #333;
    font-size: 17px;
    line-height: 1.7;
}


.digit-content h2 {
    margin: 34px 0 12px;
    padding: 0;
    color: #292929;
    font-size: 25px;
    line-height: 1.3;
    font-weight: 700;
}


.digit-content h2:first-child {
    margin-top: 0;
}


.digit-content h3 {
    margin: 26px 0 9px;
    padding: 0;
    color: #333;
    font-size: 20px;
    line-height: 1.35;
    font-weight: 700;
}


.digit-content p {
    margin: 0 0 17px;
    padding: 0;
    color: #444;
    font-size: 17px;
    line-height: 1.7;
}


.digit-content strong {
    color: #333;
}


.digit-content a strong {
    color: inherit;
}


.digit-content ol,
.digit-content ul {
    margin: 8px 0 20px 28px;
    padding: 0;
    color: #444;
    list-style-position: outside;
}


.digit-content ol {
    list-style-type: decimal;
}


.digit-content ul {
    list-style-type: disc;
}


.digit-content li {
    margin-bottom: 8px;
    padding-left: 3px;
    color: #444;
    font-size: 17px;
    line-height: 1.65;
}


.digit-content ol li {
    list-style: decimal;
}


.digit-content ul li {
    list-style: disc;
}


/* ============================================================
   HOW TO COUNT DIGITS
   ============================================================ */

.digit-content ol.how-to-count-digits-list > li::marker {
    font-weight: 700 !important;
}


/* ============================================================
   FAQ
   ============================================================ */

.faq-section {
    margin-top: 38px;
}


.faq-section > h2 {
    margin-bottom: 16px;
}


.faq-item {
    padding: 17px 0;
    border-bottom: 1px solid #e1e4e8;
}


.faq-item:first-of-type {
    border-top: 1px solid #e1e4e8;
}


.faq-item h3 {
    margin: 0 0 8px;
    color: #333;
    font-size: 18px;
    line-height: 1.4;
}


.faq-item p {
    margin: 0;
}


/* ============================================================
   BOTTOM TOOL LINK
   ============================================================ */

.bottom-tool-link {
    margin-top: 28px;
    padding: 15px 17px;
    border: 1px solid #d6dde7;
    border-radius: 8px;
    background: #f7faff;
}


.bottom-tool-link p {
    margin: 0;
}


/* ============================================================
   RAPTIVE / ADTHRIVE SIDEBAR

   Keep this element simple. Raptive injects its own ad content
   into the #sidebar hook.
   ============================================================ */

#sidebar {
    width: 300px;
    min-width: 300px;
    min-height: 600px;
    margin: 0;
    padding: 0;
    align-self: stretch;
    background: transparent;
    border: 0;
    overflow: visible;
}


/* Help injected ad elements remain centered */

#sidebar iframe,
#sidebar ins,
#sidebar img {
    display: block;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}


/* ============================================================
   MEDIUM SCREENS
   ============================================================ */

@media only screen and (max-width: 1150px) {

    .digit-page {
        padding-left: 12px;
        padding-right: 12px;
    }


    .digit-layout {
        gap: 20px;
    }


    .digit-heading h1 {
        font-size: 29px;
    }


    .digit-intro {
        font-size: 16px;
    }


    .primary-metrics {
        gap: 8px;
    }


    .primary-metric {
        min-height: 96px;
        padding: 12px 7px;
    }


    .metric-label {
        font-size: 13px;
    }


    .metric-value {
        font-size: 27px;
    }


    .metric-info-button {
        width: 16px;
        height: 16px;
        font-size: 10px;
    }


    .metric-info-popup {
        width: 210px;
    }


    #userWord {
        height: 270px;
        min-height: 80px;
        font-size: 15px;
    }


    .digit-details {
        padding: 18px 14px;
    }


    .details-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }


    .details-header h2 {
        font-size: 22px;
    }


    .details-header p {
        font-size: 14px;
    }


    .details-sort {
        width: 100%;
    }


    .details-sort label {
        font-size: 14px;
    }


    #digitSort {
        flex: 1;
        max-width: 190px;
        font-size: 14px;
    }


    .digit-table {
        width: 100%;
        table-layout: fixed;
        font-size: 13.5px;
    }


    .digit-table th,
    .digit-table td {
        padding: 10px 9px;
    }


    .digit-content {
        font-size: 16px;
    }


    .digit-content p,
    .digit-content li {
        font-size: 16px;
    }


    .digit-content h2 {
        font-size: 23px;
    }


    .digit-content h3 {
        font-size: 19px;
    }

}


/* ============================================================
   SWITCH TO SINGLE COLUMN

   Desktop sidebar remains available above 992px.
   ============================================================ */

@media only screen and (max-width: 992px) {

    .digit-layout {
        grid-template-columns: minmax(0, 1fr);
        max-width: 900px;
    }


    #sidebar {
        display: none;
    }


    .digit-page {
        padding-top: 100px;
    }

}


/* ============================================================
   MOBILE
   ============================================================ */

@media only screen and (max-width: 550px) {

    .digit-page {
        padding-top: 92px;
        padding-left: 10px;
        padding-right: 10px;
    }


    .digit-heading {
        margin-bottom: 18px;
    }


    .digit-heading h1 {
        font-size: 27px;
    }


    .digit-intro {
        font-size: 15px;
        line-height: 1.5;
    }


    /* ========================================================
       PRIMARY METRICS
       ======================================================== */

    .primary-metrics {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 6px;
    }


    .primary-metric {
        min-height: 88px;
        padding: 10px 4px;
        border-radius: 7px;
    }


    .metric-label {
        font-size: 11.5px;
        line-height: 1.25;
    }


    .metric-value {
        margin-top: 6px;
        font-size: 24px;
    }


    .metric-label-with-info {
        gap: 3px;
    }


    .metric-info-button {
        width: 15px;
        height: 15px;
        font-size: 9px;
    }


    .metric-info-popup {
        width: 185px;
        max-width: calc(100vw - 20px);
        padding: 8px 9px;
        font-size: 11px;
    }


    .primary-metrics .primary-metric:last-child .metric-info-popup {
        right: -5px;
        max-width: calc(100vw - 20px);
    }


    .primary-metrics .primary-metric:last-child .metric-info-popup::after {
        right: 8px;
    }


    /* ========================================================
       TEXTAREA
       ======================================================== */

    #userWord {
        height: 235px;
        min-height: 80px;
        padding: 14px 13px 55px;
        border-radius: 8px;
        font-size: 15px;
        line-height: 1.5;
    }


    .textarea-actions {
        right: 17px;
        bottom: 9px;
        gap: 6px;
    }


    .textarea-button {
        min-width: 59px;
        padding: 6px 10px;
        font-size: 12px;
    }


    /* ========================================================
       DIGIT FREQUENCY
       ======================================================== */

    .digit-details {
        margin-top: 16px;
        padding: 15px 9px;
        border-radius: 8px;
    }


    .details-header {
        gap: 10px;
        margin-bottom: 13px;
    }


    .details-header h2 {
        font-size: 20px;
    }


    .details-header p {
        font-size: 13px;
    }


    .details-sort {
        gap: 7px;
    }


    .details-sort label {
        font-size: 13px;
    }


    #digitSort {
        max-width: 175px;
        min-width: 0;
        padding-top: 6px;
        padding-bottom: 6px;
        font-size: 13px;
    }


    .digit-table-wrapper {
        border-radius: 7px;
    }


    .digit-table {
        font-size: 13px;
    }


    .digit-table th,
    .digit-table td {
        padding: 9px 7px;
    }


    .digit-column,
    .digit-cell,
    .digit-total-row td:first-child {
        width: 30%;
    }


    .digit-count-column,
    .digit-count-cell,
    .digit-total-row td:nth-child(2) {
        width: 30%;
    }


    .digit-percentage-column,
    .digit-percentage-cell,
    .digit-total-row td:nth-child(3) {
        width: 40%;
    }


    .digit-cell {
        font-size: 15px;
    }


    .digit-table tfoot td {
        padding: 9px 7px;
    }


    /* ========================================================
       BOTTOM METRICS
       ======================================================== */

    .bottom-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 7px;
        margin-top: 12px;
        margin-bottom: 20px;
    }


    .bottom-metrics .secondary-metric:nth-child(1),
    .bottom-metrics .secondary-metric:nth-child(2),
    .bottom-metrics .secondary-metric:nth-child(3),
    .bottom-metrics .secondary-metric:nth-child(4),
    .bottom-metrics .secondary-metric:nth-child(5) {
        grid-column: auto;
    }


    .bottom-metrics .secondary-metric:nth-child(5) {
        grid-column: 1 / -1;
    }


    .bottom-metrics .secondary-metric {
        min-height: 74px;
        padding: 9px 5px;
    }


    .bottom-metrics .metric-label {
        font-size: 12px;
    }


    .bottom-metrics .metric-value {
        font-size: 21px;
    }


    #most-frequent-digit,
    #least-frequent-digit {
        font-size: 20px;
        line-height: 1.2;
    }


    /* ========================================================
       RECOMMENDATION
       ======================================================== */

    .tool-recommendation {
        margin-top: 15px;
        padding: 12px 13px;
    }


    .tool-recommendation p {
        font-size: 14px;
    }


    /* ========================================================
       CONTENT
       ======================================================== */

    .digit-content {
        margin-top: 28px;
    }


    .digit-content h2 {
        margin-top: 29px;
        font-size: 22px;
    }


    .digit-content h3 {
        margin-top: 22px;
        font-size: 18px;
    }


    .digit-content p,
    .digit-content li {
        font-size: 16px;
        line-height: 1.65;
    }


    .digit-content ol,
    .digit-content ul {
        margin-left: 23px;
    }


    .faq-item {
        padding: 15px 0;
    }


    .faq-item h3 {
        font-size: 17px;
    }

}


/* ============================================================
   VERY SMALL MOBILE
   ============================================================ */

@media only screen and (max-width: 390px) {

    .digit-page {
        padding-left: 8px;
        padding-right: 8px;
    }


    .primary-metrics {
        gap: 4px;
    }


    .metric-card {
        border-radius: 6px;
    }


    .metric-label {
        font-size: 10.5px;
    }


    .metric-value {
        font-size: 22px;
    }


    .metric-info-button {
        width: 14px;
        height: 14px;
        font-size: 9px;
    }


    .metric-info-popup {
        width: 170px;
        max-width: calc(100vw - 16px);
        font-size: 10.5px;
    }


    .primary-metrics .primary-metric:last-child .metric-info-popup {
        right: -3px;
        max-width: calc(100vw - 16px);
    }


    .primary-metrics .primary-metric:last-child .metric-info-popup::after {
        right: 6px;
    }


    #userWord {
        min-height: 80px;
        font-size: 15px;
    }


    .textarea-button {
        min-width: 55px;
        padding-left: 8px;
        padding-right: 8px;
    }


    .digit-details {
        padding-left: 6px;
        padding-right: 6px;
    }


    .details-header {
        padding-left: 3px;
        padding-right: 3px;
    }


    .details-header h2 {
        font-size: 20px;
    }


    .details-header p {
        font-size: 13px;
    }


    .details-sort {
        align-items: center;
    }


    .details-sort label {
        flex: 0 0 auto;
    }


    #digitSort {
        width: 100%;
        max-width: 165px;
        font-size: 12.5px;
    }


    .digit-table {
        font-size: 12px;
    }


    .digit-table th,
    .digit-table td {
        padding: 8px 5px;
    }


    .digit-cell {
        font-size: 14px;
    }


    .digit-column,
    .digit-cell,
    .digit-total-row td:first-child {
        width: 28%;
    }


    .digit-count-column,
    .digit-count-cell,
    .digit-total-row td:nth-child(2) {
        width: 30%;
    }


    .digit-percentage-column,
    .digit-percentage-cell,
    .digit-total-row td:nth-child(3) {
        width: 42%;
    }


    .digit-table tfoot td {
        padding: 8px 5px;
    }


    .bottom-metrics {
        gap: 5px;
    }


    .bottom-metrics .secondary-metric {
        min-height: 70px;
        padding: 8px 4px;
    }


    .bottom-metrics .metric-label {
        font-size: 11px;
    }


    .bottom-metrics .metric-value {
        font-size: 20px;
    }


    #most-frequent-digit,
    #least-frequent-digit {
        font-size: 19px;
    }


    .tool-recommendation {
        padding-left: 11px;
        padding-right: 11px;
    }


    .bottom-tool-link {
        padding: 13px 14px;
    }

}