/* [wwb_domain_search] */
.wwb-search-hero {
    padding: 50px 20px;
    background: #ffffff;
    border-radius: 16px;
    text-align: center;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    max-width: 900px;
    margin: 0 auto;
}

.wwb-title {
    font-size: 32px;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 10px;
    line-height: 1.2;
}

.wwb-subtitle {
    font-size: 18px;
    color: #64748b;
    margin-bottom: 35px;
}

.wwb-search-hero .wwb-form-wrapper {
    display: flex;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 60px;
    padding: 8px;
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    max-width: 650px;
    margin: 0 auto;
}

.wwb-search-hero .wwb-form-wrapper:focus-within {
    border-color: #3b82f6;
    box-shadow: 0 0 0 5px rgba(59, 130, 246, 0.1);
}

.wwb-search-hero .input-group {
    flex: 1;
    display: flex;
    align-items: center;
    padding-left: 25px;
}

.wwb-search-hero .search-icon {
    color: #94a3b8;
    font-size: 22px;
    margin-right: 15px;
}

.wwb-search-hero #wwb-domain-input {
    width: 100%;
    border: none;
    outline: none;
    font-size: 18px;
    color: #334155;
    background: transparent;
    height: 55px;
}

.wwb-search-hero #wwb-search-btn {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #fff;
    border: none;
    padding: 0 40px;
    border-radius: 50px;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.wwb-search-hero #wwb-search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.4);
}

.wwb-search-hero .wwb-results-wrapper {
    margin-top: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.wwb-search-hero .wwb-result-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.05);
    animation: wwbSlideUpSearch 0.4s ease-out;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 20px;
}

.wwb-search-hero .res-left {
    text-align: left;
}

.wwb-search-hero .res-domain {
    font-size: 20px;
    font-weight: 800;
    color: #1e293b;
    display: block;
    margin-bottom: 5px;
}

.wwb-search-hero .res-status {
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 5px 10px;
    border-radius: 6px;
    display: inline-block;
}

.wwb-search-hero .status-avail {
    background: #dcfce7;
    color: #166534;
}

.wwb-search-hero .status-taken {
    background: #fee2e2;
    color: #991b1b;
}

.wwb-search-hero .res-right {
    text-align: right;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
}

.wwb-search-hero .res-price {
    font-size: 22px;
    font-weight: 800;
    color: #0f172a;
    white-space: nowrap;
}

.wwb-search-hero .res-btn {
    background: #0f172a;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
    font-size: 15px;
    padding: 14px 30px;
    min-width: 140px;
    white-space: nowrap;
    display: inline-block;
    transition: all 0.2s;
}

.wwb-search-hero .res-btn:hover {
    background: #334155;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.wwb-search-hero .res-btn.transfer {
    background: #fff;
    border: 2px solid #e2e8f0;
    color: #475569;
}

.wwb-search-hero .res-btn.transfer:hover {
    border-color: #cbd5e1;
    background: #f8fafc;
}

.wwb-search-hero .wwb-transfer-setup {
    width: 100%;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px dashed #e2e8f0;
    text-align: left;
    display: none;
}

.wwb-search-hero .transfer-price-info {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 10px;
}

.wwb-search-hero .transfer-price-info span {
    color: #0f172a;
    font-weight: 700;
}

.wwb-search-hero .epp-input-group {
    display: flex;
    gap: 10px;
}

.wwb-search-hero .epp-input-group input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
}

.wwb-search-hero .res-btn.confirm-transfer {
    background: #16a34a;
    padding: 10px 20px;
    min-width: 120px;
}

.wwb-search-hero .res-btn.confirm-transfer:hover {
    background: #15803d;
}

.spin {
    animation: wwbSpin 1s linear infinite;
}

@keyframes wwbSlideUpSearch {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes wwbSpin {
    100% {
        transform: rotate(360deg);
    }
}

@media (max-width: 650px) {
    .wwb-search-hero .wwb-form-wrapper {
        flex-direction: column;
        border-radius: 20px;
        padding: 15px;
    }

    .wwb-search-hero .input-group {
        padding: 0;
        margin-bottom: 10px;
    }

    .wwb-search-hero #wwb-search-btn {
        width: 100%;
        justify-content: center;
    }

    .wwb-search-hero .wwb-result-card {
        flex-direction: column;
        text-align: center;
    }

    .wwb-search-hero .res-right {
        flex-direction: column;
        gap: 10px;
        width: 100%;
        align-items: center;
        flex-shrink: 1;
    }

    .wwb-search-hero .res-btn {
        width: 100%;
        min-width: 0;
    }
}

/* [wwb_domain_transfer] */
.wwb-transfer-wrapper {
    max-width: 800px;
    margin: 40px auto;
    font-family: -apple-system, BlinkMacSystemFont, sans-serif;
}

.wwb-transfer-container {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.wwb-transfer-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 40px 30px;
    text-align: center;
}

.wwb-transfer-header h2 {
    margin: 0 0 10px 0;
    font-size: 32px;
    font-weight: 700;
}

.wwb-transfer-header p {
    margin: 0;
    font-size: 16px;
    opacity: 0.95;
}

.wwb-transfer-form {
    padding: 30px;
}

.wwb-transfer-wrapper .wwb-input-group {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.wwb-transfer-wrapper .wwb-input-group input,
.wwb-transfer-wrapper .wwb-epp-group input {
    flex: 1;
    padding: 14px 20px;
    font-size: 16px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    outline: none;
    transition: all 0.3s ease;
}

.wwb-transfer-wrapper .wwb-input-group input:focus,
.wwb-transfer-wrapper .wwb-epp-group input:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.wwb-transfer-wrapper .wwb-epp-group {
    margin-top: 20px;
}

.wwb-transfer-wrapper .wwb-epp-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #334155;
}

.wwb-transfer-wrapper .wwb-btn-primary {
    padding: 14px 32px;
    background: #667eea;
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.wwb-transfer-wrapper .wwb-btn-primary:hover {
    background: #5568d3;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.wwb-transfer-wrapper .wwb-btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

#wwb-transfer-result {
    padding: 0 30px 30px 30px;
}

.wwb-transfer-success {
    background: #f0fdf4;
    border: 2px solid #86efac;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}

.wwb-transfer-success h4 {
    margin: 0 0 10px 0;
    color: #166534;
}

.wwb-transfer-success p {
    margin: 0 0 15px 0;
    color: #15803d;
}

.wwb-transfer-success .price {
    font-size: 24px;
    font-weight: 700;
    color: #166534;
    margin-bottom: 15px;
}

.wwb-transfer-success button {
    background: #16a34a;
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.wwb-transfer-success button:hover {
    background: #15803d;
}

.wwb-transfer-error {
    background: #fef2f2;
    border: 2px solid #fca5a5;
    border-radius: 12px;
    padding: 20px;
    color: #991b1b;
    text-align: center;
}

.wwb-transfer-info {
    background: #f8fafc;
    padding: 30px;
    border-top: 1px solid #e2e8f0;
}

.wwb-transfer-info h3 {
    margin: 0 0 15px 0;
    color: #1e293b;
    font-size: 18px;
}

.wwb-transfer-info ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.wwb-transfer-info li {
    padding: 8px 0;
    color: #475569;
    font-size: 15px;
}

/* [wwb_domain_whois] */
.wwb-whois-wrapper {
    max-width: 900px;
    margin: 40px auto;
    font-family: -apple-system, BlinkMacSystemFont, sans-serif;
}

.wwb-whois-container {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.wwb-whois-header {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: #fff;
    padding: 40px 30px;
    text-align: center;
}

.wwb-whois-header h2 {
    margin: 0 0 10px 0;
    font-size: 32px;
    font-weight: 700;
}

.wwb-whois-header p {
    margin: 0;
    font-size: 16px;
    opacity: 0.95;
}

.wwb-whois-form {
    padding: 30px;
}

.wwb-whois-wrapper .wwb-input-group {
    display: flex;
    gap: 12px;
}

.wwb-whois-wrapper .wwb-input-group input {
    flex: 1;
    padding: 14px 20px;
    font-size: 16px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    outline: none;
    transition: all 0.3s ease;
}

.wwb-whois-wrapper .wwb-input-group input:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.wwb-whois-wrapper .wwb-btn-primary {
    padding: 14px 32px;
    background: #3b82f6;
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.wwb-whois-wrapper .wwb-btn-primary:hover {
    background: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.wwb-whois-wrapper .wwb-btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

#wwb-whois-result {
    padding: 0 30px 30px 30px;
}

.wwb-whois-data {
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
}

.wwb-whois-data h4 {
    margin: 0 0 15px 0;
    color: #1e293b;
    font-size: 18px;
}

.wwb-whois-data pre {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 15px;
    overflow-x: auto;
    font-size: 13px;
    line-height: 1.6;
    color: #334155;
    margin: 0;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.wwb-whois-error {
    background: #fef2f2;
    border: 2px solid #fca5a5;
    border-radius: 12px;
    padding: 20px;
    color: #991b1b;
    text-align: center;
}

/* [wwb_domain_prices] */
.wwb-price-wrapper {
    margin: 20px 0;
    font-family: -apple-system, BlinkMacSystemFont, sans-serif;
}

.wwb-price-wrapper .wwb-search-container {
    margin-bottom: 20px;
}

#wwb-tld-search {
    width: 100%;
    padding: 14px 20px;
    font-size: 16px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    outline: none;
    transition: all 0.3s ease;
    font-family: inherit;
}

#wwb-tld-search:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.wwb-price-table-container {
    overflow-x: auto;
    background: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.wwb-frontend-table {
    width: 100%;
    border-collapse: collapse;
}

.wwb-frontend-table th {
    background: #f8fafc;
    color: #475569;
    text-align: left;
    padding: 16px;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    border-bottom: 2px solid #e2e8f0;
}

.wwb-frontend-table td {
    padding: 14px 16px;
    border-bottom: 1px solid #f1f5f9;
    color: #334155;
    font-size: 15px;
    vertical-align: middle;
}

.wwb-frontend-table tr:hover {
    background-color: #fcfcfc;
}

.wwb-frontend-table .tld-name {
    color: #2563eb;
    font-size: 16px;
    font-weight: 600;
}

.wwb-buy-btn {
    display: inline-block;
    background: #2563eb;
    color: #fff;
    padding: 8px 18px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.2s;
}

.wwb-buy-btn:hover {
    background: #1d4ed8;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(37, 99, 235, 0.2);
}

.wwb-pagination {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.wwb-page-btn {
    background: #fff;
    border: 1px solid #e2e8f0;
    color: #64748b;
    padding: 8px 14px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s;
    min-width: 36px;
    text-align: center;
}

.wwb-page-btn:hover {
    border-color: #cbd5e1;
    background: #f8fafc;
    color: #334155;
}

.wwb-page-btn.active {
    background: #2563eb;
    color: #fff;
    border-color: #2563eb;
    box-shadow: 0 2px 4px rgba(37, 99, 235, 0.2);
}

@media (max-width: 768px) {
    .wwb-transfer-wrapper .wwb-input-group,
    .wwb-whois-wrapper .wwb-input-group {
        flex-direction: column;
    }

    .wwb-transfer-wrapper .wwb-btn-primary,
    .wwb-whois-wrapper .wwb-btn-primary {
        width: 100%;
    }
}
