/* Domain Name Generator — EasyToolio Naming & Social Identity Visual System */

.bg-subtle-grid-indigo {
    background-image: radial-gradient(rgba(99, 102, 241, 0.12) 1px, transparent 0);
    background-size: 24px 24px;
}
html:not(.dark) .bg-subtle-grid-indigo {
    background-image: radial-gradient(rgba(99, 102, 241, 0.15) 1px, transparent 0);
}

.apple-glass {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}
html.dark .apple-glass {
    background: rgba(18, 18, 20, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: none;
}

.apple-card {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(15, 23, 42, 0.08);
    transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
}
html.dark .apple-card {
    background: rgba(29, 29, 31, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.apple-card:hover {
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: 0 10px 30px -10px rgba(99, 102, 241, 0.18);
}

/* Chips and Buttons */
.tld-pill,
.mode-pill,
.refine-pill,
.filter-pill,
.preset-pill {
    transition: all 0.18s ease;
    user-select: none;
    cursor: pointer;
}

.tld-pill.active {
    background: rgba(99, 102, 241, 0.18) !important;
    border-color: rgba(99, 102, 241, 0.6) !important;
    color: #6366f1 !important;
    font-weight: 700;
}
html.dark .tld-pill.active {
    color: #a5b4fc !important;
}

.mode-pill.active {
    background: rgba(99, 102, 241, 0.18) !important;
    border-color: rgba(99, 102, 241, 0.6) !important;
    color: #6366f1 !important;
    font-weight: 700;
}
html.dark .mode-pill.active {
    color: #a5b4fc !important;
}

.filter-pill.active {
    background: rgba(99, 102, 241, 0.18) !important;
    border-color: rgba(99, 102, 241, 0.6) !important;
    color: #6366f1 !important;
    font-weight: 700;
}
html.dark .filter-pill.active {
    color: #a5b4fc !important;
}

/* Status Badges */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.02em;
    border: 1px solid transparent;
}

.status-badge-unverified {
    background: rgba(113, 113, 122, 0.12);
    color: #71717a;
    border-color: rgba(113, 113, 122, 0.2);
}
html.dark .status-badge-unverified {
    background: rgba(255, 255, 255, 0.05);
    color: #a1a1aa;
    border-color: rgba(255, 255, 255, 0.08);
}

.status-badge-available {
    background: rgba(16, 185, 129, 0.12);
    color: #059669;
    border-color: rgba(16, 185, 129, 0.28);
}
html.dark .status-badge-available {
    color: #34d399;
}

.status-badge-taken {
    background: rgba(244, 63, 94, 0.12);
    color: #e11d48;
    border-color: rgba(244, 63, 94, 0.28);
}
html.dark .status-badge-taken {
    color: #fb7185;
}

.status-badge-checking {
    background: rgba(99, 102, 241, 0.12);
    color: #6366f1;
    border-color: rgba(99, 102, 241, 0.28);
}
html.dark .status-badge-checking {
    color: #a5b4fc;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 0.3s ease-out forwards;
}

/* Touch targets >= 44px for accessibility on mobile */
@media (max-width: 640px) {
    .btn-touch-target {
        min-height: 44px;
        min-width: 44px;
    }
}
