/**
 * Favourite section — favourite-static-client.php design (scoped island).
 */

.fav-jodi-section {
    margin: 0 0 0.45rem;
}

.fav-jodi-section .fav-client-island {
    all: initial;
    display: block;
    width: 100%;
    font-family: 'Segoe UI', sans-serif;
    font-size: medium;
    font-weight: 400;
    line-height: normal;
    color: #000;
    box-sizing: border-box;
    -webkit-font-smoothing: auto;
    -moz-osx-font-smoothing: auto;
}

.fav-jodi-section .fav-client-island *,
.fav-jodi-section .fav-client-island *::before,
.fav-jodi-section .fav-client-island *::after {
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
}

.fav-jodi-section .fav-client-island {
    --fav-primary: #6f42c1;
}

.fav-jodi-section .fav-full-width-card {
    width: 100%;
    background: #fff;
    border-radius: 12px;
    padding: 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.fav-jodi-section .fav-header-strip {
    background: var(--fav-primary);
    padding: 15px;
    text-align: center;
    color: #fff;
}

.fav-jodi-section .fav-header-title {
    font-weight: 800;
    font-size: 1.2rem;
    margin: 0;
}

.fav-jodi-section .fav-content-padding {
    padding: 15px;
}

.fav-jodi-section .fav-info-box {
    background: #f3e5f5;
    color: #4a148c;
    padding: 15px;
    border-radius: 8px;
    font-size: 0.95rem;
    border-left: 4px solid var(--fav-primary);
    margin-bottom: 15px;
    line-height: 1.6;
}

.fav-jodi-section .fav-info-box ul {
    margin: 0.5rem 0 0;
    padding-left: 1.25rem;
}

.fav-jodi-section .fav-pro-tips {
    background: #fff3e0;
    color: #bf360c;
    padding: 15px;
    border-radius: 8px;
    font-size: 0.9rem;
    border: 1px dashed #fb8c00;
    margin-bottom: 15px;
    font-weight: 600;
}

.fav-jodi-section .fav-modern-select {
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    border: 2px solid #e0e0e0;
    font-weight: 700;
    color: var(--fav-primary);
    background: #fff;
    margin-bottom: 15px;
    font-size: 1rem;
    font-family: 'Segoe UI', sans-serif;
}

.fav-jodi-section .fav-market-banner {
    background: #2d3436;
    color: #fff;
    text-align: center;
    padding: 10px;
    border-radius: 8px;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 15px;
    font-size: 1.1rem;
    text-transform: uppercase;
}

.fav-jodi-section .fav-label-container {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.fav-jodi-section .fav-highlight-label {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--fav-primary);
    background: #ede7f6;
    padding: 4px 10px;
    border-radius: 6px;
}

.fav-jodi-section .fav-content-badge {
    background: #6f42c1;
    color: #fff;
    font-size: 0.65rem;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 700;
}

.fav-jodi-section .fav-grid-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 5px;
    width: 100%;
}

.fav-jodi-section .fav-grid-container.fav-grid-mb {
    margin-bottom: 15px;
}

.fav-jodi-section .fav-input-box {
    width: 100%;
    min-height: 35px;
    height: 35px;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    text-align: center;
    font-weight: 700;
    color: #333;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.fav-jodi-section .fav-input-box.fav-cell-empty {
    color: #adb5bd;
    font-weight: 600;
}

.fav-jodi-section .fav-empty-msg {
    margin: 0;
    padding: 1rem;
    text-align: center;
    color: #64748b;
    font-size: 0.9rem;
}

@media (max-width: 360px) {
    .fav-jodi-section .fav-grid-container {
        grid-template-columns: repeat(3, 1fr);
    }
}