/* UnderHost domain search (hero, EN + FR) - one search card, same design as the rest of the ecosystem.
   Markup: .uh-dsearch (form) > .uh-dsearch-field (globe + input) + .uh-dsearch-btn. Desktop: one row. Mobile: stacked inside the same card. */

.uh-dsearch {
    box-sizing: border-box;
    max-width: 680px;
    margin: 26px auto 18px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px;
    background: #fff;
    border: 1px solid rgba(34, 211, 238, 0.28);
    border-radius: 16px;
    box-shadow: 0 20px 44px rgba(2, 8, 20, 0.28);
}

.uh-dsearch-field {
    flex: 1 1 auto;
    min-width: 0;
    height: 54px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 14px;
    border-radius: 12px;
    background: #f4f8fb;
    transition: background 0.15s ease, box-shadow 0.15s ease;
}

.uh-dsearch-field > i {
    flex: none;
    font-size: 15px;
    color: #0091d6;
}

.uh-dsearch-field input {
    flex: 1 1 auto;
    min-width: 0;
    height: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    outline: none;
    background: transparent;
    font-size: 16px;            /* 16px stops iOS zooming in on focus */
    color: #0b1f3a;
    box-shadow: none;
}

.uh-dsearch-field input::placeholder {
    color: #7c8ba1;
    opacity: 1;
}

.uh-dsearch-field:focus-within {
    background: #fff;
    box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.35);
}

.uh-dsearch-btn {
    flex: none;
    height: 54px;
    padding: 0 26px;
    border: 0;
    border-radius: 12px;
    background: linear-gradient(-45deg, #00d4ff, #0091d6);
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.01em;
    white-space: nowrap;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(0, 145, 214, 0.35);
    transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.uh-dsearch-btn:hover,
.uh-dsearch-btn:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(0, 145, 214, 0.45);
    filter: brightness(1.05);
    outline: none;
}

.uh-dsearch-btn i {
    margin-right: 6px;
}

@media (max-width: 600px) {
    .uh-dsearch {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        margin: 20px 16px 16px;
        padding: 10px;
        border-radius: 18px;
    }
    .uh-dsearch-field {
        height: 52px;
    }
    .uh-dsearch-btn {
        width: 100%;
        height: 52px;
        padding: 0 16px;
        font-size: 16px;
    }
}

/* ===== Domain pricing - phone layout + rotating TLD pills + .TO card (2026-11-29) ===== */

/* .TO card: white card like the rest of the site (was a dark navy block) */
.to-notice-section { background: #f4f8fb; }
.to-notice-section::before, .to-notice-section::after { display: none; }
.to-notice-section .to-notice-card {
    background: #fff; border: 1px solid #e2e8f0; border-radius: 22px;
    box-shadow: 0 16px 40px -22px rgba(11, 31, 58, 0.25); color: #334155; backdrop-filter: none;
}
.to-notice-section .to-notice-card h3 { color: #0b1f3a; }
.to-notice-section .to-pricing-item { background: #f4f8fb; border: 1px solid #e2e8f0; border-radius: 14px; }
.to-notice-section .to-pricing-label { color: #64748b; }
.to-notice-section .to-pricing-value { color: #0b1f3a; }
.to-notice-section .to-notice-box { background: #f0fbff; border: 1px solid rgba(34, 211, 238, 0.35); border-radius: 16px; }
.to-notice-section .to-notice-box p, .to-notice-section .notice-content p { color: #475569; }
.to-notice-section .to-notice-box strong, .to-notice-section .notice-content strong { color: #0b1f3a; }
.to-notice-section .notice-icon { color: #0091d6; }
.to-notice-section .to-premium-badge { background: #0b1f3a; color: #22d3ee; }
.to-notice-section .to-price, .to-notice-section .to-period { color: #0b1f3a; }
.to-notice-section .to-pricing-badge { background: #eef7ff; color: #0b1f3a; }

/* Rotating TLD pills: phones only. All-in-one row, no horizontal scrolling. */
.tld-rotor { display: none; }

@media (max-width: 600px) {
    /* the wrapped pill rows become one row: All + three rotating extensions */
    .tld-pills { display: none !important; }
    .tld-rotor {
        display: flex; gap: 8px; justify-content: center; align-items: stretch;
        max-width: 100%; margin: 14px auto 0; padding: 0 12px; box-sizing: border-box;
    }
    .tld-rotor .tld-pill {
        flex: 1 1 0; min-width: 0; text-align: center; padding: 10px 6px; font-size: 14px;
        white-space: nowrap; overflow: hidden; transition: opacity 0.22s ease, transform 0.22s ease;
    }
    .tld-rotor .tld-pill.is-swap { opacity: 0; transform: translateY(4px); }
    .tld-rotor .tld-pill.active { background: linear-gradient(-45deg, #00d4ff, #0091d6); color: #fff; }

    /* pricing: one compact card per TLD (name + price on top, three prices in a row, both buttons in one row) */
    .tld-grid { gap: 12px; }
    .tld-card { padding: 14px 16px; border-radius: 16px; }
    .tld-card-header h4 { font-size: 18px; }
    .tld-description { display: none; }
    .tld-pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 10px 0 12px; }
    .tld-pricing .price-row {
        display: flex; flex-direction: column; align-items: flex-start; gap: 2px;
        padding: 7px 8px; border-radius: 10px; background: #f4f8fb; border: 0 !important;
    }
    .tld-pricing .price-row > span:first-child { font-size: 11px; color: #64748b; text-transform: uppercase; letter-spacing: 0.04em; }
    .tld-pricing .price-row > span:last-child, .tld-pricing .price-value { font-size: 14px; font-weight: 700; color: #0b1f3a; white-space: nowrap; }
    .tld-card .domain-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
    .tld-card .btn-register-sm { height: 40px; display: flex; align-items: center; justify-content: center; font-size: 14px; border-radius: 10px; }

    /* .TO: the request button on one full-width line */
    .to-notice-section .btn-to-register {
        display: flex; width: 100%; justify-content: center; white-space: nowrap;
        box-sizing: border-box; padding: 14px 18px; font-size: 15px;
    }
    .to-notice-section .to-notice-box { align-items: stretch; padding: 18px 16px !important; }
    .to-notice-section .to-notice-card { padding: 22px 16px; margin: 0 8px; }
    .to-notice-section .to-notice-box .notice-content { width: 100%; align-self: stretch; }
}

/* .TO features (were white text for the dark section) */
.to-notice-section .to-features-grid .to-feature { background: #fff; border: 1px solid #e2e8f0; box-shadow: 0 6px 16px -10px rgba(11, 31, 58, 0.25); }
.to-notice-section .to-features-grid .to-feature:hover { background: #f0fbff; border-color: rgba(34, 211, 238, 0.5); box-shadow: 0 10px 24px -12px rgba(11, 31, 58, 0.3); }
.to-notice-section .to-features-grid .to-feature span { color: #0b1f3a; }
.to-notice-section .to-features-grid .to-feature i { color: #0091d6; }
.to-notice-section .to-description { color: #475569; }
