/* ============================================
   FOOTER WIDGET SYSTEM - SIMPLE & CLEAN
   ============================================ */

/* Modern Footer Container */
.modern-footer {
    background-color: #2c3e50;
    color: #ecf0f1;
    padding: 3rem 0 1rem;
    margin-top: 4rem;
    border-top: 3px solid #3498db;
    overflow-x: hidden;
    width: 100%;
}

[data-theme="dark"] .modern-footer {
    background-color: #1a1d20;
    border-top-color: #6ba3ff;
}

/* Container */
.modern-footer .container-fluid {
    width: 100% !important;
    max-width: calc(100% - 100px) !important;
    padding-left: 4rem !important;
    padding-right: 4rem !important;
    margin: 0 auto !important;
}

@media (max-width: 767px) {
    .modern-footer .container-fluid {
        max-width: 100% !important;
        padding-left: 1.5rem !important;
        padding-right: 1.5rem !important;
    }
}

/* Footer Content */
.modern-footer .footer-content {
    margin-bottom: 2rem !important;
    display: block !important;
    width: 100% !important;
}

/* Footer Grid - 3 Equal Columns */
.modern-footer .footer-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    flex: none !important;
}

@media (min-width: 768px) {
    .modern-footer .footer-grid {
        grid-template-columns: repeat(3, minmax(0, 300px)) !important;
        gap: 3rem !important;
        justify-content: center !important;
    }
}

/* Footer Area */
.modern-footer .footer-area {
    min-height: 100px !important;
    min-width: 0 !important;
    overflow: hidden !important;
    max-width: 100% !important;
    width: 100% !important;
}

.modern-footer .footer-area * {
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
}

/* Widget Container */
.footer-widget {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow: hidden;
    margin-bottom: 1rem;
}

.footer-widget:last-child {
    margin-bottom: 0;
}

.footer-widget * {
    max-width: 100% !important;
    min-width: 0 !important;
}

/* Widget Titles */
.footer-area .widget-title,
.footer-widget .widget-title {
    color: #000000 !important;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

[data-theme="dark"] .footer-area .widget-title,
[data-theme="dark"] .footer-widget .widget-title {
    color: #ecf0f1 !important;
}

/* Category Widget */
.footer-widget .widget-categories {
    background: transparent;
    padding: 0;
}

.footer-widget .widget-categories .category-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-widget .widget-categories .category-item {
    background: transparent;
}

.footer-widget .widget-categories .category-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0;
    color: #000000 !important;
    text-decoration: none;
    transition: color 0.2s;
}

[data-theme="dark"] .footer-widget .widget-categories .category-link {
    color: #bdc3c7 !important;
}

.footer-widget .widget-categories .category-link:hover {
    color: #3498db !important;
}

.footer-widget .widget-categories .category-link i {
    font-size: 1rem;
    color: #000000 !important;
    flex-shrink: 0;
    width: 20px;
    text-align: center;
}

[data-theme="dark"] .footer-widget .widget-categories .category-link i {
    color: #bdc3c7 !important;
}

.footer-widget .widget-categories .category-name {
    flex: 1;
    font-size: 0.95rem;
    color: #000000 !important;
}

[data-theme="dark"] .footer-widget .widget-categories .category-name {
    color: #bdc3c7 !important;
}

/* Text Widget */
.modern-footer .footer-widget .text-widget-content,
.modern-footer .footer-widget .text-widget-content *,
.modern-footer .text-widget-content,
.modern-footer .text-widget-content * {
    color: #000000 !important;
}

[data-theme="dark"] .modern-footer .footer-widget .text-widget-content,
[data-theme="dark"] .modern-footer .footer-widget .text-widget-content *,
[data-theme="dark"] .modern-footer .text-widget-content,
[data-theme="dark"] .modern-footer .text-widget-content * {
    color: #bdc3c7 !important;
}

/* Top Deal Widget - Sidebar Version (Default) */
.widget-top-deal {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.5);
    position: relative;
}

.widget-top-deal::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    pointer-events: none;
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.top-deal-header {
    padding: 1.5rem 1.5rem 1rem;
    position: relative;
    z-index: 1;
    text-align: center;
}

.top-deal-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    padding: 0.5rem 2rem;
    border-radius: 25px;
    color: #764ba2;
    font-weight: 800;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 20px rgba(255, 215, 0, 0.6), 0 0 30px rgba(255, 215, 0, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.8);
    position: relative;
    overflow: hidden;
}

.top-deal-badge::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.6) 50%, transparent 70%);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

.top-deal-badge i {
    font-size: 1.3rem;
    animation: pulse 2s ease-in-out infinite;
    filter: drop-shadow(0 0 5px rgba(118, 75, 162, 0.8));
    position: relative;
    z-index: 1;
}

.top-deal-badge span {
    position: relative;
    z-index: 1;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

@keyframes pulse {
    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.15);
    }
}

.top-deal-link {
    display: block;
    text-decoration: none;
    color: inherit;
    padding: 0 1.5rem 1.5rem;
    position: relative;
    z-index: 1;
}

.top-deal-image {
    width: 100%;
    height: 180px;
    background: transparent;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.top-deal-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s;
    background: transparent;
}

.top-deal-link:hover .top-deal-image img {
    transform: scale(1.05);
}

.top-deal-content {
    color: white;
}

.top-deal-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    line-height: 1.3;
    color: white;
}

.top-deal-price-rating {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.top-deal-price {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
}

.price-amount {
    font-size: 1.75rem;
    font-weight: 700;
    color: #ffd700;
}

.price-currency {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
}

.top-deal-rating {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: #ffd700;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
}

.top-deal-rating i {
    font-size: 0.9rem;
}

.top-deal-rating span {
    font-weight: 600;
    font-size: 0.9rem;
}

.top-deal-cta {
    margin-top: 0.5rem;
}

.top-deal-cta .btn {
    background: white;
    color: #667eea;
    border: none;
    font-weight: 600;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.top-deal-link:hover .top-deal-cta .btn {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Top Deal Widget - Hide in Footer (use FooterTopDealWidget instead) */
.footer-widget .widget-top-deal {
    display: none !important;
}

/* Footer Text Widget */
.footer-text-widget-content,
.footer-text-widget-content *,
.footer-text-widget-content p,
.footer-text-widget-content span,
.footer-text-widget-content div,
.footer-text-widget-content a {
    color: #000000 !important;
}

[data-theme="dark"] .footer-text-widget-content,
[data-theme="dark"] .footer-text-widget-content *,
[data-theme="dark"] .footer-text-widget-content p,
[data-theme="dark"] .footer-text-widget-content span,
[data-theme="dark"] .footer-text-widget-content div,
[data-theme="dark"] .footer-text-widget-content a {
    color: #bdc3c7 !important;
}

/* Footer Category Widget - Sidebar Style */
.widget-footer-categories {
    background: #ffffff;
    border-radius: 8px;
    padding: 1.25rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] .widget-footer-categories {
    background: #1e2329;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.widget-footer-categories .widget-title {
    color: #000000 !important;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #e9ecef;
}

[data-theme="dark"] .widget-footer-categories .widget-title {
    color: #ecf0f1 !important;
    border-bottom-color: #2c3e50;
}

.footer-category-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.footer-category-item {
    background: transparent;
    border-bottom: 1px solid #f0f0f0;
}

[data-theme="dark"] .footer-category-item {
    border-bottom-color: #2c3e50;
}

.footer-category-item:last-child {
    border-bottom: none;
}

.footer-category-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0.5rem;
    color: #495057 !important;
    text-decoration: none;
    transition: all 0.2s;
    border-radius: 4px;
}

[data-theme="dark"] .footer-category-link {
    color: #bdc3c7 !important;
}

.footer-category-link:hover {
    background: #f8f9fa;
    color: #0d6efd !important;
    padding-left: 0.75rem;
}

[data-theme="dark"] .footer-category-link:hover {
    background: #2c3e50;
    color: #6ba3ff !important;
}

.footer-category-link i {
    font-size: 1.1rem;
    color: #6c757d !important;
    flex-shrink: 0;
    width: 20px;
    text-align: center;
    transition: color 0.2s;
}

[data-theme="dark"] .footer-category-link i {
    color: #95a5a6 !important;
}

.footer-category-link:hover i {
    color: #0d6efd !important;
}

[data-theme="dark"] .footer-category-link:hover i {
    color: #6ba3ff !important;
}

.footer-category-name {
    flex: 1;
    font-size: 0.95rem;
    color: #495057 !important;
    transition: color 0.2s;
}

[data-theme="dark"] .footer-category-name {
    color: #bdc3c7 !important;
}

.footer-category-link:hover .footer-category-name {
    color: #0d6efd !important;
}

[data-theme="dark"] .footer-category-link:hover .footer-category-name {
    color: #6ba3ff !important;
}

.footer-category-all-link {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
}

[data-theme="dark"] .footer-category-all-link {
    border-top-color: #2c3e50;
}

.footer-category-link-all {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem;
    background: #f8f9fa;
    color: #0d6efd !important;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.2s;
    justify-content: center;
}

[data-theme="dark"] .footer-category-link-all {
    background: #2c3e50;
    color: #6ba3ff !important;
}

.footer-category-link-all:hover {
    background: #0d6efd;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(13, 110, 253, 0.3);
}

[data-theme="dark"] .footer-category-link-all:hover {
    background: #6ba3ff;
    color: #000000 !important;
}

/* Footer Blog Posts Widget - Sidebar Style */
.widget-footer-blog-posts {
    background: #ffffff;
    border-radius: 8px;
    padding: 1.25rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] .widget-footer-blog-posts {
    background: #1e2329;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.widget-footer-blog-posts .widget-title {
    color: #000000 !important;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #e9ecef;
}

[data-theme="dark"] .widget-footer-blog-posts .widget-title {
    color: #ecf0f1 !important;
    border-bottom-color: #2c3e50;
}

.footer-blog-post-list {
    display: flex;
    flex-direction: column;
    gap: 1.3125rem;
}

.footer-blog-post-item {
    border-radius: 6px;
    overflow: hidden;
    transition: all 0.2s;
    background: #f8f9fa;
}

[data-theme="dark"] .footer-blog-post-item {
    background: #2c3e50;
}

.footer-blog-post-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    background: #fff;
}

[data-theme="dark"] .footer-blog-post-item:hover {
    background: #34495e;
}

.footer-blog-post-link {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    text-decoration: none;
    color: inherit;
    padding: 0.5rem;
}

.footer-blog-post-image {
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
}

.footer-blog-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.footer-blog-post-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
}

[data-theme="dark"] .footer-blog-post-placeholder {
    background: linear-gradient(135deg, #34495e 0%, #2c3e50 100%);
}

.footer-blog-post-placeholder i {
    font-size: 1.8rem;
    color: #6c757d;
}

[data-theme="dark"] .footer-blog-post-placeholder i {
    color: #95a5a6;
}

.footer-blog-post-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.footer-blog-post-title {
    font-size: 0.875rem;
    font-weight: 600;
    margin: 0 0 0.35rem 0;
    line-height: 1.3;
    color: #212529;
    word-wrap: break-word;
}

[data-theme="dark"] .footer-blog-post-title {
    color: #ecf0f1;
}

.footer-blog-post-excerpt {
    font-size: 0.75rem;
    color: #6c757d;
    margin: 0;
    line-height: 1.4;
    word-wrap: break-word;
}

[data-theme="dark"] .footer-blog-post-excerpt {
    color: #95a5a6;
}

.footer-blog-post-link:hover .footer-blog-post-title {
    color: #0d6efd;
}

[data-theme="dark"] .footer-blog-post-link:hover .footer-blog-post-title {
    color: #6ba3ff;
}

.footer-blog-all-link {
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid #e9ecef;
}

[data-theme="dark"] .footer-blog-all-link {
    border-top-color: #2c3e50;
}

.footer-blog-link-all {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem;
    background: #f8f9fa;
    color: #0d6efd !important;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.2s;
    justify-content: center;
}

[data-theme="dark"] .footer-blog-link-all {
    background: #2c3e50;
    color: #6ba3ff !important;
}

.footer-blog-link-all:hover {
    background: #0d6efd;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(13, 110, 253, 0.3);
}

[data-theme="dark"] .footer-blog-link-all:hover {
    background: #6ba3ff;
    color: #000000 !important;
}

/* Footer Top Deal Widget - Compact Design */
.widget-footer-top-deal {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(102, 126, 234, 0.3);
}

.footer-deal-link {
    display: block;
    text-decoration: none;
    color: inherit;
    padding: 1rem;
}

.footer-deal-header {
    text-align: center;
}

.footer-deal-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    color: #764ba2;
    font-weight: 700;
    font-size: 0.7rem;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.4);
}

.footer-deal-badge i {
    font-size: 0.9rem;
    animation: pulse-icon 2s ease-in-out infinite;
}

@keyframes pulse-icon {
    0%,
    100% {
        transform: scale(1);
        filter: drop-shadow(0 0 2px rgba(118, 75, 162, 0.8));
    }
    50% {
        transform: scale(1.2);
        filter: drop-shadow(0 0 8px rgba(118, 75, 162, 1));
    }
}

.footer-deal-image {
    width: 100%;
    height: 120px;
    background: transparent;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}





.footer-deal-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    position: relative;
    z-index: 3;
    background: transparent;
}

.footer-deal-info {
    color: white;
}

.footer-deal-title {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.3;
    color: white;
}

.footer-deal-price {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
    margin-bottom: 0.75rem;
}

.footer-deal-price .price-amount {
    font-size: 1.3rem;
    font-weight: 700;
    color: #ffd700;
}

.footer-deal-price .price-currency {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
}

.footer-deal-cta .btn {
    width: 100%;
    background: white;
    color: #667eea;
    border: none;
    font-weight: 600;
    font-size: 0.8rem;
    padding: 0.5rem;
}

.footer-deal-link:hover .footer-deal-cta .btn {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.footer-widget .top-deal-header {
    padding: 1rem !important;
    text-align: center !important;
}

.footer-widget .top-deal-badge {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%) !important;
    padding: 0.4rem 1rem !important;
    border-radius: 20px !important;
    color: #764ba2 !important;
    font-weight: 700 !important;
    font-size: 0.8rem !important;
}

.footer-widget .top-deal-link {
    display: block !important;
    padding: 0 1rem 1rem !important;
    text-decoration: none !important;
}

.footer-widget .top-deal-image {
    width: 100% !important;
    max-width: 100% !important;
    height: 120px !important;
    background: white !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    margin-bottom: 0.75rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.footer-widget .top-deal-image img {
    max-width: 100% !important;
    max-height: 100% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
}

.footer-widget .top-deal-content {
    color: white !important;
}

.footer-widget .top-deal-title {
    font-size: 0.85rem !important;
    line-height: 1.2 !important;
    margin-bottom: 0.5rem !important;
    color: white !important;
    font-weight: 600 !important;
}

.footer-widget .top-deal-price-rating {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin-bottom: 0.75rem !important;
}

.footer-widget .top-deal-price {
    display: flex !important;
    align-items: baseline !important;
    gap: 0.25rem !important;
}

.footer-widget .price-amount {
    font-size: 1.2rem !important;
    font-weight: 700 !important;
    color: #ffd700 !important;
}

.footer-widget .price-currency {
    font-size: 0.8rem !important;
    color: rgba(255,255,255,0.9) !important;
}

.footer-widget .top-deal-rating {
    display: flex !important;
    align-items: center !important;
    gap: 0.25rem !important;
    color: #ffd700 !important;
    background: rgba(255,255,255,0.1) !important;
    padding: 0.2rem 0.5rem !important;
    border-radius: 15px !important;
    font-size: 0.75rem !important;
}

.footer-widget .top-deal-cta {
    margin-top: 0.5rem !important;
}

.footer-widget .top-deal-cta .btn {
    width: 100% !important;
    background: white !important;
    color: #667eea !important;
    border: none !important;
    font-weight: 600 !important;
    font-size: 0.8rem !important;
    padding: 0.5rem !important;
    border-radius: 6px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
}

/* Footer Copyright */
.footer-copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    margin-top: 1.5rem;
    text-align: center;
    color: #95a5a6;
    font-size: 0.9rem;
}

.footer-copyright a {
    color: #3498db;
    text-decoration: none;
}

.footer-copyright a:hover {
    text-decoration: underline;
}

/* Mobile Responsive */
@media (max-width: 767px) {
    .modern-footer {
        padding: 2rem 0 1rem;
    }
    
    .footer-area {
        margin-bottom: 2rem;
    }
    
    .footer-area:last-child {
        margin-bottom: 0;
    }
}


/* Footer Search Widget */
.widget-footer-search {
    background: #ffffff;
    border-radius: 8px;
    padding: 1.25rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] .widget-footer-search {
    background: #1e2329;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.widget-footer-search .widget-title {
    color: #000000 !important;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #e9ecef;
}

[data-theme="dark"] .widget-footer-search .widget-title {
    color: #ecf0f1 !important;
    border-bottom-color: #2c3e50;
}

.footer-search-form {
    width: 100%;
}

.footer-search-input-group {
    display: flex;
    gap: 0.5rem;
}

.footer-search-input {
    flex: 1;
    padding: 0.75rem;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    font-size: 0.95rem;
    transition: all 0.2s;
}

[data-theme="dark"] .footer-search-input {
    background: #2c3e50;
    border-color: #34495e;
    color: #ecf0f1;
}

.footer-search-input:focus {
    outline: none;
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

[data-theme="dark"] .footer-search-input:focus {
    border-color: #6ba3ff;
    box-shadow: 0 0 0 0.2rem rgba(107, 163, 255, 0.25);
}

.footer-search-button {
    padding: 0.75rem 1.25rem;
    background: #0d6efd;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 1.1rem;
}

.footer-search-button:hover {
    background: #0b5ed7;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(13, 110, 253, 0.3);
}

[data-theme="dark"] .footer-search-button {
    background: #6ba3ff;
    color: #000000;
}

[data-theme="dark"] .footer-search-button:hover {
    background: #5a92ee;
}

/* Sidebar Search Widget */
.widget-search {
    background: #ffffff;
    border-radius: 8px;
    padding: 1.25rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 1.5rem;
}

[data-theme="dark"] .widget-search {
    background: #1e2329;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.widget-search .widget-title {
    color: #212529;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #e9ecef;
}

[data-theme="dark"] .widget-search .widget-title {
    color: #ecf0f1;
    border-bottom-color: #2c3e50;
}

.search-widget-form .input-group {
    display: flex;
}

.search-widget-form .form-control {
    flex: 1;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.search-widget-form .btn {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    white-space: nowrap;
}

.search-widget-form .btn i {
    margin-right: 0.25rem;
}
