.matomo-tracking-form tr {
    padding: 6px 0;
}

.matomo-tracking-form th {
    width: 30%;
    vertical-align: top;
}

.matomo-tracking-form th label {
    vertical-align: baseline;
}

ul.matomo-list {
    list-style-type: disc;
    margin-left: 20px;
}
ol.matomo-list {
    list-style-type: decimal;
    margin-left: 20px;
}

.matomo-plugin-list .plugin-card-top {
    min-height: auto;
}

.matomo-plugin-list .plugin-card-top .matomo-description {
    min-height: 80px;
}
.matomo-plugin-row-2 {
    max-width: 1082px;
}
.matomo-plugin-row-2 .plugin-card-top .matomo-description {
    min-height: 50px;
}

.matomo-plugin-list .plugin-card .desc > p.matomo-description,
.matomo-plugin-list .plugin-card .desc > p.authors {
    margin: 1em 0;
}

.matomo-marketplace-notice .dashicons-video-alt3 {
    display: inline-block;
}
.matomo-blockquote {
    margin: .5em 10px;
    border-left: 4px solid #ccc;
    padding-left: 10px;
    font-weight: bold;
}
.matomo-footer {
    margin-top: 48px;
    text-align: center;
}

.matomo-footer ul {
    list-style: none;
    padding: 0 0 0 20px;
    font-size: 13px;
    line-height: 18px;
}

.matomo-footer ul li {
    display: inline-block;
    margin: 0 20px 10px;
}

.matomo-header-icon-full, .matomo-header-icon {
    height: 32px;
    vertical-align: top;
    margin-right: 8px;
}

.matomo-header-icon {
    border-radius: 50%;
}

.matomo-footer ul a {
    color: #37474f;
}
.matomo-systemreport .widefat .warning td {
    color: orange;
}

.matomo-systemreport .widefat .error td {
    color: red;
}

.matomo-systemreport .widefat .section {
    font-weight: bold;
}

.matomo-dashboard-container .postbox-container {
    min-width: 40%;
}

.postbox .table .widefat.matomo-table {
    border: 0;
}

#matomo_default_tracking_code textarea {
    width: 100%;
    height: 280px;
}
#matomo_default_tracking_code textarea.no_script {
    height: 50px;
}

table.matomo-tracking-form textarea {
    display: inline-block;
    width: 95%;
}

table.matomo-tracking-form th {
    max-width: 30%;
}

/* toggle styles */
.matomo-toggle {
    position: relative;
    display: inline-block;
    width: 2.375em;
    height: 1.345em;
}
.matomo-toggle input {
    height: 0;
    width: 0;
    opacity: 0;
}
.matomo-toggle .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
    border-radius: 1.345em;
}
.matomo-toggle .slider:before {
    position: absolute;
    content: "";
    height: 1.03em;
    width: 1.03em;
    left: .15835em;
    bottom: .15835em;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
    border-radius: 50%;
}
.matomo-toggle input:checked + .slider {
    background-color: #2271b1;
}
.matomo-toggle input:focus + .slider {
    box-shadow: 0 0 1px #2271b1;
}
.matomo-toggle input:checked + .slider:before {
    -webkit-transform: translateX(1.03em);
    -ms-transform: translateX(1.03em);
    transform: translateX(1.03em);
}

#toplevel_page_matomo a.matomo-notification-dot {
    position: relative;
    display: inline-block;
}

#toplevel_page_matomo .matomo-notification-dot::before {
    content: " ";
    position: absolute;
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: #d63638;
    border-radius: 50%;
    right: 2px;
}

.notice.matomo-whats-new {
    border-left-color: #9D2235;
}

.notice.matomo-whats-new .button-primary {
    background-color: #9D2235;
    border-color: #9D2235;
}

.notice.matomo-whats-new h6 {
    margin: 0;
    font-style: italic;
    color: #9D2235;
    font-size: .8em;
}

.notice.matomo-whats-new h3 {
    font-size: 1.6em;
    margin: 6px 0;
}

.matomo-plugin-list.matomo-new-plugins .plugin-card {
    position: relative;
}

.matomo-plugin-list.matomo-new-plugins .plugin-card .matomo-new-marker {
    position: absolute;
    right: 8px;
    top: 8px;
    font-style: italic;
    color: #9D2235;
}

.plugin-price {
    font-weight: bold;
    color: #f77b00;
}

.matomo-inline-notice {
    padding: 1em;
}

.matomo-inline-notice.matomo-warning {
    background-color: rgba(255, 165, 0, 0.2);
}

.matomo-marketplace-wizard {
    width: 100%;
    max-width: 700px;
    background-color: white;
    box-shadow: 0 1px 2px rgba(0,0,0,.3);
    border-radius: 3px;
    padding-top: 48px;
    position: relative;
    margin: 32px auto 0 auto;
}

.matomo-marketplace-wizard-header {
    position: absolute;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
    top: 0;
    left: 0;
    right: 0;
    height: 48px;
    background-color: #e9e9e9;
}

.matomo-marketplace-wizard-logo {
    top: -14px;
    left: calc(50% - 38px);
    position: absolute;
    border-radius: 50%;
    background-color: white;
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #ccc;
}

.matomo-marketplace-wizard .matomo-marketplace-wizard-body {
    padding: 24px;
}

.matomo-marketplace-wizard-logo img {
    width: 64px;
    border-radius: 50%;
}

.matomo-marketplace-wizard-body .wizard-steps-header {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
}

.matomo-marketplace-wizard-body .wizard-steps-header .step-title {
    text-transform: uppercase;
    flex: 1;
    color: #888;
}

.matomo-marketplace-wizard-body .wizard-steps-header .divider {
    width: 33px;
}

.matomo-marketplace-wizard-body .wizard-steps {
    display: flex;
    flex-direction: row;
    align-items: stretch;
}

.matomo-marketplace-wizard-body .wizard-steps .step {
    flex: 1;
    padding-right: 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 6px;
}

.matomo-marketplace-wizard-body .wizard-steps .divider {
    width: 1px;
    background-color: #aaa;
    margin: 0 16px;
}

.matomo-marketplace-wizard-body .wizard-footer p{
    font-size: 0.9em;
    margin-top: 24px;
}

.mtm-wp-gte-7 #adminmenu #toplevel_page_matomo li:hover a .awaiting-mod,
.mtm-wp-gte-7 #adminmenu #toplevel_page_matomo li.current a .awaiting-mod {
    background-color: var(--wp-admin-theme-color, #3858e9);
}

.matomo-primary-color-fg {
    color: #2271b1;
}

.matomo-primary-color-fill {
    fill: #2271b1;
}

.matomo-secondary-color-fg {
    color: #f6f7f7;
}

.matomo-primary-color-bg {
    background-color: #2271b1;
}

.matomo-secondary-color-bg {
    background-color: #f6f7f7;
}

.mtm-wp-gte-7 .matomo-primary-color-fg {
    color: var(--wp-admin-theme-color, #3858e9);
}

.mtm-wp-gte-7 .matomo-primary-color-fill {
    fill: var(--wp-admin-theme-color, #3858e9);
}

.mtm-wp-gte-7 .matomo-secondary-color-fg {
    color: white;
}

.mtm-wp-gte-7 .matomo-primary-color-bg {
    background-color: var(--wp-admin-theme-color, #3858e9);
}

.mtm-wp-gte-7 .matomo-secondary-color-bg {
    background-color: white;
}

.mtm-wp-gte-7 .matomo-toggle input:checked + .slider {
    background-color: var(--wp-admin-theme-color, #3858e9);
}
