.themePreview img{
    width: 100%;
    margin-bottom: 30px;
}
.themePreview{

    height: 300px;
    overflow: hidden;
    position: relative;
    margin-bottom: 25px;
    -webkit-box-shadow: 0 3px 20px 12px rgba(45, 23, 191, 0.09);
    box-shadow: 0 3px 20px 12px rgba(45, 23, 191, 0.09);
    -webkit-transition: all linear 0.3s;
    /*transition: all linear 0.3s;*/
    border-radius: 7px;
}
.themePreview .bg {
    background-position: top center;
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    height: 100%;
    -webkit-transition: all linear 2s;
    transition: all linear 2s;
}
.themePreview:hover .bg {
    background-position: bottom center;
}

/*linking */
.themeLink {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background:#0e0e0fb0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 10px;
    padding-bottom: 5px;
    border-radius: 0 0 4px 4px;
    transition: .4s;
}
.themePreview:hover .themeLink{
    background: #b66dff;
}
.themeName{
    color: #fff;
    font-size: 1.125rem;
    margin-bottom: 5px;
}
.active-btn {
    color: #fff;
    background: none;
    font-size: 16px;
    border: 1px solid #fff;
    padding: 6px 16px;
    border-radius: 30px;
    text-decoration: none;
    margin-bottom: 5px;
}
.active-btn:focus {border: 1px solid #fff;}
.active-btn:hover{
    color: #fff;
}


.themeInfo{
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(76, 241, 76, 0.81);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 10px;
    padding-bottom: 5px;
    border-radius: 0 0 4px 4px;
    transition: .4s;
}

.modal-success-msg{
    background: rgba(76, 241, 76, 0.81);
}

.modalPreviewImg img{width: 100%}
.previewActive{background: rgb(235 97 73); border: 0}
/* Status pill (x-status-span) */
.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.5;
    white-space: nowrap;
    border: 1px solid transparent;
}
.status-pill::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
}
.status-pill--success { color: #15803d; background: #ecfdf3; border-color: #c6f0d5; }
.status-pill--danger { color: #be123c; background: #fff1f3; border-color: #fbd0d9; }
.status-pill--warning { color: #b45309; background: #fffaeb; border-color: #fde7b0; }
.status-pill--info { color: #0369a1; background: #f0f9ff; border-color: #c7e7fb; }

/* Alerts with icon (x-flash-msg / x-error-msg) */
.alert.alert-with-icon {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}
.alert.alert-with-icon .alert-icon {
    font-size: 18px;
    line-height: 1.2;
    flex-shrink: 0;
}
.alert.alert-with-icon .alert-body {
    flex: 1;
    min-width: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}
.alert.alert-with-icon.alert-dismissible {
    padding-right: 3rem;
}
[dir="rtl"] .alert.alert-with-icon.alert-dismissible {
    padding-right: 1rem;
    padding-left: 3rem;
}
[dir="rtl"] .alert.alert-with-icon.alert-dismissible .btn-close {
    right: auto;
    left: 0;
}
