#em_custom_css {
    width: 100%;
    height: 200px;
}

table.ep-reg-form-field-setting thead tr th:first-child {
    padding-left: 10px;
}

.ep-tooltips {
    position: relative;
    display: inline;
}

.ep-tooltips span {
    position: absolute;
    color: #FFFFFF;
    background: #000000;
    padding:5px 10px;
    width:140px;
    text-align: center;
    visibility: hidden;
    border-radius: 3px;
    opacity: 0;
    filter: alpha(opacity=0);
    font-size: 12px;
    transition: transform .3s, opacity .6s
}

.ep-tooltips[tooltip-position="top"] span{
    margin-left:10px
}

.ep-tooltips span:after {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
}

.ep-tooltips[tooltip-position="top"] span:after{
    top: 100%;
    left: 50%;
    margin-left: -8px;
    border-top: 8px solid black;
    border-right: 8px solid transparent;
    border-left: 8px solid transparent;
}

.ep-tooltips:hover span {
    visibility: visible;
    opacity: 1;
    z-index: 999;
    -ms-transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
    filter: alpha(opacity=100);
}

.ep-tooltips[tooltip-position="top"]:hover span{
    bottom: 30px;
    left: 50%;
    margin-left: -76px;
}

span.ep-tooltips::after {
    font-family: Dashicons;
    speak: never;
    font-weight: 400;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    margin: 0;
    text-indent: 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    text-align: center;
    content: "\f223";
    cursor: help;
    font-size: 18px;
}

.ep-premium-banner-main {
    width: 100% !important;
}

/*---License Page css----*/

.ep-license-box-wrap .ep-card-body{
    --ep-card-spacer-y: 8px;
    --ep-card-spacer-x: 8px;
}

.ep-license-box-wrap .ep-card-body .ep-ext-box-description p:empty{
   
}

.ep-license-box-wrap .ep-card-body .ep-card-title{
    font-size: 12px;
    margin-top: 2px;
}


.ep-license-box-wrap .ep-card-body .ep-card-title .ep-extension-title {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}


.ep-license-box-title{
    font-size: 15px;
    font-weight: 500;
}

.ep-license-details__field .ep-included-plugin{
    display: flex;
    align-items: center;
    /*background: #f7f9fc;*/
    border-radius: 6px;
    padding: 0px 0px;
    font-size: 12px;
    color: #2f2f2f;
    /*border: 1px solid #dfe6ed;*/
    gap: 8px;
}

.ep-license-details__field.ep-license-plugins {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.ep-license-details__fields .ep-license-details__field .ep-license--label{
    font-weight: 600;
}

.ep-license-details__fields .ep-license-details__field .ep-license--value{}

/* Base styles for both messages */

.ep-license-error-message,
.ep-license-success-message,
.ep-no-license-error-message{
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    display: none; /* Hidden by default; show via JS */
    margin-top: 12px;
    line-height: 1.5;
}

/* Error Style */
.ep-license-error-message,
.ep-no-license-error-message{
    background-color: #fcebea;
    color: #cc1f1a;
    border: 1px solid #f5c6cb;
    display: none;
}

/* Success Style */
.ep-license-success-message {
    background-color: #e6ffed;
    color: #1b7837;
    border: 1px solid #c3e6cb;
    display: none;
}

/* Optional: Add an icon */
.ep-license-error-message::before,
.ep-license-success-message::before,
.ep-no-license-error-message::before{
    content: '';
    display: inline-block;
    vertical-align: middle;
    width: 18px;
    height: 18px;
    margin-right: 8px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

/* Error icon */
.ep-license-error-message::before,
.ep-no-license-error-message::before{
    background-image: url("data:image/svg+xml,%3Csvg fill='red' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0C5.371 0 0 5.372 0 12s5.371 12 12 12 12-5.372 12-12S18.629 0 12 0zm0 18a1.5 1.5 0 110-3 1.5 1.5 0 010 3zm1.25-5h-2.5V6h2.5v7z'/%3E%3C/svg%3E");
}

/* Success icon */
.ep-license-success-message::before {
    background-image: url("data:image/svg+xml,%3Csvg fill='green' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0C5.372 0 0 5.372 0 12s5.372 12 12 12 12-5.372 12-12S18.628 0 12 0zm5.29 9.71l-5.647 5.648a1 1 0 01-1.415 0L6.71 11.71a1 1 0 011.415-1.415l3.168 3.168 4.939-4.939a1 1 0 111.415 1.415z'/%3E%3C/svg%3E");
}

.ep-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    text-transform: capitalize;
}

.ep-status-active {
    background-color: #2d9870;
    color: #ffffff;
    border: 1px solid #2a8663;
}

.ep-license-expired .ep-license-expiration-date{
    --ep-text-opacity: 1;
    color: rgba(var(--ep-danger-color),var(--ep-text-opacity))!important;
}

.ep-status-expired {
    --ep-text-opacity: 1;
    background-color: rgba(var(--ep-danger-color),var(--ep-text-opacity))!important;
    color: #ffffff;
    border: 1px solid rgba(var(--ep-danger-color),var(--ep-text-opacity))!important;
 
}

.ep-status-icon {
    display: inline-block;
    vertical-align: middle;
    width: 12px;
    height: 12px;
}

span.ep-extension-version {
    border: 1px solid #2371b1;
    color: #2371b1;
    padding: 2px 4px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 400;
    background-color: #fff;
    margin-left: 8px;
}

.ep-ext-box-description .ep-col-desc{
    padding: 0px 0px;
    margin: 4px 0px 0px 0px
}

.ep-license-details__field {
    margin-bottom: 6px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

span.ep-extension-version {
    line-height: normal;
}

.ep-ext-box-btn-wrap {
    gap: 8px;
    margin-top: 2px;
    align-items: center;
}

.ep-license-list .ep-license-item {
    background: #fdfdfd;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 16px;
    margin-bottom: 24px;
    transition: box-shadow 0.3s ease;
}

.ep-license-alert.ep-alert--info{
    display: flex;
    align-items: center;
    background-color: #eef6fd;
    color: #667683;
    padding: 6px 8px;
    border-radius: 8px;
    margin: 20px 0px;
    border: 1px solid #d4dfe9;
    font-size: 12px;
}

.ep-license-alert.ep-alert--info .ep-alert__icon svg{
    fill: #62abff;
}

#ep-license-results .ep-unlicensed-ext-row .ep-ext-card .ep-card-body{ }

.ep-licensed-ext-box span.ep-free-tag {
    display: none;
}

#ep-license-results .ep-unlicensed-ext-row .ep-ext-card .ep-card{
    overflow: hidden;
}

.ep-license-list.ep-license-list__empty-state .ep-license-item{
    min-height: 170px;
}

.ep-no-licenses.ep-license-error-message{

    font-size: 12px;
}

.ep-ext-box-btn-wrap .button-secondary.ep-deactivate-plugin{
    display: none;
}

.ep-license-card-box .ep-ext-box-icon{
    width: 62px;
    margin-right: 4px;
}

.ep-license-card-box .ep-ext-box-icon img{}
.ep-license-card-box-details{
        width: calc(100% - 85px);
}


.ep-license-card-box-details .ep-extension-action-result{
    margin-left: -16px;
}

.ep-license-btn-wrap{
}

.ep-license-item__details .ep-license-btn-wrap button.ep_check_license_update{
    display: flex;
    align-items: center;
}

.ep-license-item__details .ep-license-btn-wrap button.ep_check_license_update span.spinner{
    margin: 0px;
    background-size: 12px 12px;
    height: 12px;
    width: 12px;
    margin-left: 2px;
}

.ep-license-card-box-btn-wrap{
    flex-direction: column;
    gap: 0px;
    align-items: flex-start;
}

.ep-license-card-box-details .ep-license-card-box-btn-wrap .ep-extension-action-result{
    margin-left: 0px;
}

.ep-license-card-box-details .ep-license-card-box-btn-wrap .ep-activate-license span.spinner,
.ep-license-card-box-details .ep-license-card-box-btn-wrap .ep-deactivate-license span.spinner,
.ep-license-card-box-details .ep-license-card-box-btn-wrap .ep-install-extension span.spinner,
.ep-license-card-box-details .ep-license-card-box-btn-wrap .ep-activate-plugin span.spinner{
    margin: 0px;
    background-size: 16px 16px;
}


@media (max-width: 1400px) {
    
    .ep-license-item__details .ep-license-btn-wrap button{
         font-size: 12px;
         padding: 0px 4px;
    }
}

.ep-free-tag {
    position: absolute;
    top: 14px;
    left: 0px;
    background: #368f3a;
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    padding: 2px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    overflow: hidden;
    z-index: 2;
}

/* Glint effect */
.ep-free-tag::after {
    content: "";
    position: absolute;
    top: 0;
    left: -50%;
    width: 36%;
    height: 100%;
    background: rgb(255 255 255 / 25%);
    transform: skewX(347deg);
    animation: ep-glint 2s infinite;
}

@keyframes ep-glint {
    0% { left: -50%; }
    50% {left: 110%;}
    100% {left: 110%;}
}
