/* Remove Duplicate Lines Tool Styles */

/* Theme Colors */
:root {
    --primary-color: #FF6B6B;
    --primary-dark: #FF5252;
    --secondary-color: #FF8E53;
    --accent-color: #4ECDC4;
    --text-color: #333;
    --light-bg: #f8f9fa;
    --card-bg: #ffffff;
    --border-color: #e1e8ed;
}

/* Reset for our tool only */
.remove-duplicates-container * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
}

/* ========== BREADCRUMB NAVIGATION ========== */
.breadcrumb-container {
    background-color: #f8f9fa;
    border-bottom: 1px solid #eaeaea;
    padding: 12px 0;
    margin-bottom: 20px;
    width: 100%;
}

.breadcrumb-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.breadcrumb {
    font-size: 0.9rem;
    overflow-x: auto;
    white-space: nowrap;
    width: 100%;
    -webkit-overflow-scrolling: touch;
}

.breadcrumb::-webkit-scrollbar {
    display: none;
}

.breadcrumb-content {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 5px;
    padding: 0;
    margin: 0;
    min-height: 24px;
}

/* Breadcrumb Links */
.breadcrumb-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--primary-color);
    text-decoration: none;
    padding: 4px 8px;
    border-radius: 4px;
    transition: all 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.breadcrumb-link:hover {
    background-color: rgba(255, 107, 107, 0.1);
    color: var(--primary-dark);
    text-decoration: underline;
}

/* Current Page */
.breadcrumb-current {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 8px;
    color: #7f8c8d;
    font-weight: 500;
    white-space: nowrap;
    flex-shrink: 0;
}

/* Separator */
.breadcrumb-separator {
    color: #bdc3c7;
    font-size: 0.8rem;
    padding: 0 2px;
    flex-shrink: 0;
}

/* Icons */
.breadcrumb-icon {
    font-size: 0.9rem;
    line-height: 1;
    flex-shrink: 0;
}

/* ========== TOOL DESCRIPTION SECTION ========== */
.tool-description-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 40px 0 20px;
    margin-bottom: 0;
}

.tool-description-section .remove-duplicates-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    text-align: center;
}

.tool-main-title {
    font-size: 2.5rem;
    margin-bottom: 10px;
    font-weight: 800;
    line-height: 1.2;
}

.tool-subtitle {
    font-size: 1.2rem;
    margin-bottom: 0;
    opacity: 0.9;
    font-weight: 300;
    line-height: 1.4;
}

/* CTA with Icon */
.start-counting-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin: 10px 0 25px 0;
    animation: fadeInUp 0.8s ease 0.3s both;
}

.cta-icon {
    font-size: 1.5rem;
    color: #4cd964;
    animation: bounce 2s infinite;
}

.cta-text {
    font-size: 1.3rem;
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 20px;
    border-radius: 50px;
    backdrop-filter: blur(5px);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ========== MAIN CONTAINER ========== */
.remove-duplicates-container {
    background-color: var(--light-bg);
    padding: 20px 0 40px;
    width: 100%;
}

.remove-duplicates-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* ========== LAYOUT ========== */
.tool-layout {
    display: flex;
    gap: 30px;
    position: relative;
    margin-top: 20px;
}

.main-content-area {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sidebar-area {
    width: 320px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* ========== INPUT SECTION ========== */
.input-section {
    background-color: var(--card-bg);
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    padding: 25px;
    width: 100%;
}

.input-section h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-icon {
    font-size: 1.5rem;
}

#duplicateTextInput, #outputText {
    width: 100%;
    min-height: 200px;
    padding: 18px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 16px;
    resize: vertical;
    transition: border 0.3s;
    line-height: 1.6;
    font-family: 'Consolas', 'Monaco', monospace;
    margin-bottom: 20px;
    background: #fff;
}

#duplicateTextInput:focus, #outputText:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.1);
}

/* ========== PRIVACY NOTICE ========== */
.privacy-notice {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 10px 0 20px 0;
    padding: 12px 15px;
    background-color: #f0f9ff;
    border: 1px solid #b3e0ff;
    border-radius: 8px;
    font-size: 0.9rem;
    color: #0066cc;
    animation: fadeIn 0.5s ease;
}

.privacy-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.privacy-text {
    line-height: 1.4;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ========== OPTIONS PANEL ========== */
.options-panel {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    border-left: 4px solid var(--accent-color);
}

.options-panel h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.options-icon {
    font-size: 1.2rem;
}

.options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

.option-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.option-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-weight: 500;
    color: #2c3e50;
}

.option-help {
    font-size: 0.85rem;
    color: #666;
    margin-left: 24px;
}

.option-label input[type="checkbox"],
.option-label input[type="radio"] {
    margin: 0;
    width: 16px;
    height: 16px;
    cursor: pointer;
}

/* ========== BUTTONS ========== */
.text-controls {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.file-upload {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.file-info {
    font-size: 0.9rem;
    color: #666;
}

.remove-duplicates-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
    margin-top: 20px;
}

.remove-duplicates-buttons .btn,
.output-actions .btn {
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
    font-family: inherit;
}

.btn-icon {
    font-size: 1.1rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(255, 107, 107, 0.2);
}

.btn-secondary {
    background-color: #ecf0f1;
    color: #34495e;
}

.btn-secondary:hover {
    background-color: #d5dbdb;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn-clear {
    background-color: #e74c3c;
    color: white;
}

.btn-clear:hover {
    background-color: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(231, 76, 60, 0.2);
}

/* ========== RESULTS SECTION ========== */
.results-section {
    background-color: var(--card-bg);
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    padding: 25px;
    width: 100%;
}

.results-section h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Statistics Cards */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 15px;
    margin-bottom: 25px;
}

.stat-card {
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 18px;
    text-align: center;
    border-left: 5px solid var(--primary-color);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.1);
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 5px;
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: #7f8c8d;
    font-weight: 600;
}

/* ========== OUTPUT SECTION ========== */
.output-section {
    margin-top: 25px;
}

.output-section h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.output-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

/* ========== DUPLICATE LIST ========== */
.duplicate-list-section {
    margin-top: 25px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
}

.duplicate-list-section h3 {
    color: #e67e22;
    margin-bottom: 15px;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.duplicate-list {
    max-height: 300px;
    overflow-y: auto;
    padding: 10px;
    background: white;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.duplicate-item {
    padding: 8px 12px;
    margin-bottom: 8px;
    background: #fff5f5;
    border-left: 4px solid #ff6b6b;
    border-radius: 4px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.duplicate-count {
    background: #ff6b6b;
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
}

.no-duplicates {
    text-align: center;
    color: #7f8c8d;
    padding: 20px;
    margin: 0;
}

/* ========== LOADING SPINNER ========== */
.remove-duplicates-loading {
    display: none;
    text-align: center;
    padding: 20px;
    margin-top: 20px;
}

.loading-spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto 15px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ========== AD CONTAINERS ========== */
.ad-container {
    margin: 25px 0;
    text-align: center;
    background: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
    border: 1px solid #eaeaea;
}

.ad-label {
    font-size: 0.8rem;
    color: #888;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.ad-unit {
    margin: 0 auto;
    overflow: hidden;
}

.ad-top-sidebar {
    margin-top: 0;
}

/* Hide mobile ads on desktop */
@media (min-width: 769px) {
    .ad-mobile {
        display: none !important;
    }
}

/* Show mobile ads on mobile */
@media (max-width: 768px) {
    .ad-desktop {
        display: none !important;
    }
    
    .ad-container {
        margin: 20px 0;
        padding: 12px;
    }
}

/* ========== SIDEBAR STYLES ========== */
.sidebar-area {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.sticky-ad {
    position: sticky;
    top: 20px;
}

.sidebar-widget {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.sidebar-widget h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tips-list, .tools-list {
    list-style-type: none;
    padding-left: 0;
    margin: 0;
}

.tips-list li {
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
    color: #666;
    font-size: 0.9rem;
}

.tips-list li:last-child {
    border-bottom: none;
}

.tools-list li {
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

.tools-list li:last-child {
    border-bottom: none;
}

.tools-list a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    display: block;
}

.tools-list a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* ========== TOOL DESCRIPTION CONTENT ========== */
.tool-description-content {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-top: 20px;
}

.tool-description-content .tool-description {
    margin-bottom: 40px;
}

.tool-description-content .tool-description p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #333;
    margin-bottom: 20px;
}

.tool-description-content .tool-features {
    margin-top: 25px;
}

.tool-description-content .tool-features h3 {
    font-size: 1.4rem;
    color: #2c3e50;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tool-description-content .tool-features ul {
    list-style-type: none;
    padding-left: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 15px;
}

.tool-description-content .tool-features li {
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
    font-size: 0.95rem;
    line-height: 1.5;
}

.tool-description-content .tool-features li strong {
    color: var(--primary-color);
}

/* ========== HOW TO USE SECTION ========== */
.how-to-use-section {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #f0f0f0;
}

.how-to-use-section h2 {
    color: #2c3e50;
    margin-bottom: 25px;
    font-size: 1.6rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

.step {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.step-number {
    width: 36px;
    height: 36px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
    font-size: 1.1rem;
}

.step-content h3 {
    margin: 0 0 8px 0;
    color: #2c3e50;
    font-size: 1.1rem;
}

.step-content p {
    margin: 0;
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* ========== RELATED TOOLS SECTION ========== */
.related-tools-section {
    background: white;
    border-radius: 12px;
    padding: 30px 25px;
    margin: 30px 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.related-tools-section h2 {
    text-align: center;
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.section-subtitle {
    text-align: center;
    color: #7f8c8d;
    font-size: 1.1rem;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.tool-card {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
}

.tool-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.tool-card-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.tool-card-title {
    font-size: 1.4rem;
    color: #2c3e50;
    margin-bottom: 15px;
    line-height: 1.3;
}

.tool-card-desc {
    color: #7f8c8d;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
    font-size: 0.95rem;
}

.tool-card-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-tag {
    background: rgba(255, 107, 107, 0.1);
    color: var(--primary-color);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.tool-card-link {
    display: inline-block;
    padding: 12px 25px;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: background 0.3s;
    font-size: 0.95rem;
}

.tool-card-link:hover {
    background: var(--primary-dark);
}

/* ========== FAQ SECTION ========== */
.faq-section {
    background: white;
    border-radius: 12px;
    padding: 30px 25px;
    margin-top: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.faq-section h2 {
    text-align: center;
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid #eee;
    margin-bottom: 0;
}

.faq-question {
    width: 100%;
    padding: 18px 0;
    text-align: left;
    background: none;
    border: none;
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: inherit;
    transition: color 0.3s;
    position: relative;
}

.faq-question:hover {
    color: var(--primary-color);
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 300;
    transition: transform 0.3s ease;
    color: var(--primary-color);
    display: inline-block;
}

.faq-question.active::after {
    content: '−';
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
    opacity: 0;
    visibility: hidden;
}

.faq-question.active + .faq-answer {
    max-height: 1000px;
    opacity: 1;
    visibility: visible;
    transition: max-height 0.5s ease-in-out, opacity 0.3s ease 0.1s, visibility 0.3s ease 0.1s;
}

.faq-answer p {
    padding: 0 0 20px 0;
    margin: 0;
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* ========== RESPONSIVE DESIGN ========== */

/* Tablet Styles (768px - 1024px) */
@media (max-width: 1024px) {
    .tool-layout {
        flex-direction: column;
    }
    
    .sidebar-area {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 25px;
        order: 2;
    }
    
    .sticky-ad {
        position: static;
    }
    
    .main-content-area {
        order: 1;
    }
    
    .tool-main-title {
        font-size: 2.2rem;
    }
    
    .steps-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .tools-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .tool-description-content .tool-features ul {
        grid-template-columns: 1fr;
    }
}

/* Mobile Styles (max 767px) */
@media (max-width: 767px) {
    /* Breadcrumb */
    .breadcrumb-container {
        padding: 10px 0;
        margin-bottom: 15px;
    }
    
    .breadcrumb {
        font-size: 0.85rem;
    }
    
    .breadcrumb-link,
    .breadcrumb-current {
        padding: 3px 6px;
    }
    
    .breadcrumb-icon {
        font-size: 0.85rem;
    }
    
    .breadcrumb-content {
        gap: 3px;
    }
    
    /* Tool Description */
    .tool-description-section {
        padding: 30px 0 15px;
    }
    
    .tool-main-title {
        font-size: 1.8rem;
    }
    
    .tool-subtitle {
        font-size: 1rem;
    }
    
    /* Sections */
    .input-section,
    .results-section,
    .tool-description-content,
    .related-tools-section,
    .faq-section {
        padding: 20px;
    }
    
    .input-section h2,
    .results-section h2,
    .tool-description-content h2,
    .related-tools-section h2,
    .faq-section h2 {
        font-size: 1.4rem;
    }
    
    /* Options & Buttons */
    .options-grid {
        grid-template-columns: 1fr;
    }
    
    .remove-duplicates-buttons {
        grid-template-columns: 1fr;
    }
    
    .output-actions {
        grid-template-columns: 1fr;
        flex-direction: column;
    }
    
    /* Steps */
    .steps-container {
        grid-template-columns: 1fr;
    }
    
    /* Statistics */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stat-value {
        font-size: 1.8rem;
    }
    
    /* Tools Grid */
    .tools-grid {
        grid-template-columns: 1fr;
    }
    
    /* Sidebar */
    .sidebar-area {
        grid-template-columns: 1fr;
    }
    
    /* FAQ */
    .faq-question {
        font-size: 1rem;
        padding: 15px 0;
    }
    
    /* Privacy Notice */
    .privacy-notice {
        padding: 10px 12px;
        font-size: 0.85rem;
        margin: 10px 0 15px 0;
    }
    
    .privacy-icon {
        font-size: 1.1rem;
    }
    
    /* File Upload */
    .file-upload {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    /* Text Areas */
    #duplicateTextInput,
    #outputText {
        min-height: 150px;
        padding: 15px;
        font-size: 15px;
    }
    
    /* Tool Features */
    .tool-description-content .tool-features ul {
        grid-template-columns: 1fr;
    }
    
    .tool-description-content .tool-description p {
        font-size: 1rem;
    }
    
    /* For very small screens - hide breadcrumb icons */
    @media (max-width: 480px) {
        .breadcrumb-icon {
            display: none;
        }
        
        .breadcrumb-text {
            max-width: 100px;
            overflow: hidden;
            text-overflow: ellipsis;
        }
    }
}

/* Small Mobile (max 480px) */
@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-card {
        padding: 15px;
    }
    
    .tool-card {
        padding: 20px;
    }
    
    .tool-card-title {
        font-size: 1.2rem;
    }
    
    .ad-container {
        padding: 10px;
    }
    
    .tool-main-title {
        font-size: 1.6rem;
    }
    
    .section-icon {
        font-size: 1.3rem;
    }
    
    .tool-subtitle {
        font-size: 0.95rem;
    }
}

/* Large Desktop (min 1200px) */
@media (min-width: 1200px) {
    .remove-duplicates-wrapper,
    .breadcrumb-wrapper {
        padding: 0;
    }
}

/* Print Styles */
@media print {
    .ad-container,
    .sidebar-area,
    .remove-duplicates-buttons .btn,
    .output-actions,
    .related-tools-section,
    .faq-section,
    .start-counting-cta,
    .privacy-notice {
        display: none !important;
    }
    
    .remove-duplicates-container {
        background: white;
        padding: 0;
    }
    
    .tool-description-section {
        background: white !important;
        color: black !important;
        padding: 20px 0 !important;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .privacy-notice {
        background-color: rgba(0, 102, 204, 0.1);
        border-color: rgba(0, 102, 204, 0.3);
        color: #66b3ff;
    }
    
    .breadcrumb-container {
        background-color: #2c3e50;
        border-bottom: 1px solid #34495e;
    }
    
    .breadcrumb-link {
        color: #FF8E53;
    }
    
    .breadcrumb-link:hover {
        background-color: rgba(255, 142, 83, 0.1);
        color: #FF6B6B;
    }
    
    .breadcrumb-current {
        color: #95a5a6;
    }
    
    .breadcrumb-separator {
        color: #7f8c8d;
    }
}