#whois-history-lookup {
    margin: 64px 0;
}

#historyResults .skeleton {
    animation: skeleton-loading 1.5s ease-in-out infinite;
    background-color: #F7F7F8;
    height: 34px;
    border-radius: 6px;
}

#historyResults .skeleton + .skeleton {
    margin-top: 16px;
}

.whois-history-skeleton-inner {
    display: flex;
    flex-direction: column;
}

.whois-history-skeleton-section {
    margin-top: 24px;
}

.whois-history-skeleton-contact {
    margin-top: 16px;
}

@keyframes skeleton-loading {
    0% { background-color: #F7F7F8; }
    50% { background-color: #f2f2f5; }
    100% { background-color: #F7F7F8; }
}

.whois-history-results {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.whois-history-head {
    margin-bottom: 4px;
}

.whois-history-head-title {
    font-size: var(--font-size-xxlg);
    font-weight: 600;
    margin-bottom: 6px;
    line-height: initial;
}

.whois-history-head-domain {
    font-size: var(--font-size-xxlg);
    font-weight: 400;
    color: #17191C;
}

.whois-history-head-meta {
    color: #868B96;
    font-size: 14px;
    margin-top: 2px;
}

.whois-history-summary {
    font-weight: 600;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 16px;
}

.whois-history-summary--neutral {
    background-color: #EAF6EC;
    color: #2B9F46;
}

.whois-history-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #F0F0F0;
}

.whois-history-card-date {
    font-size: 18px;
    font-weight: 600;
    color: #17191C;
}

.whois-history-badge {
    display: inline-flex;
    align-items: center;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    padding: 6px 12px;
    border-radius: 999px;
    white-space: nowrap;
}

.whois-history-badge--first,
.whois-history-badge--neutral {
    background-color: #F2F2F5;
    color: #5A5F6A;
}

.whois-history-badge--significant {
    background-color: #FEE9D6;
    color: #F2821B;
}

.whois-history-record-note {
    color: #868B96;
    font-size: 13px;
    margin: 12px 0 0;
}

.whois-section--orange,
.whois-section--gray {
    padding: 16px;
}

.whois-section--orange {
    background-color: #FEF1E6;
}

.whois-section--gray {
    background-color: #F7F7F8;
}

.whois-history-contacts,
.whois-history-nameservers,
.whois-history-sections .whois-raw-section {
    margin-top: 24px;
}

.whois-history-value {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}

.whois-history-line {
    display: flex;
    align-items: center;
    gap: 6px;
}

.whois-history-line--old .whois-history-value-text {
    text-decoration: line-through;
    color: #F5B784;
    font-weight: 400;
}

.whois-history-line--changed .whois-history-value-text {
    color: #D82732;
}

.whois-history-value-text {
    word-break: break-word;
}

.whois-history-ns-table {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.whois-history-ns-table .table-header {
    padding: 17px 24px;
    border-bottom: 1px solid #dde0e3;
    color: #868b96;
}

.whois-history-ns-table .table-cell {
    padding: 17px 24px;
    border-bottom: 1px solid #dde0e3;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: #F2821B;
}

.whois-history-ns-cell {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.whois-history-disclaimer {
    color: #868B96;
    font-size: 13px;
    margin: 8px 0 0;
}

.whois-history-message {
    margin-bottom: 4px;
    padding: 11px var(--ui-block-padding-sm);
}

.whois-history-message .message-title {
    font-size: 16px;
    color: #17191C;
}

@media (max-width: 768px) {
    .whois-history-card-header {
        flex-direction: column;
        align-items: flex-start;
    }
}
