/* admin/css/griffinforms-global.css — loaded on all Griffin admin pages */

/* Sidebar */
.toplevel_page_griffinforms-forms ul li a:empty {
    display: none !important;
}

/* Admin footer brand */
.gf-admin-footer__brand {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-right: 4px;
}

.gf-admin-footer__version {
    font-size: 11px;
    color: #bbb;
    margin-left: 2px;
    position: relative;
    top: 2px;
}

.gf-admin-footer__icon {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.gf-admin-footer__wordmark {
    height: 8px;
    width: auto;
    flex-shrink: 0;
    fill: #aaa;
    position: relative;
    top: 2px;
}

.gf-admin-footer__sep {
    margin: 0 8px;
    color: #ccc;
}

.gf-admin-footer__pro-badge {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    background: #888;
    border-radius: 3px;
    padding: 1px 5px;
    line-height: 1.4;
    position: relative;
    top: 2px;
}

#wpfooter #footer-left a.gf-admin-footer__pro-badge,
#wpfooter #footer-left a.gf-admin-footer__pro-badge:hover,
#wpfooter #footer-upgrade a.gf-admin-footer__pro-badge,
#wpfooter #footer-upgrade a.gf-admin-footer__pro-badge:hover {
    text-decoration: none;
    color: #fff;
}

.gf-admin-footer__pro-badge__text {
    color: #fff;
    text-decoration: none;
}

/* Generic footer link styles */
#wpfooter #footer-left a,
#wpfooter #footer-upgrade a {
    color: #777;
    text-decoration: none;
}

#wpfooter #footer-left a:hover,
#wpfooter #footer-upgrade a:hover {
    color: #333;
    text-decoration: underline;
}

/* Footer layout on Griffin plugin pages */
.gf-is-plugin-page #wpfooter {
    display: flex;
    justify-content: center;
    align-items: center;
}

.gf-is-plugin-page #wpfooter #footer-left,
.gf-is-plugin-page #wpfooter #footer-upgrade {
    float: none;
    text-align: center;
}

/* Freemius modal header */
.fs-modal-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 16px 20px !important;
    background: #fff !important;
    border-bottom: 1px solid #e1e1e1 !important;
    border-radius: 4px 4px 0 0 !important;
}

.fs-modal-header h4 {
    margin: 0 !important;
    padding: 0 !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #1d2327 !important;
    line-height: 1.4 !important;
}

.fs-modal-header .fs-close {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 28px !important;
    height: 28px !important;
    border-radius: 4px !important;
    text-decoration: none !important;
    color: #888 !important;
    transition: background 0.15s, color 0.15s !important;
}

.fs-modal-header .fs-close:hover {
    background: #f0f0f1 !important;
    color: #1d2327 !important;
}

.fs-modal-header .fs-close .dashicons {
    font-size: 18px !important;
    width: 18px !important;
    height: 18px !important;
}
