:root {
    --wpnd-mhpro-background-color: #ffffff;
    --wpnd-mhpro-text-light-color: #ffffff;
    --wpnd-mhpro-text-dark-color: #2f3e2e;
    --wpnd-mhpro-text-color: #2f3e2e;
    --wpnd-mhpro-primary-color: #882ce1;
    --wpnd-mhpro-primary-hover-color: #7223be;
    --wpnd-mhpro-primary-soft-bg-color: #fbf8fd;
    --wpnd-mhpro-secondary-color: #2f3e2e;
    --wpnd-mhpro-secondary-hover-color: #263224;
    --wpnd-mhpro-mute-color: #e9e6eb;
    --wpnd-mhpro-mute-text-color: #5f6e5b;
    --wpnd-mhpro-pro-color: #d4af37;
    --wpnd-mhpro-danger-color: #dc3545;
    --wpnd-mhpro-danger-hover-color: #c82333;
    --wpnd-mhpro-success-color: #28a745;
    --wpnd-mhpro-success-hover-color: #1e7e34;
}

a:focus {
    outline: none;
    box-shadow: none;
}

/**
 * Button style.
 */
.wpnd-mhpro-btn-primary,
.wpnd-mhpro-btn-secondary,
.wpnd-mhpro-btn-default,
.wpnd-mhpro-danger-button {
    display: inline-block;
    font-weight: 500;
    color: var(--wpnd-mhpro-text-light-color);
    text-align: center;
    vertical-align: middle;
    user-select: none;
    background-color: var(--wpnd-mhpro-primary-color);
    border: 1px solid var(--wpnd-mhpro-primary-color);
    padding: 10px 15px;
    font-size: 14px;
    line-height: 1.5;
    border-radius: 4px;
    text-decoration: none;
    outline: none;
    box-shadow: none;
    cursor: pointer;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out,
        border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.wpnd-mhpro-btn-primary:focus,
.wpnd-mhpro-btn-secondary:focus,
.wpnd-mhpro-btn-default:focus,
.wpnd-mhpro-danger-button:focus,
.wpnd-mhpro-btn-primary:hover,
.wpnd-mhpro-btn-secondary:hover,
.wpnd-mhpro-btn-default:hover,
.wpnd-mhpro-danger-button:hover {
    background-color: var(--wpnd-mhpro-primary-hover-color);
    border: 1px solid var(--wpnd-mhpro-primary-hover-color);
    color: var(--wpnd-mhpro-text-light-color);
}

.wpnd-mhpro-btn-secondary {
    background-color: var(--wpnd-mhpro-secondary-color);
    border: 1px solid var(--wpnd-mhpro-secondary-color);
}

.wpnd-mhpro-btn-secondary:hover {
    background-color: var(--wpnd-mhpro-secondary-hover-color);
    border: 1px solid var(--wpnd-mhpro-secondary-hover-color);
}

.wpnd-mhpro-btn-default {
    background-color: var(--wpnd-mhpro-background-color);
    border: 1px solid var(--wpnd-mhpro-secondary-color);
    color: var(--wpnd-mhpro-text-color);
}

.wpnd-mhpro-btn-default:hover {
    background-color: var(--wpnd-mhpro-background-color);
    border: 1px solid var(--wpnd-mhpro-primary-color);
    color: var(--wpnd-mhpro-primary-color);
}

.wpnd-mhpro-danger-button {
    background-color: var(--wpnd-mhpro-danger-color);
    border: 1px solid var(--wpnd-mhpro-danger-color);
}

.wpnd-mhpro-danger-button:active,
.wpnd-mhpro-danger-button:focus,
.wpnd-mhpro-danger-button:hover {
    background-color: var(--wpnd-mhpro-danger-hover-color);
    border: 1px solid var(--wpnd-mhpro-danger-hover-color);
}

.wpnd-mhpro-plugin-all-cache-cleanup .wpnd-mhpro-success-notice {
    color: var(--wpnd-mhpro-success-color);
    font-weight: 600;
}

/**
 * Custom page header.
 * @since 1.6.0
 */
 .wpnd-mhpro-admin-page-header {
    background: var(--wpnd-mhpro-background-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-left: -20px;
    padding: 15px 20px;
    position: sticky;
    top: 32px;
    z-index: 999;
    border-bottom: 1px solid var(--wpnd-mhpro-mute-color);
}

.wpnd-mhpro-header-left-section,
.wpnd-mhpro-header-logo {
    display: flex;
    align-items: center;
}

.wpnd-mhpro-admin-page-header img {
    height: 50px;
    width: auto;
    margin-right: 10px;
}

.wpnd-mhpro-header-right-section ul,
    .wpnd-mhpro-header-right-section ul li {
    margin: 0;
    padding: 0;
}

.wpnd-mhpro-header-right-section .wpnd-mhpro-upgrade {
    border-radius: 30px;
}

/* Pro version style */
.wpnd-mhpro-pro-version {
    font-size: 13px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    background-color: var(--wpnd-mhpro-primary-soft-bg-color);
    border: 1px solid var(--wpnd-mhpro-mute-color);
    padding: 3px 10px;
    border-radius: 15px;
    margin: 0 10px;
}
