/* Domain search results (pages/domain-search.html.twig): the searched name as one big card, the other extensions as rows. */
.dsr { max-width: 860px; margin: 0 auto; }
.dsr-main { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 26px 28px; border-radius: 16px; background: #fff; border: 2px solid #e5e7eb; box-shadow: 0 10px 30px rgba(15, 23, 42, .06); }
.dsr-main.is-available { border-color: #16a34a; background: linear-gradient(180deg, #f0fdf4 0, #fff 70%); }
.dsr-main.is-taken { border-color: #e5e7eb; background: #f9fafb; }
.dsr-main .dsr-name { font-size: clamp(22px, 4vw, 34px); line-height: 1.15; }
.dsr-main .dsr-state { margin-top: 6px; font-size: 14px; color: #6b7280; }
.dsr-main.is-available .dsr-state { color: #15803d; font-weight: 600; }
.dsr-main .dsr-buy { display: flex; align-items: center; gap: 18px; }
.dsr-main .dsr-price strong { font-size: 26px; }
.dsr-sub { margin: 30px 0 12px; font-size: 18px; font-weight: 700; }
.dsr-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; border: 1px solid #e5e7eb; border-radius: 14px; overflow: hidden; background: #fff; }
.dsr-row { display: flex; align-items: center; gap: 14px; padding: 14px 20px; border-bottom: 1px solid #f1f5f9; }
.dsr-row:last-child { border-bottom: 0; }
.dsr-row.is-available { order: 0; }
.dsr-row.is-checking { order: 1; }
.dsr-row.is-taken { order: 2; background: #fafafa; }
.dsr-row .dsr-info { flex: 1 1 auto; min-width: 0; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.dsr-name { font-weight: 700; word-break: break-all; color: #111827; }
.dsr-name .dsr-ext { color: #2563eb; }
.dsr-row.is-taken .dsr-name, .dsr-row.is-taken .dsr-name .dsr-ext { color: #9ca3af; font-weight: 500; }
.dsr-badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.is-available > .dsr-info .dsr-badge, .dsr-main.is-available .dsr-badge { background: #dcfce7; color: #166534; }
.is-taken > .dsr-info .dsr-badge, .dsr-main.is-taken .dsr-badge { background: #e5e7eb; color: #4b5563; }
.dsr-price { white-space: nowrap; text-align: right; color: #111827; min-width: 120px; }
.dsr-price small { color: #6b7280; }
.dsr-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 132px; padding: 10px 18px; border: 0; border-radius: 10px; background: #111827; color: #fff !important; font-weight: 700; font-size: 14px; text-decoration: none !important; cursor: pointer; transition: background .15s, transform .15s; }
.dsr-btn:hover { background: #2563eb; transform: translateY(-1px); }
.dsr-btn:focus-visible { outline: 3px solid #93c5fd; outline-offset: 2px; }
.dsr-more { display: block; margin: 16px auto 0; padding: 10px 22px; border: 1px solid #d1d5db; border-radius: 10px; background: #fff; font-weight: 600; cursor: pointer; }
.dsr-more:hover { border-color: #2563eb; color: #2563eb; }
.dsr-more[hidden] { display: none; }
.dsr-skel { display: inline-block; width: 120px; height: 14px; border-radius: 6px; background: linear-gradient(90deg, #eef2f7 25%, #e2e8f0 50%, #eef2f7 75%); background-size: 200% 100%; animation: dsr-shimmer 1.2s infinite linear; }
@keyframes dsr-shimmer { to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { .dsr-skel { animation: none; } .dsr-btn { transition: none; } }
@media (max-width: 575px) {
    .dsr-main { padding: 20px; }
    .dsr-main .dsr-buy { width: 100%; justify-content: space-between; }
    .dsr-row { flex-wrap: wrap; padding: 14px 16px; }
    .dsr-row .dsr-info { flex-basis: 100%; }
    .dsr-row .dsr-price { margin-right: auto; text-align: left; }
}
