.quick-tips-wrapper {
    display: flex;
    min-height: calc(100vh - 200px);
    margin-top: 100px;
}

/* Left Sidebar */
.quick-tips-sidebar {
    width: 250px;
    background: #f8f9fa;
    padding: 30px 20px;
    border-right: 1px solid #dee2e6;
    min-height: 100vh;
}

.quick-tips-sidebar h3 {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
}

.quick-tips-sidebar .search-box {
    margin-bottom: 20px;
}

.quick-tips-sidebar .search-box input {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-size: 14px;
}

.quick-tips-sidebar .search-box input:focus {
    outline: none;
    border-color: #ff6b35;
    box-shadow: 0 0 0 0.2rem rgba(255, 107, 53, 0.25);
}

.quick-tips-sidebar .filter-section {
    margin-top: 30px;
}

.quick-tips-sidebar .filter-section h4 {
    font-size: 16px;
    font-weight: 600;
    color: #666;
    margin-bottom: 10px;
}

.quick-tips-sidebar .filter-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.quick-tips-sidebar .filter-tag {
    padding: 5px 12px;
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 20px;
    font-size: 13px;
    color: #666;
    cursor: pointer;
    transition: all 0.3s;
}

.quick-tips-sidebar .filter-tag:hover,
.quick-tips-sidebar .filter-tag.active {
    background: #ff6b35;
    color: #fff;
    border-color: #ff6b35;
}

/* Main Content */
.quick-tips-content {
    flex: 1;
    padding: 30px 40px;
}

.quick-tips-header {
    text-align: center;
    margin-bottom: 40px;
}

.quick-tips-header h1 {
    font-size: 36px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

.quick-tips-header p {
    font-size: 18px;
    color: #666;
}

/* Tips Grid */
.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.tip-box {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.15);
    border: 2px solid #ffe8e0;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.tip-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ff6b35 0%, #ff8c42 50%, #ffa600 100%);
}

.tip-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.25);
    border-color: #ff6b35;
    background: linear-gradient(135deg, #ffffff 0%, #fff5f2 100%);
}

.tip-icon {
    width: 170px;
    height: 120px;
    margin-bottom: 20px;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(255, 107, 53, 0.2));
    transition: transform 0.3s ease;
}

.tip-box:hover .tip-icon {
    transform: scale(1.05);
}

.tip-title {
    font-size: 22px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 12px;
    line-height: 1.3;
}

.tip-description {
    font-size: 15px;
    color: #5a6c7d;
    margin-bottom: 25px;
    line-height: 1.6;
    flex-grow: 1;
}

.tip-buttons {
    display: flex;
    gap: 10px;
    width: 100%;
}

.tip-btn {
    flex: 1;
    padding: 8px 12px;
    border: none;
    border-radius: 5px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.tip-btn i {
    font-size: 14px;
}

.tip-btn-pdf {
    background: linear-gradient(135deg, #ff6b35 0%, #ff8c42 100%);
    color: #fff;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.tip-btn-pdf:hover {
    background: linear-gradient(135deg, #e55a2b 0%, #e67a32 100%);
    color: #fff;
    box-shadow: 0 6px 16px rgba(255, 107, 53, 0.4);
    transform: translateY(-2px);
}

.tip-btn-video {
    background: #fff;
    color: #ff6b35;
    border: 2px solid #ff6b35;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.15);
}

.tip-btn-video:hover {
    background: linear-gradient(135deg, #ff6b35 0%, #ff8c42 100%);
    color: #fff;
    border-color: #ff6b35;
    box-shadow: 0 6px 16px rgba(255, 107, 53, 0.4);
    transform: translateY(-2px);
}

/* No Results */
.no-results {
    text-align: center;
    padding: 60px 20px;
    color: #999;
}

.no-results i {
    font-size: 48px;
    margin-bottom: 20px;
}

.no-results p {
    font-size: 18px;
}

/* Pagination */
.pagination-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 40px;
    padding: 20px 0;
}

.pagination-wrapper .pagination {
    margin: 0;
}

/* Responsive */
@media (max-width: 992px) {
    .quick-tips-wrapper {
        flex-direction: column;
    }

    .quick-tips-sidebar {
        width: 100%;
        position: relative;
        top: 0;
        border-right: none;
        border-bottom: 1px solid #dee2e6;
    }

    .tips-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .tips-grid {
        grid-template-columns: 1fr;
    }

    .quick-tips-content {
        padding: 20px;
    }
}

/* Coming Soon Styles */
.tip-box.coming-soon {
    opacity: 0.7;
    position: relative;
}

.coming-soon-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #ffa600 0%, #ff8c42 100%);
    color: #fff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 3px 10px rgba(255, 166, 0, 0.4);
    z-index: 10;
}

.tip-box.coming-soon .tip-icon {
    filter: grayscale(50%) opacity(0.7);
}

.tip-box.coming-soon:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.2);
}

.tip-box.coming-soon:hover .tip-icon {
    transform: scale(1.02);
}

.tip-btn.disabled {
    background: #e9ecef !important;
    color: #adb5bd !important;
    border-color: #dee2e6 !important;
    cursor: not-allowed !important;
    box-shadow: none !important;
    opacity: 0.6;
}

.tip-btn.disabled:hover {
    transform: none !important;
    background: #e9ecef !important;
    color: #adb5bd !important;
    box-shadow: none !important;
}
