/* BlockXpert Admin Settings Styles */

.blockxpert-section { 
    display: none; 
    padding: 30px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    margin-top: 20px;
}

.blockxpert-section.active { 
    display: block;
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.nav-tab { 
    cursor: pointer; 
}

.blockxpert-tabs { 
    display: flex; 
    gap: 16px; 
    margin-bottom: 25px;
    padding: 0 10px;
}

.blockxpert-tab { 
    padding: 12px 24px; 
    border-radius: 8px; 
    background: #f8f9fa; 
    cursor: pointer; 
    font-weight: 600; 
    color: #1d2327; 
    border: 1px solid #e5e7eb;
    outline: none; 
    transition: all 0.2s ease;
    font-size: 14px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.blockxpert-tab.active, 
.blockxpert-tab:focus { 
    background: #2271b1; 
    color: #fff; 
}
 

.blockxpert-search-input {
    width: 300px;
    padding: 8px 12px;
    border-radius: 6px;
    border: 1px solid #dcdcde;
    font-size: 14px;
    transition: all 0.3s ease;
    background-color: #fff;
    box-shadow: 0 0 0 transparent;
}

.blockxpert-search-input:focus {
    border-color: #2271b1;
    box-shadow: 0 0 0 1px #2271b1;
    outline: 2px solid transparent;
}

.blockxpert-block-list { 
    display: grid; 
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); 
    gap: 24px; 
    margin-top: 20px;
}

.blockxpert-block-card { 
    background: #fff; 
    border: 1px solid #e5e7eb; 
    border-radius: 12px; 
    padding: 24px; 
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.blockxpert-block-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border-color: #2271b1;
}

.blockxpert-block-label { 
    font-size: 1.1em; 
    font-weight: 500; 
}

.blockxpert-toggle-switch { 
    position: relative; 
    display: inline-block; 
    width: 52px; 
    height: 28px; 
    margin-right: 12px; 
    vertical-align: middle; 
}

.blockxpert-toggle-switch input { 
    opacity: 0; 
    width: 0; 
    height: 0; 
}

.blockxpert-toggle-slider { 
    position: absolute; 
    cursor: pointer; 
    top: 0; 
    left: 0; 
    right: 0; 
    bottom: 0; 
    background-color: #e5e7eb; 
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); 
    border-radius: 28px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.blockxpert-toggle-slider:before { 
    position: absolute; 
    content: ""; 
    height: 22px; 
    width: 22px; 
    left: 3px; 
    bottom: 3px; 
    background-color: white; 
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 50%; 
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.blockxpert-toggle-switch input:checked + .blockxpert-toggle-slider { 
    background: linear-gradient(135deg, #2271b1, #135e96);
}

.blockxpert-toggle-switch input:checked + .blockxpert-toggle-slider:before { 
    transform: translateX(24px);
    box-shadow: 0 2px 4px rgba(34, 113, 177, 0.2);
}

.blockxpert-toggle-yesno { 
    font-weight: 500; 
    color: #2271b1; 
}

@media (max-width: 700px) { 
    .blockxpert-block-list { 
        flex-direction: column; 
        gap: 12px; 
    } 
    .blockxpert-block-card { 
        min-width: 0; 
        width: 100%; 
    } 
} 