/* ============================================
   MOBILE RESPONSIVE STYLES
   ============================================ */

/* Mobile Selector Container - Hidden by default on large screens */
.mobile-selector-container {
    display: none;
    width: 100%;
    margin-top: var(--spacing-sm);
}

.mobile-select {
    width: 100%;
    padding: var(--spacing-sm) var(--spacing-md);
    border: 2px solid var(--color-border);
    border-radius: var(--radius-lg);
    background: var(--color-surface);
    color: var(--color-text);
    font-weight: 600;
    font-size: var(--font-size-base);
    transition: all var(--transition-base);
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%239333ea' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right var(--spacing-md) center;
    background-size: 1.1rem;
    cursor: pointer;
}

.mobile-select:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(147, 51, 234, 0.1);
}

/* Responsive visibility toggle and refinements */
@media (max-width: 768px) {

    /* Reduce container size */
    .numerology-type-selector {
        padding: var(--spacing-sm) !important;
        margin-bottom: var(--spacing-sm) !important;
        border-radius: var(--radius-lg) !important;
    }

    /* Adjust the main label */
    .selector-label {
        font-size: var(--font-size-base) !important;
        margin-bottom: var(--spacing-sm) !important;
        justify-content: center !important;
        text-align: center !important;
        width: 100% !important;
    }

    /* Hide the large radio button cards */
    .numerology-options-horizontal {
        display: none !important;
    }

    /* Show the compact dropdown */
    .mobile-selector-container {
        display: block;
    }
}