.yqr-wrap, .yqr-widget-content {
    input:invalid {
        border: 1px solid red;
    }

    label.widefat {
        display: block;
    }
}

.yqr-header-link {
    text-decoration: none;
}

.yqr-meta-box {
    img {
        cursor: pointer;
    }
}

.yqr-options-box-label {
    margin-bottom: 0;
}
.yqr-options-box-list {
    background: white;
    border: 1px solid #ddd;
    box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.07) inset;
    max-height: 7em;
    max-width: 27.7em;
    overflow-y: auto;
    padding: 3px 5px;

    .yqr-options-box-label + & {
        margin-top: 0;
    }

    li {
        margin: 0;
    }
    ul {
        margin-left: 1.25em;
    }
}

.yqr-domain-entry {
    border-collapse: collapse;
    margin: 1.25rem 0;

    th, td {
        border: none;

        &:first-child {
            text-align: center;
        }
    }

    thead tr, tfoot tr {
        background-color: #ddd;
    }

    tbody tr {
        background-color: white;

        &:nth-child(2n) {
            background-color: #eee;
        }
    }

    tfoot tr:nth-child(n+2) {
        display: none;
    }

    @media (max-width: 782px) {
        tbody tr {
            display: block;
            margin: 1em 0;
        }

        th, td {
            display: block;
            padding: 0;

            &:first-child {
                float: left;
                width: 2rem;
            }
            &:nth-child(2) {
                float: left;
                width: calc(100% - 2rem);
            }
            &:last-child {
                clear: left;
            }
        }

        thead th {
            display: none;
        }
    }
}

.yqr-dashboard {
    height: 64em;
    width: 100%;
    max-width: 95vw;
}

.yqr-tab-bar {
    border-bottom: 1px solid #ccc;
    margin-top: 1em;

    a {
        background: #e5e5e5;
        border: 1px solid #ccc;
        color: #72777c;
        display: block;
        float: left;
        font-weight: 600;
        line-height: 2em;
        margin-bottom: -1px;
        margin-left: 0.5em;
        padding: 0.3em 0.6em;
        text-decoration: none;

        &:hover, &:focus {
            background: white;
            color: #444;
        }
        &.active {
            background: #f1f1f1;
            border-bottom: 1px solid #f1f1f1;
            color: black;
        }
    }

    &::after {
        clear: both;
        content: "";
        display: block;
    }
}
