.gf-cpt-mapper-entry {
    display: flex;
    flex-direction: column;
    margin-bottom: 24px;
    gap: 30px;
    background: rgba(0, 0, 0, 0.01);
    padding: 10px 30px;
}

.gf-cpt-mapper-entry-body {
    display: flex;
    gap: 16px;
    align-items: inherit;
}

.gf-cpt-mapper-entry-actions {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    gap: 10px;
    width: auto;
    align-items: center;
    justify-content: center;
}

.gf-cpt-mapper-entry-actions button {
    font-weight: 500;
    border: none !important;
    flex: 1;
    width: 100%;
}

.gf-cpt-mapper-entry-actions .gf-cpt-mapper-approve {
    background: #4CAF50;
}

.gf-cpt-mapper-entry-actions .gf-cpt-mapper-reject {
    background: #D32F2F;
}

.gf-cpt-mapper-entry-actions span.gf-cpt-mapper-entry-status-label {
    width: 100%;
}

span.gf-cpt-mapper-status-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    flex-shrink: 0;
}

.gf-cpt-mapper-status-icon svg {
    color: #fff;
}

.gf-cpt-mapper-status-icon--approved {
    background: #4CAF50;
}

.gf-cpt-mapper-status-icon--rejected {
    background: #D32F2F;
}

.gf-cpt-mapper-entry-fields {
    display: flex;
    flex-wrap: wrap;
    margin: 0;
    gap: 15px;
}

dl .gf-cpt-mapper-entry-row {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    background: rgba(0, 0, 0, 0.01);
    padding: 5px 8px;
    flex: 1;
}

.gf-cpt-mapper-entry-label {
    min-width: 140px;
    font-weight: 600;
}

.gf-cpt-mapper-entry-value {
    margin: 0;
}

@media (max-width: 782px) {
    .gf-cpt-mapper-entry-body {
        flex-direction: column;
    }
}

.gf-cpt-mapper-single-restricted,
.gf-cpt-mapper-single {
    max-width: 100%;
    margin: 0;
    padding: calc(2% + 30px);
}

.gf-cpt-mapper-single,
.gf-cpt-mapper-single h1,
.gf-cpt-mapper-entry h3 {
    font-family: 'montserrat', sans-serif !important;
}

.gf-cpt-mapper-single-back {
    margin: 0 0 1.5rem 0;
}

.gf-cpt-mapper-single-back-link {
    display: inline-block;
    padding: 0.4em 0.8em;
    background: #f0f0f1;
    color: #1d2327;
    text-decoration: none;
    border-radius: 3px;
}

.gf-cpt-mapper-single-back-link:hover {
    background: #dcdcde;
    color: #1d2327;
}

.gf-cpt-mapper-single-restricted .gf-cpt-mapper-restricted-message {
    margin-bottom: 1.5rem;
}

.gf-cpt-mapper-single-header {
    margin-bottom: 1.5rem;
}

.gf-cpt-mapper-single-title {
    margin: 0 0 0.5rem;
}

.gf-cpt-mapper-single-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.gf-cpt-mapper-single-fields {
    margin: 0;
}

.gf-cpt-mapper-filter {
    display: flex;
    width: 100%;
    gap: 20px;
    align-items: normal;
    justify-content: flex-end;
    margin-bottom: 20px;
}

.gf-cpt-mapper-filter label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
}

.gf-cpt-mapper-filter label select {
    border: 1px solid #095489;
    height: 100%;
}
.gf-cpt-mapper-entry-actions .button .button-loader {
    display: none;
    vertical-align: middle;
    flex-shrink: 0;
}

.gf-cpt-mapper-entry-actions .button.is-loading .button-loader {
    display: inline-block;
}

.gf-cpt-mapper-entry-actions .button.is-loading {
    pointer-events: none;
}

.button-loader {
    width: 25px;
    height: 25px;
    border: 3px solid #FFF;
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    position: relative;
    animation: pulse .3s linear infinite;
  }
  .button-loader:after {
    content: '';
    position: absolute;
    width: 22px;
    height: 22px;
    border: 3px solid #FFF;
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    animation: scaleUp 2s linear infinite;
  }
  .gf-cpt-mapper-entry-actions button {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 7px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    min-height: 32px;
  }
  .gf-cpt-mapper-entry-actions button::after {
    width: 10vw;
    height: 10vw;
    background: rgba(0,0,0,0.1);
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    transform: scale(0);
    transition: transform 0.3s ease-in-out;
    mix-blend-mode: multiply;
    z-index: 0;
    border-radius: 100%;
  }
  .gf-cpt-mapper-entry-actions button:hover {
    background-blend-mode: difference;
  }
  .gf-cpt-mapper-entry-actions button:hover:after {
    transform: scale(1);
  }
  
  @keyframes scaleUp {
    0% { transform: translate(-50%, -50%) scale(0) }
    50% { transform: translate(-50%, -50%) scale(1) }
    100% { transform: translate(-50%, -50%)  scale(0)}
  }
  @keyframes pulse {
    0% , 60% , 100%{ transform:  scale(1) }
    80% { transform:  scale(1.2)}
  }
  

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 768px) {
    dl {
        flex-direction: column;
        align-items: normal;
        gap: 0;
        width: 100%;
    }
    .gf-cpt-mapper-entry {
        background: rgba(0, 0, 0, 0.01);
        padding: 20px 30px;
    }
    dl .gf-cpt-mapper-entry-row {
        padding: 10px 30px;
        background: none;
    }
    .gf-cpt-mapper-entry-actions {
        width: 100%;
    }
}