.tricot-card.notice-success {
    padding: 20px;
    border: 1px solid #00a32a;
    margin: 0;
}

.tricot-card.notice-error {
    padding: 20px;
    border: 1px solid #d63638;
    margin: 0;
}

.tricot-license-page {
    max-width: 1253px;
    margin: 24px auto;
    display: flex;
    column-gap: 18px;
    row-gap: 18px;
}

.tricot-license-page > .tricot-card {
    margin: 0;
}

.tricot-license-page > .tricot-card:first-child {
    width: 81.5%;
    padding: 29px 40px 32px 22px;
}

.tricot-license-page > .tricot-card:last-child {
    width: 18.5%;
    padding: 44px 25px;
    overflow: hidden;
    position: relative;
}

.tricot-license-page > .tricot-card img.license-svg {
    position: absolute;
}

.tricot-license-page > .tricot-card img.license-svg:nth-child(1) {
    top: -200px;
    right: -315px;
}

.tricot-license-page > .tricot-card img.license-svg:nth-child(2) {
    bottom: -100px;
    left: -140px;
}

.tricot-license-page > .tricot-card img.license-svg:nth-child(3) {
    right: -150px;
    bottom: -180px;
}

.tricot-license-page > .tricot-card .card-bulle,
.tricot-license-page > .tricot-card .card-mami {
    position: relative;
}

.tricot-license-page > .tricot-card .card-bulle {
    padding: 31px 28px;
    background-color: #EAF2FF;
    border-radius: 8px;
    z-index: 2;
    position: relative;
    color: var(--text-light);

    font-size: 15px;
    line-height: 21px;
    font-weight: 500;
}

.tricot-license-page > .tricot-card .card-bulle:after{
    content: "";
    position: absolute;
    bottom: -20px;
    left: 10px;
    z-index: 1;
    background: url("../images/bulle-pointe.svg");
    width: 33px;
    height: 34px;
    transform: rotate(90deg);
}

.tricot-license-page > .tricot-card .card-mami {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 27px;
}

.tricot-license-page > .tricot-card .card-mami img {
    width: 100%;
    max-width: 164px;
}

.tricot-license-page h2 {
    font-size: 24px;
    font-weight: 600;
    color: var(--primary-color);
    margin-top: 0;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--light-primary);
}

.tricot-license-page .form-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
}

.tricot-license-page .form-table th {
    width: 200px;
    padding: 20px 10px 20px 0;
    vertical-align: top;
    text-align: left;
    font-weight: 600;
    color: var(--text-color);
    vertical-align: middle;
}

.tricot-license-page .form-table td {
    padding: 20px 0;
    vertical-align: top;
}

.tricot-license-page form {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.tricot-license-page .regular-text {
    width: 100%;
    max-width: 400px;
    height: 42px;
    border-radius: 4px;
    border: 1px solid var(--border-color);
    padding: 8px 12px;
    font-size: 14px;
    transition: var(--transition);
}

.tricot-license-page .regular-text:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(33, 77, 65, 0.2);
}

.license-status {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 15px;
    font-weight: 600;
    font-size: 14px;
    text-align: center;
}

.license-status.valid {
    background-color: #e8f5e9;
    color: #388e3c;
}

.license-status.expired {
    background-color: #fff3e0;
    color: #f57c00;
}

.license-status.inactive {
    background-color: #fff3e0;
    color: #f57c00;
}

.license-status.invalid {
    background-color: #ffebee;
    color: #d32f2f;
}

.license-info {
    background-color: var(--bg-light);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
}

.license-info h3 {
    font-size: 18px;
    color: var(--primary-color);
    margin-top: 0;
    margin-bottom: 15px;
}

.license-info-item {
    display: flex;
    margin-bottom: 10px;
    font-size: 14px;
}

.license-info-item:last-child {
    margin-bottom: 0;
}

.license-info-label {
    font-weight: 600;
    width: 200px;
    color: var(--text-light);
}

.update-section {
    background-color: var(--bg-light);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
}

.update-section h3 {
    font-size: 18px;
    color: var(--primary-color);
    margin-top: 0;
    margin-bottom: 15px;
}

.current-version-info {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.current-version-label {
    font-weight: 600;
    margin-right: 10px;
    color: var(--text-light);
}

.current-version {
    font-weight: 600;
    color: var(--text-color);
}

#tricot-check-updates {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 42px;
    padding: 0 16px;
    border-radius: 21px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    outline: none;
    background-color: var(--primary-color);
    color: white;
    margin-bottom: 15px;
}

#tricot-check-updates:hover {
    background-color: var(--primary-hover);
}

#tricot-check-updates .dashicons {
    margin-right: 8px;
}

.tricot-license-page .submit {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.tricot-license-page .button-primary[style*="background-color: #4CAF50"] {
    background-color: #4CAF50 !important;
    border-color: #4CAF50 !important;
}

.tricot-license-page .button-primary[style*="background-color: #4CAF50"]:hover {
    background-color: #388e3c !important;
    border-color: #388e3c !important;
}

.tricot-update-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
}

.tricot-update-modal-content {
    position: relative;
    background-color: white;
    margin: 10% auto;
    padding: 0;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    width: 500px;
    max-width: 90%;
    animation: modalFadeIn 0.3s;
}

.tricot-update-modal-header {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color);
}

.tricot-update-modal-header h3 {
    margin: 0;
    color: var(--primary-color);
    font-size: 18px;
    font-weight: 600;
}

.tricot-update-modal-body {
    padding: 20px;
    font-size: 14px;
    color: var(--text-color);
}

.tricot-update-modal-footer {
    padding: 15px 20px;
    border-top: 1px solid var(--border-color);
    text-align: right;
}

.tricot-update-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    color: var(--text-light);
    font-size: 20px;
    cursor: pointer;
    transition: var(--transition);
}

.tricot-update-modal-close:hover {
    color: var(--primary-color);
}

.update-available, .no-update {
    padding: 15px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-top: 15px;
}

.update-available {
    background-color: #fef8e8;
}

.no-update {
    background-color: #e8f5e9;
}

.update-available .dashicons {
    color: var(--warning-color);
    font-size: 24px;
    width: 24px;
    height: 24px;
    margin-bottom: 10px;
}

.no-update .dashicons {
    color: var(--success-color);
    font-size: 24px;
    width: 24px;
    height: 24px;
    margin-bottom: 10px;
}

.tricot-license-page p a[href*="tricotwp.com/renew"] {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.tricot-license-page p a[href*="tricotwp.com/renew"]:hover {
    text-decoration: underline;
}

#app_inscription_iframe{
    width: 100%;
    height: 800px;
}

p.submit {
    padding: 0;
    margin-bottom: 0;
}

.tricot-domain-change {
    max-width: 1253px;
    margin: 24px auto;
    display: flex;
    column-gap: 18px;
    row-gap: 18px;
}
.tricot-domain-change  > .tricot-card {
    width: 100%;
    padding: 29px 40px 32px 22px;
}
.tricot-domain-change > .tricot-card .notice{
    margin: 0px 0px 20px;
}
@media screen and (max-width: 960px) {
    .tricot-license-page {
        flex-wrap: wrap;
        margin: 0 auto;
    }

    .tricot-license-page > .tricot-card:first-child {
        width: 100%;
        order: 1;
        padding: 20px;
    }

    .tricot-license-page > .tricot-card:last-child {
        width: 100%;
        display: flex;
        justify-content: center;
        column-gap: 27px;
        padding: 20px;
    }

    .tricot-license-page > .tricot-card img.license-svg:nth-child(1) {
        top: -230px;
    }

    .tricot-license-page > .tricot-card .card-mami {
        margin: 0;
    }

    .tricot-license-page > .tricot-card .card-mami img {
        max-width: 130px;
        min-width: 100px;
    }

    .tricot-license-page > .tricot-card .card-bulle {
        padding: 20px;
    }

    .tricot-license-page > .tricot-card .card-bulle:after{
        content: "";
        position: absolute;
        top: 10px;
        right: -25px;
        z-index: 1;
        background: url("../images/bulle-pointe.svg");
        width: 33px;
        height: 34px;

        bottom: unset;
        left: unset;
        transform: none;
    }
}

@media screen and (max-width: 782px) {
    .tricot-license-page .form-table,
    .tricot-license-page .form-table tbody,
    .tricot-license-page .form-table tr,
    .tricot-license-page .form-table th,
    .tricot-license-page .form-table td {
        display: block;
        width: 100%;
        padding: 0;
        margin: 0;
    }

    .tricot-license-page .form-table th {
        padding: 20px 0 10px 0;
    }

    .tricot-license-page .form-table td {
        padding: 0 0 20px 0;
        margin-bottom: 20px;
    }

    .license-info-item {
        flex-direction: column;
    }

    .license-info-label {
        width: 100%;
        margin-bottom: 5px;
    }

    p.submit {
        display: flex;
        flex-wrap: wrap;
    }

    p.submit a {
        margin-left: 0 !important;
    }
}