.elementor-10281 .elementor-element.elementor-element-7f75645{--display:flex;}/* Start custom CSS for shortcode, class: .elementor-element-e622f17 *//* NCERT Books Filter System */
.ncert-filter-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Header */
.ncert-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e0e2ff;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 10px;
}

.header-icon {
    width: 48px;
    height: 48px;
    background: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(1, 0, 154, 0.1);
}

.header-text h1 {
    font-size: 32px;
    font-weight: 700;
    color: #01009A;
    margin: 0;
}

.header-text p {
    font-size: 16px;
    color: #666;
    margin: 8px 0 0;
}

/* Filter Container */
.filter-container {
    background: white;
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 40px;
    box-shadow: 0 6px 20px rgba(1, 0, 154, 0.08);
    border: 1px solid #e0e2ff;
}

.filter-header {
    margin-bottom: 25px;
}

.filter-header h2 {
    font-size: 22px;
    color: #01009A;
    margin: 0;
}

.filter-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 25px;
}

@media (max-width: 768px) {
    .filter-grid {
        grid-template-columns: 1fr;
    }
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.filter-label {
    font-size: 14px;
    font-weight: 600;
    color: #444;
}

.filter-select {
    width: 100%;
    padding: 14px;
    border: 2px solid #e0e2ff;
    border-radius: 10px;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s;
}

.filter-select:focus {
    outline: none;
    border-color: #01009A;
}

.filter-select:disabled {
    background: #f8f9ff;
    color: #999;
    cursor: not-allowed;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    gap: 15px;
}

.btn {
    flex: 1;
    padding: 14px 20px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-primary {
    background: linear-gradient(135deg, #F15E03, #e05500);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #e05500, #d14e00);
}

.btn-secondary {
    background: #01009A;
    color: white;
}

.btn-secondary:hover {
    background: #000086;
}

/* Results Section */
.results-section {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 6px 20px rgba(1, 0, 154, 0.08);
    border: 1px solid #e0e2ff;
}

.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f1ff;
}

.results-header h3 {
    font-size: 22px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.results-count {
    font-size: 14px;
    color: #01009A;
    background: rgba(1, 0, 154, 0.08);
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
}

/* Books Grid */
.books-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.book-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #f0f1ff;
    transition: all 0.3s ease;
}

.book-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-color: #01009A;
}

.book-image {
    height: 180px;
    background: linear-gradient(135deg, #f0f2ff, #e6e9ff);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.book-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-placeholder {
    color: #01009A;
    opacity: 0.3;
    font-size: 48px;
}

.book-content {
    padding: 20px;
}

.book-title {
    font-size: 18px;
    font-weight: 700;
    color: #01009A;
    margin: 0 0 12px 0;
    line-height: 1.3;
}

.book-meta {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.book-tag {
    font-size: 12px;
    color: #01009A;
    background: rgba(1, 0, 154, 0.08);
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: 500;
}

.book-read-btn {
    width: 100%;
    padding: 12px 16px;
    background: #F15E03;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.book-read-btn:hover {
    background: #e05500;
}

/* Empty State */
.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: #999;
}

.empty-state p {
    font-size: 16px;
    margin: 0;
    color: #777;
}

/* Email Popup */
.email-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    padding: 20px;
}

.email-popup {
    background: white;
    border-radius: 20px;
    padding: 30px;
    max-width: 500px;
    width: 100%;
    position: relative;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.close-popup {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    font-size: 24px;
    color: #666;
}

.close-popup:hover {
    background: #f5f5f5;
}

.popup-header {
    text-align: center;
    margin-bottom: 25px;
}

.popup-header h3 {
    font-size: 24px;
    color: #01009A;
    margin: 0 0 10px 0;
}

.popup-header p {
    font-size: 15px;
    color: #666;
    line-height: 1.5;
    margin: 0;
}

.email-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: #444;
    display: block;
    margin-bottom: 5px;
}

.email-input {
    width: 100%;
    padding: 14px;
    border: 2px solid #e0e2ff;
    border-radius: 10px;
    font-size: 15px;
}

.email-input:focus {
    outline: none;
    border-color: #01009A;
}

.form-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn-subscribe {
    padding: 16px;
    background: #01009A;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-subscribe:hover {
    background: #000086;
}

.btn-skip {
    padding: 14px;
    background: transparent;
    color: #666;
    border: 2px solid #ddd;
    border-radius: 10px;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-skip:hover {
    background: #f8f9ff;
    border-color: #01009A;
    color: #01009A;
}/* End custom CSS */