/* Base List Styling */
.nethub-custom-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
}

/* --- ORIENTATION LOGIC --- */

/* Vertical Mode (Stacked) */
.nethub-layout-vertical .nethub-custom-list {
    flex-direction: column;
}

/* Inline Mode (Side by Side) */
.nethub-layout-inline .nethub-custom-list {
    flex-direction: row;
}

/* --- LIST ITEM BASICS --- */
.nethub-custom-list li {
    display: flex;
    align-items: center;
    position: relative;
    line-height: 1.5;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- STANDARD LIST MARKERS --- */
.nethub-display-list .list-marker-dot {
    display: block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 20px;
    flex-shrink: 0;
    background-color: #00828e;
    box-shadow: 0 0 12px rgba(0, 136, 149, 0.6);
}

.nethub-display-list .list-marker-icon {
    margin-right: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00828e;
}

/* --- PILL MODES (SHARED) --- */
/* Target both Plain Pills and Liquid Pills */
.nethub-display-pills .nethub-custom-list li,
.nethub-display-liquid .nethub-custom-list li {
    cursor: default;
    justify-content: center;
    font-weight: 600;
    border-radius: 100px;
	text-align: center;
}

/* --- OPTION 1: PLAIN PILLS --- */
.nethub-display-pills .nethub-custom-list li {
    padding: 10px 24px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(0, 0, 0, 0.05);
    font-size: 14px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* Smooth Background Layer for Plain Pill */
.nethub-display-pills .nethub-custom-list li::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(255, 255, 255, 0.95);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

/* Hover Effect */
.nethub-display-pills .nethub-custom-list li:hover {
    transform: translateY(-3px);
    border-color: #00828e;
    box-shadow: 0 10px 20px rgba(0, 136, 149, 0.08);
}

.nethub-display-pills .nethub-custom-list li:hover::before {
    opacity: 1;
}

/* --- OPTION 2: LIQUID PILLS --- */
.nethub-display-liquid .nethub-custom-list li {
    padding: 12px 28px;
    background: linear-gradient(135deg, rgba(240, 250, 250, 0.9) 0%, rgba(255, 255, 255, 0.4) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 136, 149, 0.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    font-size: 15px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* The "Smooth Hover Layer" */
.nethub-display-liquid .nethub-custom-list li::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(240, 250, 250, 1) 0%, rgba(255, 255, 255, 0.8) 100%);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

/* Hover Effect Adjustment for Glass */
.nethub-display-liquid .nethub-custom-list li:hover {
	transform: translateY(-3px);
    border-color: #00828e;
    background: linear-gradient(135deg, rgba(240, 250, 250, 1) 0%, rgba(255, 255, 255, 0.8) 100%);
    box-shadow: 0 10px 20px rgba(0, 136, 149, 0.12);
}

/* Fade in the background layer on hover */
.nethub-display-liquid .nethub-custom-list li:hover::before {
    opacity: 1;
}

/* --- PILL BULLET STYLING --- */
.pill-bullet {
    width: 8px;
    height: 8px;
    background-color: #00828e;
    border-radius: 50%;
    margin-right: 12px;
    flex-shrink: 0;
    box-shadow: 0 0 8px rgba(0, 136, 149, 0.4);
    transition: background-color 0.3s ease;
}

/* --- RESPONSIVENESS --- */
@media (max-width: 767px) {
    .nethub-custom-list {
        gap: 15px !important;
    }
    
    .nethub-display-pills .nethub-custom-list li,
    .nethub-display-liquid .nethub-custom-list li {
        padding: 12px 20px;
		font-size: 13px !important;
		font-weight: 600;
    }
}

@media (max-width: 480px) {

    .nethub-display-pills .nethub-custom-list li,
    .nethub-display-liquid .nethub-custom-list li {
        width: 100%;
    }
}