/*
 * Styles for the Broken Links Checker Dashboard
 */

#blc-dashboard-wrapper {
    margin-top: 30px;
}

.pages-scanned-cell, .last-run-cell {
    text-align: center; /* Center the spinner and last run text */
}

.blc-actions-cell {
    text-align: center !important;
}

.blc-icon-button {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 36px !important;
    height: 36px !important;
    margin: 0 5px !important;
    border-radius: 4px !important;
}

.blc-favicon {
    vertical-align: middle;
    margin-right: 8px;
}

/*
 * Spinner Animations
 */

/* Spinner for the main "Refresh Stats" button icon */
.dashicons.spin {
    -webkit-animation: blc-spin 1s infinite linear !important;
    animation: blc-spin 1s infinite linear !important;
}

/* Spinner for table cells */
.blc-loader-green {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(46, 179, 124, 0.3);
    border-radius: 50%;
    border-top-color: #2eb37c;
    -webkit-animation: blc-spin 1s ease-in-out infinite !important;
    animation: blc-spin 1s ease-in-out infinite !important;
}

/* Keyframes for the spinning animation */
@-webkit-keyframes blc-spin {
    to { -webkit-transform: rotate(360deg); }
}

@keyframes blc-spin {
    to {
        transform: rotate(360deg);
    }
}
