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

/* WM Custom Select */
.wm-custom-select-container { position: relative; min-width: 70px; user-select: none; }
.wm-custom-select-trigger {
    display: flex; align-items: center; justify-content: space-between;
    font-size: 0.95rem; font-weight: 700; color: var(--brand-main, #0d9488);
    cursor: pointer; padding: 4px 8px; border-radius: 20px; transition: background 0.2s;
}
.wm-custom-select-trigger:hover { background: rgba(13, 148, 136, 0.05); }
.wm-custom-select-icon { font-size: 1.2rem; transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.wm-custom-select-trigger.is-open .wm-custom-select-icon { transform: rotate(180deg); }

.wm-custom-select-dropdown {
    position: absolute; top: calc(100% + 12px); right: 0; min-width: 120px;
    background: #fff; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    max-height: 280px; overflow-y: auto; z-index: 100;
    opacity: 0; visibility: hidden; transform: translateY(-15px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid #f1f5f9; padding: 8px 0;
}
.wm-custom-select-dropdown.is-open {
    opacity: 1; visibility: visible; transform: translateY(0) scale(1);
}
.wm-custom-option {
    padding: 10px 20px; font-size: 0.95rem; color: #475569; font-weight: 500; cursor: pointer;
    transition: all 0.2s; display: flex; align-items: center; justify-content: flex-end;
}
.wm-custom-option:hover {
    background: #f8fafc; color: var(--brand-main, #0d9488); padding-right: 24px;
}
.wm-custom-option.selected {
    background: rgba(13, 148, 136, 0.08); color: var(--brand-main, #0d9488); font-weight: 700;
}
/* Scrollbar for dropdown */
.wm-custom-select-dropdown::-webkit-scrollbar { width: 6px; }
.wm-custom-select-dropdown::-webkit-scrollbar-track { background: transparent; }
.wm-custom-select-dropdown::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 10px; }
.wm-custom-select-dropdown::-webkit-scrollbar-thumb:hover { background: #94a3b8; }

@media (max-width: 768px) {
    .limit-selector-wrap {
        position: static !important;
        margin: 16px auto 0 !important;
        transform: none !important;
        display: flex !important;
        width: max-content !important;
        justify-content: center;
    }
}

.onepage-card {
    transition: transform 200ms ease, box-shadow 200ms ease !important;
}
.onepage-card:hover {
    transform: translateY(-6px) !important;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1) !important;
}

/* Tabs Styling */
.onepage-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    gap: 8px;
    margin-bottom: 24px;
}
.onepage-tab-btn {
    min-width: 160px;
    padding: 18px 16px;
    background: #ffffff;
    color: #475569;
    border: none;
    border-radius: 10px;
    font-size: 1.05rem;
    font-family: var(--font-main, 'Prompt', sans-serif);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}
.onepage-tab-btn:hover {
    background: #f8fafc;
    color: var(--brand-main);
}
.onepage-tab-btn.is-active {
    background: var(--brand-main);
    color: #fff;
    box-shadow: 0 4px 12px rgba(13, 148, 136, 0.3);
}
.onepage-tab-btn.is-active:hover {
    background: #0f766e;
    color: #fff;
}

/* Limit Selector Styling */
.limit-selector-wrap {
    display: flex;
    width: max-content;
    margin: 0 auto;
    align-items: center;
    gap: 8px;
    background: #fff;
    padding: 4px 6px 4px 16px;
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    border: 1px solid #f1f5f9;
}

@media (max-width: 768px) {
    .onepage-tabs {
        flex-direction: column;
        gap: 12px;
    }
    .onepage-tab-btn {
        width: 100%;
        flex: none;
    }
}

