﻿.yaftom-domain-wrap {
    --y-primary: #ff0000fc;
    --y-primary-dark: #b70000fc;
    --y-primary-darker: #ae0000;
    --y-primary-light: #e8f4fb;
    --y-primary-soft: #d6ecf8;
    --y-slate-50: #f8fafc;
    --y-slate-100: #f1f5f9;
    --y-slate-200: #e2e8f0;
    --y-slate-500: #64748b;
    --y-slate-700: #334155;
    --y-slate-800: #1e293b;
    --y-slate-900: #0f172a;
    font-family: inherit;
    width: 100%;
    color: var(--y-slate-800);
}

.yaftom-domain-wrap * {
    box-sizing: border-box;
}

.yaftom-header-domain-shortcode {
    width: 100%;
    max-width: 620px;
}

.yaftom-header-domain-search-wrap {
    width: 100%;
    max-width: 620px;
    margin: 0 auto;
    position: relative;
    font-family: inherit;
}

.yaftom-header-domain-search {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbfd 100%);
    border: 1px solid rgba(30, 128, 191, 0.22);
    border-radius: 999px;
    padding: 7px;
    box-shadow:
        0 14px 35px rgba(30, 128, 191, 0.14),
        inset 0 1px 0 rgba(255, 255, 255, 0.95);
    transition: all 0.25s ease;
}

.yaftom-header-domain-search:hover {
    border-color: rgba(30, 128, 191, 0.45);
    box-shadow:
        0 18px 45px rgba(30, 128, 191, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.yaftom-header-domain-search:focus-within {
    border-color: var(--y-primary);
    box-shadow:
        0 18px 45px rgba(30, 128, 191, 0.22),
        0 0 0 4px rgba(30, 128, 191, 0.12);
}

.yaftom-header-domain-search:before {
    content: "";
    width: 42px;
    height: 42px;
    min-width: 42px;
    border-radius: 999px;
    background-color: var(--y-primary-light);
    margin-left: 2px;
    background-image: url("data:image/svg+xml,%3Csvg width='22' height='22' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='11' cy='11' r='7' stroke='%231e80bf' stroke-width='2.4'/%3E%3Cpath d='M16.3 16.3L21 21' stroke='%231e80bf' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 22px 22px;
}

.yaftom-header-domain-search input {
    flex: 1;
    min-width: 0;
    height: 46px;
    border: none;
    outline: none;
    background: transparent;
    color: var(--y-slate-900);
    padding: 0 8px;
    font-size: 15px;
    font-weight: 600;
}

.yaftom-header-domain-search input::placeholder {
    color: #94a3b8;
    font-weight: 500;
}

.yaftom-header-domain-search input:focus {
    box-shadow: none;
}

.yaftom-header-domain-search button {
    height: 46px;
    border: none;
    outline: none;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--y-primary) 0%, var(--y-primary-dark) 100%);
    color: #ffffff !important;
    padding: 0 24px;
    font-size: 14px;
    font-weight: 900;
    cursor: pointer;
    white-space: nowrap;
    box-shadow:
        0 10px 22px rgba(30, 128, 191, 0.30),
        inset 0 1px 0 rgba(255, 255, 255, 0.22);
    transition: all 0.25s ease;
}

.yaftom-header-domain-search button:hover {
    background: linear-gradient(135deg, var(--y-primary-dark) 0%, var(--y-primary-darker) 100%);
    transform: translateY(-1px);
}

.yaftom-header-status {
    position: absolute;
    left: 18px;
    top: calc(100% + 7px);
    margin: 0;
    color: #b91c1c;
    font-size: 12px;
    font-weight: 800;
}

.site-header .yaftom-header-domain-shortcode,
header .yaftom-header-domain-shortcode {
    max-width: 420px;
}

.entry-content .yaftom-header-domain-shortcode,
.elementor .yaftom-header-domain-shortcode {
    max-width: 680px;
}

.yaftom-domain-header-searchbox {
    max-width: 520px;
}

.yaftom-domain-header-searchbox .yaftom-header-domain-search {
    /* OLD CODE:
    padding: 6px;
    */
    padding: 2px;
    gap: 6px;
}

.yaftom-domain-header-searchbox .yaftom-header-domain-search:before {
    /* OLD DEFAULT ICON SIZE:
    width: 42px;
    height: 42px;
    min-width: 42px;
    background-size: 22px 22px;
    */
    width: 30px;
    height: 30px;
    min-width: 30px;
    background-size: 16px 16px;
    align-self: center;
}

.yaftom-domain-header-searchbox .yaftom-header-domain-search input {
    /* OLD CODE:
    height: 42px;
    font-size: 14px;
    */
    height: 32px;
    font-size: 14px;
    padding: 0 6px;
    display: flex;
    align-items: center;
}

.yaftom-domain-header-searchbox .yaftom-header-domain-search button {
    /* OLD CODE:
    height: 42px;
    padding: 0 18px;
    font-size: 13px;
    */
    height: 32px;
    padding: 0 14px;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    align-self: center;
}

.yaftom-domain-home-searchbox {
    max-width: 150px;
}

.yaftom-domain-home-searchbox .yaftom-header-domain-search {
    padding: 3px;
    align-items: center;
}

.yaftom-domain-home-searchbox .yaftom-header-domain-search:before {
    width: 30px;
    height: 30px;
    min-width: 30px;
    background-size: 16px 16px;
    align-self: center;
}

.yaftom-domain-home-searchbox .yaftom-header-domain-search input {
    height: 32px;
    font-size: 12px;
    padding: 0 6px;
    display: flex;
    align-items: center;
}

.yaftom-domain-home-searchbox .yaftom-header-domain-search button {
    height: 32px;
    padding: 0 14px;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    align-self: center;
}

.site-header .yaftom-header-domain-search,
header .yaftom-header-domain-search {
    background: rgba(255, 255, 255, 0.96);
}

.yaftom-result-premium-search {
    max-width: 760px;
    margin-top: 28px;
}

.yaftom-whois-hero .yaftom-header-domain-search {
    background: rgba(255, 255, 255, 0.98);
    box-shadow:
        0 20px 45px rgba(15, 23, 42, 0.24),
        inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.yaftom-whois-hero .yaftom-header-domain-search button {
    min-width: 150px;
}

.yaftom-whois-page {
    max-width: 1280px;
    margin: 0 auto;
    padding: 24px;
    background: var(--y-slate-100);
    border-radius: 28px;
}

.yaftom-whois-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e80bf 100%);
    border-radius: 28px;
    padding: 46px;
    color: #fff;
    box-shadow: 0 25px 70px rgba(30, 128, 191, 0.28);
    margin-bottom: 28px;
    overflow: hidden;
    position: relative;
}

.yaftom-whois-hero:before {
    content: "";
    position: absolute;
    right: -80px;
    top: -80px;
    width: 260px;
    height: 260px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 999px;
}

.yaftom-whois-hero-inner {
    max-width: 800px;
    position: relative;
    z-index: 1;
}

.yaftom-whois-hero h1 {
    margin: 0 0 14px;
    color: #fff;
    font-size: 52px;
    line-height: 1.05;
    font-weight: 900;
    letter-spacing: -1px;
}

.yaftom-whois-hero p {
    margin: 0 0 28px;
    color: #dbeafe;
    font-size: 17px;
    line-height: 1.7;
}

.yaftom-ajax-status {
    margin: 14px 0 0 !important;
    color: #e2e8f0 !important;
    font-weight: 700;
}

#yaftomAjaxResultArea.yaftom-loading {
    opacity: 0.55;
    pointer-events: none;
}

.yaftom-modern-empty,
.yaftom-status-card,
.yaftom-modern-card,
.yaftom-similar-card {
    background: #fff;
    border-radius: 28px;
    box-shadow: 0 15px 45px rgba(15, 23, 42, 0.08);
    border: 1px solid var(--y-slate-200);
}

.yaftom-modern-empty {
    padding: 44px;
    text-align: center;
}

.yaftom-loading-spinner {
    width: 52px;
    height: 52px;
    margin: 0 auto 18px;
    border-radius: 999px;
    border: 4px solid rgba(30, 128, 191, 0.2);
    border-top-color: var(--y-primary);
    border-right-color: var(--y-primary);
    animation: yaftom-spin 0.85s linear infinite;
}

@keyframes yaftom-spin {
    to {
        transform: rotate(360deg);
    }
}

.yaftom-modern-empty h2 {
    margin: 0 0 10px;
    color: var(--y-slate-900);
    font-size: 30px;
    font-weight: 900;
}

.yaftom-modern-empty p {
    margin: 0;
    color: var(--y-slate-500);
}

.yaftom-result-shell-loading {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.yaftom-skeleton-card {
    min-height: 118px;
}

.yaftom-skeleton-line,
.yaftom-skeleton-button {
    display: block;
    overflow: hidden;
    position: relative;
    background: linear-gradient(90deg, var(--y-slate-100) 0%, #ffffff 45%, var(--y-slate-100) 100%);
    background-size: 220% 100%;
    border-radius: 999px;
    animation: yaftomSkeletonPulse 1.15s ease-in-out infinite;
}

.yaftom-skeleton-line {
    width: 100%;
    max-width: 220px;
    height: 18px;
}

.yaftom-skeleton-line.wide {
    width: 260px;
    max-width: 100%;
    height: 28px;
    margin-bottom: 14px;
}

.yaftom-skeleton-line.short {
    width: 150px;
}

.yaftom-skeleton-button {
    width: 148px;
    height: 46px;
}

.yaftom-suggestions-pending {
    text-align: center;
}

.yaftom-suggestions-pending p {
    margin: 12px 0 0;
    color: var(--y-slate-500);
    font-size: 14px;
    font-weight: 700;
}

@keyframes yaftomSkeletonPulse {
    0% {
        background-position: 120% 0;
    }

    100% {
        background-position: -120% 0;
    }
}

.yaftom-status-card {
    padding: 26px;
    margin-bottom: 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.yaftom-status-card h2 {
    margin: 0 0 12px;
    color: var(--y-slate-900);
    font-size: 34px;
    font-weight: 900;
    word-break: break-word;
}

.yaftom-status-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.yaftom-modern-badge,
.yaftom-suggested-status {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 7px 14px;
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
}

.yaftom-modern-badge.available,
.yaftom-suggested-status.available {
    background: #dcfce7;
    color: #15803d;
}

.yaftom-modern-badge.taken,
.yaftom-suggested-status.taken {
    background: #fee2e2;
    color: #b91c1c;
}

.yaftom-modern-badge.expires {
    background: var(--y-primary-light);
    color: var(--y-primary-dark);
}

.yaftom-modern-badge.price {
    background: #ecfeff;
    color: #0e7490;
}

.yaftom-modern-btn,
.yaftom-buy-btn,
.yaftom-hosting-offer a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    text-decoration: none !important;
    border-radius: 16px;
    color: #fff !important;
    font-weight: 800;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.yaftom-modern-btn {
    padding: 14px 22px;
    border: none;
    cursor: pointer;
    appearance: none;
}

.yaftom-modern-btn.brand,
.yaftom-buy-btn {
    background: var(--y-primary);
    box-shadow: 0 10px 25px rgba(30, 128, 191, 0.25);
}

.yaftom-modern-btn.brand:hover,
.yaftom-buy-btn:hover {
    background: var(--y-primary-dark);
    transform: translateY(-1px);
}

.yaftom-modern-alert {
    border-radius: 18px;
    padding: 16px 18px;
    margin: 0 0 24px;
    font-weight: 800;
    border: 1px solid transparent;
}

.yaftom-modern-alert.success {
    background: #dcfce7;
    color: #166534;
    border-color: #bbf7d0;
}

.yaftom-modern-alert.warning {
    background: #fff7ed;
    color: #9a3412;
    border-color: #fed7aa;
}

.yaftom-modern-alert.error {
    background: #fee2e2;
    color: #b91c1c;
    border-color: #fecaca;
}

.yaftom-modern-alert.info {
    background: var(--y-primary-light);
    color: var(--y-primary-dark);
    border-color: var(--y-primary-soft);
}

body.yaftom-modal-open {
    overflow: hidden;
}

.yaftom-transfer-modal {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.58);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 99999;
    backdrop-filter: blur(4px);
}

.yaftom-transfer-modal.is-open {
    display: flex;
}

.yaftom-transfer-dialog {
    width: 100%;
    max-width: 560px;
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.3);
    border: 1px solid var(--y-slate-200);
    padding: 28px;
    position: relative;
}

.yaftom-transfer-close {
    position: absolute;
    top: 10px;
    right: 10px;
    border: none;
    background: var(--y-slate-100);
    color: var(--y-slate-700);
    width: 36px;
    height: 36px;
    border-radius: 999px;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
}

.yaftom-transfer-dialog h3 {
    margin: 0 0 8px;
    color: var(--y-slate-900);
    font-size: 30px;
    font-weight: 900;
}

.yaftom-transfer-dialog>p {
    margin: 0 0 22px;
    color: var(--y-slate-500);
    line-height: 1.6;
}

.yaftom-transfer-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.yaftom-transfer-form label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    color: var(--y-slate-800);
    font-size: 13px;
    font-weight: 800;
}

.yaftom-transfer-form input {
    height: 46px;
    border-radius: 12px;
    border: 1px solid var(--y-slate-200);
    padding: 0 12px;
    font-size: 14px;
    color: var(--y-slate-900);
    outline: none;
    background: #fff;
}

.yaftom-transfer-form input:focus {
    border-color: var(--y-primary);
    box-shadow: 0 0 0 3px rgba(30, 128, 191, 0.12);
}

.yaftom-transfer-form input[readonly] {
    background: var(--y-slate-50);
}

.yaftom-transfer-form button {
    height: 48px;
    border: none;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--y-primary) 0%, var(--y-primary-dark) 100%);
    color: #fff;
    font-size: 14px;
    font-weight: 900;
    cursor: pointer;
    margin-top: 4px;
}

.yaftom-transfer-form button:hover {
    background: linear-gradient(135deg, var(--y-primary-dark) 0%, var(--y-primary-darker) 100%);
}

.yaftom-transfer-success {
    margin: 4px 0 0;
    padding: 12px;
    border-radius: 12px;
    background: #dcfce7;
    border: 1px solid #bbf7d0;
    color: #166534;
    font-size: 13px;
    font-weight: 800;
}

.yaftom-modern-grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(320px, 1fr);
    gap: 28px;
    align-items: start;
}

.yaftom-modern-main {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.yaftom-modern-card,
.yaftom-similar-card {
    padding: 26px;
}

.yaftom-modern-card h3,
.yaftom-similar-card h3 {
    margin: 0 0 22px;
    color: var(--y-slate-900);
    font-size: 24px;
    font-weight: 900;
}

.yaftom-card-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 22px;
}

.yaftom-card-title-row h3 {
    margin: 0;
}

.yaftom-card-title-row span {
    background: var(--y-primary-light);
    color: var(--y-primary);
    border-radius: 999px;
    padding: 7px 12px;
    font-size: 12px;
    font-weight: 900;
    white-space: nowrap;
}

.yaftom-info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.yaftom-info-box {
    background: var(--y-slate-50);
    border: 1px solid var(--y-slate-200);
    border-radius: 20px;
    padding: 18px;
}

.yaftom-info-box p {
    margin: 0 0 8px;
    color: var(--y-slate-500);
    font-size: 13px;
    font-weight: 700;
}

.yaftom-info-box strong {
    color: var(--y-slate-900);
    font-size: 17px;
    line-height: 1.45;
    word-break: break-word;
}

.yaftom-nameserver-list,
.yaftom-similar-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.yaftom-similar-type {
    margin-top: 6px;
    margin-bottom: 4px;
    color: var(--y-slate-700);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.yaftom-nameserver-item,
.yaftom-similar-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    background: var(--y-slate-50);
    border: 1px solid var(--y-slate-200);
    border-radius: 18px;
    padding: 15px;
    transition: all 0.25s ease;
}

.yaftom-similar-item:hover {
    box-shadow: 0 12px 30px rgba(30, 128, 191, 0.12);
    transform: translateY(-1px);
    border-color: var(--y-primary-soft);
}

.yaftom-nameserver-item span,
.yaftom-similar-item strong {
    color: var(--y-slate-900);
    font-weight: 800;
    word-break: break-word;
}

.yaftom-suggested-price {
    color: var(--y-slate-500);
    font-size: 12px;
    font-weight: 800;
}

.yaftom-similar-item div {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.yaftom-copy-btn {
    border: none;
    background: transparent;
    color: var(--y-primary);
    font-weight: 900;
    cursor: pointer;
    padding: 5px;
}

.yaftom-modern-table-wrap {
    overflow-x: auto;
    border-radius: 20px;
    border: 1px solid var(--y-slate-200);
}

.yaftom-modern-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}

.yaftom-modern-table tr:nth-child(odd) {
    background: var(--y-slate-50);
}

.yaftom-modern-table th,
.yaftom-modern-table td {
    padding: 16px 18px;
    border-bottom: 1px solid var(--y-slate-200);
    text-align: left;
    vertical-align: top;
}

.yaftom-modern-table th {
    width: 220px;
    color: var(--y-slate-900);
    font-weight: 900;
}

.yaftom-modern-table td {
    color: var(--y-slate-700);
    word-break: break-word;
}

.yaftom-modern-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.yaftom-buy-btn {
    padding: 10px 14px;
    font-size: 13px;
}

.yaftom-hosting-offer {
    background: linear-gradient(135deg, #1e80bf 0%, #166a9f 100%);
    border-radius: 28px;
    padding: 30px;
    color: #fff;
    box-shadow: 0 20px 50px rgba(30, 128, 191, 0.28);
}

.yaftom-offer-label {
    display: inline-flex;
    background: rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    padding: 7px 14px;
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 18px;
}

.yaftom-hosting-offer h3 {
    margin: 0 0 12px;
    color: #fff;
    font-size: 30px;
    font-weight: 900;
}

.yaftom-hosting-offer p {
    margin: 0 0 24px;
    color: #e8f4fb;
    line-height: 1.7;
}

.yaftom-hosting-price {
    margin-bottom: 24px;
}

.yaftom-hosting-price span {
    font-size: 46px;
    font-weight: 900;
    letter-spacing: -1px;
}

.yaftom-hosting-price small {
    color: #e8f4fb;
    font-weight: 700;
}

.yaftom-hosting-offer a {
    width: 100%;
    background: #fff;
    color: var(--y-primary) !important;
    padding: 15px;
    border-radius: 18px;
}

.yaftom-hosting-offer a:hover {
    background: var(--y-slate-100);
}

@media (max-width: 1024px) {
    .yaftom-modern-grid {
        grid-template-columns: 1fr;
    }

    .yaftom-status-card {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 768px) {

    .yaftom-header-domain-shortcode,
    .yaftom-header-domain-search-wrap {
        max-width: 100%;
        width: 100%;
    }

    .yaftom-header-domain-search {
        border-radius: 18px;
        padding: 6px;
        gap: 6px;
    }

    .yaftom-header-domain-search:before {
        width: 38px;
        height: 38px;
        min-width: 38px;
        background-size: 20px 20px;
    }

    .yaftom-header-domain-search input {
        height: 42px;
        font-size: 13px;
        padding: 0 5px;
    }

    .yaftom-header-domain-search button {
        height: 42px;
        padding: 0 16px;
        font-size: 13px;
        min-width: auto !important;
    }

    .yaftom-whois-page {
        padding: 14px;
        border-radius: 20px;
    }

    .yaftom-whois-hero {
        padding: 28px 18px;
        border-radius: 22px;
    }

    .yaftom-whois-hero h1 {
        font-size: 34px;
    }

    .yaftom-info-grid {
        grid-template-columns: 1fr;
    }

    .yaftom-status-card,
    .yaftom-modern-card,
    .yaftom-similar-card,
    .yaftom-hosting-offer,
    .yaftom-modern-empty {
        padding: 20px;
        border-radius: 22px;
    }

    .yaftom-status-card h2 {
        font-size: 27px;
    }

    .yaftom-card-title-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .yaftom-modern-table th,
    .yaftom-modern-table td {
        display: block;
        width: 100%;
    }

    .yaftom-similar-item {
        align-items: flex-start;
        flex-direction: column;
    }

    .yaftom-buy-btn {
        width: 100%;
    }

    .yaftom-transfer-dialog {
        border-radius: 20px;
        padding: 22px;
    }

    .yaftom-transfer-dialog h3 {
        font-size: 24px;
    }
}

@media (max-width: 420px) {
    .yaftom-header-domain-search {
        border-radius: 16px;
    }

    .yaftom-header-domain-search:before {
        display: none;
    }

    .yaftom-header-domain-search button {
        padding: 0 14px;
    }
}
