#griffinforms-app-statusbar {
    position: relative;
    gap: 0.5rem;
}

#griffinforms-app-statusbar .gf-statusbar-left,
#griffinforms-app-statusbar .gf-statusbar-middle,
#griffinforms-app-statusbar .gf-statusbar-right {
    min-height: 24px;
}

#griffinforms-app-statusbar .gf-statusbar-left,
#griffinforms-app-statusbar .gf-statusbar-right {
    flex: 0 0 auto;
}

#griffinforms-app-statusbar .gf-statusbar-right {
    min-width: 80px;
}

#griffinforms-app-statusbar .gf-statusbar-icons {
    gap: 0.25rem;
}

#griffinforms-app-statusbar .gf-statusbar-icon-btn {
    border: 0;
    background: transparent;
    padding: 2px 6px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    border-radius: 6px;
    cursor: pointer;
}

#griffinforms-app-statusbar .gf-statusbar-icon-btn:hover {
    background: #f1f3f5;
}

#griffinforms-app-statusbar .gf-statusbar-icon-count {
    font-size: 0.7rem;
    font-weight: 600;
    color: #212529;
    display: inline-flex;
    align-items: center;
    overflow: hidden;
    height: 1em;
    min-width: 2.2em;
    justify-content: center;
}

#griffinforms-app-statusbar .gf-statusbar-icons {
    overflow: hidden;
}

#griffinforms-app-statusbar .gf-count-roller {
    display: inline-flex;
    flex-direction: column;
    line-height: 1;
    transform: translateY(0);
    gap: 0;
}

#griffinforms-app-statusbar .gf-count-roller-old,
#griffinforms-app-statusbar .gf-count-roller-new {
    display: block;
    line-height: 1;
}

#griffinforms-app-statusbar .gf-count-roller-animate {
    animation: gf-count-roll 360ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

@keyframes gf-count-roll {
    0% { transform: translateY(0); }
    100% { transform: translateY(-1em); }
}

#griffinforms-app-statusbar .gf-statusbar-overlay {
    position: absolute;
    right: 12px;
    bottom: 100%;
    margin-bottom: 8px;
    width: 320px;
    max-height: 60vh;
    background: transparent;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 180ms ease, transform 180ms ease;
    pointer-events: none;
    z-index: 9999;
}

#griffinforms-app-statusbar .gf-statusbar-overlay[data-gf-open="1"] {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

#griffinforms-app-statusbar .gf-statusbar-overlay-inner {
    background: #1d232d;
    border: 1px solid #2a3240;
    border-radius: 8px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
    display: flex;
    flex-direction: column;
    max-height: 60vh;
    color: #e6edf5;
}

#griffinforms-app-statusbar .gf-statusbar-overlay-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    border-bottom: 1px solid #2a3240;
    font-size: 0.8rem;
    font-weight: 600;
}

#griffinforms-app-statusbar .gf-statusbar-overlay-body {
    padding: 10px 12px;
    overflow: auto;
    font-size: 0.75rem;
}

#griffinforms-app-statusbar .gf-statusbar-overlay-close {
    border: 0;
    background: transparent;
    font-size: 1rem;
    line-height: 1;
    cursor: pointer;
    color: #e6edf5;
}

#griffinforms-app-statusbar .gf-statusbar-warning-list {
    margin: 0;
    padding-left: 16px;
}

#griffinforms-app-statusbar .gf-statusbar-warning-list li {
    margin-bottom: 6px;
}

#griffinforms-app-statusbar .gf-statusbar-empty {
    color: #868e96;
}

#griffinforms-app-statusbar .gf-statusbar-card-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

#griffinforms-app-statusbar .gf-statusbar-card {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 6px 0;
}

#griffinforms-app-statusbar .gf-statusbar-card-body {
    font-size: 0.75rem;
    color: #d7dee7;
}

#griffinforms-app-statusbar .gf-statusbar-card-badge {
    min-width: 18px;
    height: 18px;
    border-radius: 999px;
    background: #2a3240;
    color: #e6edf5;
    font-size: 0.7rem;
    font-weight: 600;
    line-height: 18px;
    text-align: center;
    flex: 0 0 auto;
}

#griffinforms-app-statusbar .gf-statusbar-card-new {
    position: relative;
    border-radius: 6px;
    overflow: hidden;
}

#griffinforms-app-statusbar .gf-statusbar-card-new::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(110, 168, 255, 0) 0%, rgba(110, 168, 255, 0.35) 40%, rgba(110, 168, 255, 0.55) 50%, rgba(110, 168, 255, 0.2) 65%, rgba(110, 168, 255, 0) 100%);
    transform: translateX(-120%);
    animation: gf-statusbar-gloss 1.6s ease-out forwards;
    pointer-events: none;
}

@keyframes gf-statusbar-gloss {
    0% { transform: translateX(-120%); }
    100% { transform: translateX(120%); }
}

#griffinforms-app-statusbar .gf-statusbar-empty {
    color: #a6b0bf;
}

#griffinforms-app-statusbar .gf-statusbar-card-placeholder {
    opacity: 1;
}

#griffinforms-app-statusbar .gf-statusbar-card-placeholder .gf-statusbar-card-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

#griffinforms-app-statusbar .gf-statusbar-placeholder-line {
    display: block;
    height: 10px;
    border-radius: 999px;
    background: linear-gradient(90deg, #303a49 0%, #3b4759 50%, #303a49 100%);
    background-size: 220% 100%;
    animation: gf-statusbar-placeholder-shimmer 1.4s ease-in-out infinite;
}

#griffinforms-app-statusbar .gf-statusbar-placeholder-line-primary {
    width: 92%;
}

#griffinforms-app-statusbar .gf-statusbar-placeholder-line-secondary {
    width: 68%;
}

@keyframes gf-statusbar-placeholder-shimmer {
    0% { background-position: 100% 0; }
    100% { background-position: -100% 0; }
}

#griffinforms-app-statusbar-alert_msg {
    font-size: 0.75rem;
    position: relative;
}

@keyframes gf-icon-spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.gf-icon-spin {
  display: inline-block;
  animation: gf-icon-spin 1s linear infinite;
}
