.list-license td, .list-license th {
    padding: .35rem;
    vertical-align: middle;
    border-top: 1px solid #dee2e6;
	text-align: center;
    font-size: 14px;
}

.list-license td, .list-license th {
    padding: .35rem !important;
    vertical-align: middle !important;
    border-top: 1px solid #dee2e6 !important;
}

.license-button{
    padding: 5px 10px !important;
    margin: 5px !important;
    font-size: 14px !important;
}


.list-license> .pagination{

    text-align: center;
    display: flex;
    justify-content: center;
    margin-top: 80px;
}

.list-license .pagination> .page-link{
    padding: 3px 14px;
    margin: 4px !important;
    font-size: 12px;
    font-weight: 600;
    border-radius: 8px;
}


sub, sup{

    font-family: IRANSans;
}

.control-close{
    display: contents;
}

.title-domain{
    font-weight: 600 !important;
}

.status-doamin{
    
    background: #202022;
    color: #fff;
    padding: 1px 6px;
    border-radius: 5px
}
.license-summary-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 16px;
}

.license-history {
    max-height: 180px;
    overflow-y: auto;
    background: #fff;
    border: 1px dashed #d0d7de;
    border-radius: 10px;
    padding: 12px;
}

#licenses-table .domain-name {
    font-weight: 700;
    color: #1f2937;
}

#licenses-table .badge {
    font-size: 12px;
    padding: 7px 10px;
    border-radius: 999px;
}

/* === License Dashboard v2 === */
.lp-license-dashboard {
    direction: rtl;
    color: #25364a;
}

.lp-license-alert {
    border-radius: 14px;
    margin-bottom: 18px;
}

.lp-license-hero {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 18px;
    padding: 24px;
    border-radius: 24px;
    background: linear-gradient(135deg, #f6faff 0%, #eef5ff 100%);
    border: 1px solid #dbe8f8;
    margin-bottom: 24px;
}

.lp-license-hero__content {
    flex: 1;
}

.lp-license-hero__eyebrow {
    color: #f59e0b;
    font-weight: 800;
    font-size: 13px;
    margin-bottom: 8px;
}

.lp-license-hero__title {
    margin: 0 0 10px;
    font-size: 28px;
    font-weight: 900;
    color: #17283a;
}

.lp-license-hero__desc {
    margin: 0;
    max-width: 720px;
    font-size: 14px;
    line-height: 2;
    color: #61758b;
}

.lp-license-hero__stats {
    min-width: 250px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.lp-license-stat {
    background: #fff;
    border: 1px solid #e7eef8;
    border-radius: 18px;
    padding: 18px 14px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 12px 28px rgba(94, 114, 149, 0.08);
}

.lp-license-stat__value {
    font-size: 28px;
    line-height: 1;
    font-weight: 900;
    color: #1d3557;
    margin-bottom: 8px;
}

.lp-license-stat__label {
    font-size: 12px;
    color: #718096;
    font-weight: 700;
}

.lp-license-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.lp-license-card {
    background: #fff;
    border: 1px solid #e5edf7;
    border-radius: 24px;
    padding: 18px;
    box-shadow: 0 16px 35px rgba(99, 117, 145, 0.08);
}

.lp-license-card__top {
    display: flex;
    align-items: center;
    gap: 14px;
}

.lp-license-card__thumb {
    width: 72px;
    min-width: 72px;
    height: 72px;
    border-radius: 20px;
    background: #f6f9fc;
    border: 1px solid #e7edf4;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.lp-license-card__thumb img,
.lp-license-card__thumb .lp-license-card__thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.lp-license-card__thumb-placeholder {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 900;
    color: #93a4b9;
}

.lp-license-card__body {
    flex: 1;
    min-width: 0;
}

.lp-license-card__head {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

.lp-license-card__title {
    font-size: 17px;
    font-weight: 900;
    color: #1f3147;
    text-decoration: none;
    line-height: 1.8;
}

.lp-license-card__title:hover {
    color: #0f6ad8;
    text-decoration: none;
}

.lp-license-card__version {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    background: #e8f7d7;
    color: #5b9c26;
    font-size: 12px;
    font-weight: 800;
}

.lp-license-card__domain {
    font-size: 14px;
    line-height: 1.9;
    font-weight: 700;
}

.lp-license-card__domain.is-registered {
    color: #47627f;
}

.lp-license-card__domain.is-empty {
    color: #94a3b8;
}

.lp-license-card__badge {
    width: 72px;
    min-width: 72px;
    height: 72px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #fff6dd, #ffe29c);
    color: #c78106;
    box-shadow: inset 0 0 0 6px rgba(255, 184, 0, 0.14);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    text-align: center;
}

.lp-license-days {
    font-size: 24px;
    line-height: 1;
    font-weight: 900;
    margin-bottom: 4px;
}

.lp-license-card__meta {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 18px;
}

.lp-license-meta-pill {
    background: #f7fafc;
    border: 1px solid #e6edf5;
    border-radius: 16px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.lp-license-meta-pill span {
    font-size: 12px;
    color: #7a8ba1;
    font-weight: 700;
}

.lp-license-meta-pill strong {
    font-size: 14px;
    color: #1f3147;
    font-weight: 900;
}

.lp-license-meta-pill strong.is-active {
    color: #2f9e44;
}

.lp-license-meta-pill strong.is-disabled {
    color: #e55353;
}

.lp-license-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.lp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    border: none;
    border-radius: 14px;
    padding: 0 16px;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none !important;
}

.lp-btn:hover {
    transform: translateY(-1px);
}

.lp-btn--primary {
    background: linear-gradient(135deg, #8ed557 0%, #6cbf2d 100%);
    color: #fff;
    box-shadow: 0 12px 22px rgba(126, 207, 66, 0.28);
}

.lp-btn--primary:hover {
    color: #fff;
    background: linear-gradient(135deg, #7ac63e 0%, #5bb51f 100%);
}

.lp-btn--soft {
    background: #eaf1fb;
    color: #60748d;
}

.lp-btn--outline {
    background: #fff;
    color: #ff6a5c;
    border: 1px solid #ffd5d0;
}

.lp-btn--outline:hover {
    color: #ff5a4c;
    border-color: #ffb1a8;
}

.lp-license-empty {
    padding: 50px 24px;
    background: #fff;
    border: 1px dashed #d8e2ef;
    border-radius: 24px;
    text-align: center;
}

.lp-license-empty__icon {
    width: 64px;
    height: 64px;
    border-radius: 22px;
    margin: 0 auto 18px;
    background: #eef5ff;
    color: #5b7aa3;
    font-size: 28px;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lp-license-empty__title {
    margin: 0 0 10px;
    font-size: 22px;
    font-weight: 900;
    color: #1f3147;
}

.lp-license-empty__desc {
    margin: 0 auto;
    max-width: 760px;
    color: #718096;
    line-height: 2;
    font-size: 14px;
}

.lp-license-modal__dialog {
    max-width: 860px;
}

.lp-license-modal__content {
    border: 0;
    border-radius: 26px;
    box-shadow: 0 30px 60px rgba(24, 42, 67, 0.22);
    overflow: hidden;
}

.lp-license-modal__header {
    padding: 24px 26px 10px;
    border-bottom: 0;
}

.lp-license-modal__eyebrow {
    color: #8ed557;
    font-size: 12px;
    font-weight: 800;
    margin-bottom: 6px;
}

.lp-license-modal__title {
    margin: 0;
    font-size: 26px;
    font-weight: 900;
    color: #1f3147;
}

.lp-license-modal__product {
    margin-top: 8px;
    color: #708197;
    font-size: 14px;
    font-weight: 700;
}

.lp-license-modal__close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    padding: 0;
    margin: 0;
    border-radius: 12px;
    background: #f5f7fb;
    color: #7d8da3;
    opacity: 1;
}

.lp-license-modal__body {
    padding: 0 26px 26px;
}

.lp-license-summary-box {
    background: #f8fbff;
    border: 1px solid #dfeaf7;
    border-radius: 22px;
    padding: 18px;
}

.lp-license-summary-box__grid {
    display: grid;
    grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 16px;
}

.lp-license-summary-item {
    background: #fff;
    border: 1px solid #e6edf5;
    border-radius: 16px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.lp-license-summary-item--domain {
    background: linear-gradient(135deg, #f0f8e8 0%, #ffffff 100%);
}

.lp-license-summary-item__label {
    font-size: 12px;
    color: #7a8ba1;
    font-weight: 700;
}

.lp-license-summary-item__value {
    font-size: 16px;
    color: #1f3147;
    font-weight: 900;
    line-height: 1.8;
}

.lp-license-history-wrap {
    background: #fff;
    border-radius: 16px;
    border: 1px dashed #d1dcea;
    padding: 14px;
}

.lp-license-history-wrap__title {
    font-size: 13px;
    color: #60748d;
    font-weight: 800;
    margin-bottom: 12px;
}

.lp-license-history {
    max-height: 180px;
    overflow-y: auto;
    padding-left: 4px;
}

.lp-license-history__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #eef2f7;
}

.lp-license-history__item:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.lp-license-history__item:first-child {
    padding-top: 0;
}

.lp-license-history__item-main {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
}

.lp-license-history__domain {
    font-size: 13px;
    font-weight: 800;
    color: #2f3f55;
    word-break: break-all;
}

.lp-license-history__domain.is-new {
    color: #7fc945;
}

.lp-license-history__arrow {
    color: #9fb1c7;
    font-weight: 800;
}

.lp-license-history__date,
.lp-license-history__empty {
    font-size: 12px;
    color: #8ea0b5;
}

.lp-license-form {
    margin-top: 18px;
    background: #fff;
    border: 1px solid #e6edf5;
    border-radius: 22px;
    padding: 18px;
}

.lp-license-form__group {
    margin-bottom: 16px;
}

.lp-license-form__label {
    display: block;
    margin-bottom: 8px;
    color: #334a63;
    font-size: 15px;
    font-weight: 900;
}

.lp-license-form__help {
    color: #7b8da3;
    font-size: 12px;
    line-height: 1.9;
    margin-bottom: 12px;
}

.lp-license-form__input {
    min-height: 52px;
    border-radius: 14px;
    border: 1px solid #d7e3f2;
    text-align: center;
    font-size: 18px;
    font-weight: 800;
    color: #2a3d54;
    box-shadow: none !important;
}

.lp-license-form__input:focus {
    border-color: #8ed557;
}

.lp-license-form__submit {
    width: 100%;
    min-height: 48px;
}

@media (max-width: 1199px) {
    .lp-license-grid {
        grid-template-columns: 1fr;
    }

    .lp-license-summary-box__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .lp-license-summary-item--domain {
        grid-column: 1 / -1;
    }
}

@media (max-width: 767px) {
    .lp-license-hero {
        flex-direction: column;
        padding: 18px;
    }

    .lp-license-hero__stats {
        min-width: 0;
    }

    .lp-license-hero__title {
        font-size: 22px;
    }

    .lp-license-card {
        padding: 14px;
    }

    .lp-license-card__top {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .lp-license-card__badge {
        width: 64px;
        height: 64px;
    }

    .lp-license-days {
        font-size: 20px;
    }

    .lp-license-card__meta {
        grid-template-columns: 1fr;
    }

    .lp-license-card__actions {
        flex-direction: column;
    }

    .lp-btn {
        width: 100%;
    }

    .lp-license-modal__header,
    .lp-license-modal__body {
        padding-left: 16px;
        padding-right: 16px;
    }

    .lp-license-modal__title {
        font-size: 22px;
    }

    .lp-license-summary-box__grid {
        grid-template-columns: 1fr;
    }

    .lp-license-history__item {
        flex-direction: column;
        align-items: flex-start;
    }
}
