/* === Remove Duplicates Tool Specific CSS === */
:root {
    --rd-primary: #0066cc;
    --rd-secondary: #00bcd4;
    --rd-gradient: linear-gradient(135deg, var(--rd-primary), var(--rd-secondary));
    --rd-text-dark: #1e293b;
    --rd-text-light: #64748b;
    --rd-bg-light: #f1f5f9;
    --rd-surface: #ffffff;
    --rd-border: #e2e8f0;
    --rd-radius: 12px;
    --rd-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --rd-font-family: 'Poppins', system-ui, sans-serif;
}

/* Wrapper */
.remove-duplicates-wrapper {
    font-family: var(--rd-font-family);
    color: var(--rd-text-dark);
    line-height: 1.6;
    max-width: 1000px;
    margin: 0 auto;
}

/* Typography */
.remove-duplicates-wrapper h1 {
    font-size: 2.25rem;
    font-weight: 700;
    background: var(--rd-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
    text-align: center;
}

.remove-duplicates-wrapper h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--rd-primary);
    margin-bottom: 1rem;
    margin-top: 1.5rem;
}

.remove-duplicates-wrapper h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--rd-text-dark);
    margin-bottom: 0.5rem;
}

.remove-duplicates-wrapper a {
    color: var(--rd-primary);
    text-decoration: none;
    transition: color 0.2s;
}

.remove-duplicates-wrapper a:hover {
    color: var(--rd-secondary);
    text-decoration: underline;
}

/* Card Styles */
.tool-card, .content-card { 
    background-color: var(--rd-surface); 
    padding: 2rem; 
    border-radius: var(--rd-radius); 
    box-shadow: var(--rd-shadow); 
    margin-bottom: 2rem; 
    border: 1px solid var(--rd-border);
}

/* Input Area */
textarea {
    width: 100%;
    min-height: 250px;
    padding: 1.25rem;
    font-family: monospace;
    font-size: 1rem;
    border: 1px solid var(--rd-border);
    border-radius: var(--rd-radius);
    resize: vertical;
    margin-bottom: 1rem;
    background: #fff;
    transition: border-color 0.3s, box-shadow 0.3s;
    color: var(--rd-text-dark);
}

textarea:focus {
    outline: none;
    border-color: var(--rd-primary);
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.15);
}

textarea[readonly] {
    background-color: var(--rd-bg-light);
    color: var(--rd-text-light);
}

/* Counters */
.counters {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.counter-item {
    background: var(--rd-bg-light);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--rd-text-light);
    border: 1px solid var(--rd-border);
}

.counter-item span {
    color: var(--rd-primary);
    font-weight: 700;
    margin-left: 5px;
}

/* Buttons Toolbar */
.buttons-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary {
    background: var(--rd-gradient);
    color: white;
    box-shadow: 0 4px 6px rgba(0, 102, 204, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 10px rgba(0, 102, 204, 0.3);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--rd-border);
    color: var(--rd-text-light);
}

.btn-outline:hover {
    border-color: var(--rd-primary);
    color: var(--rd-primary);
    background: var(--rd-bg-light);
}

.btn-danger {
    background: transparent;
    border: 1px solid #fee2e2;
    color: #ef4444;
}

.btn-danger:hover {
    background: #fef2f2;
    border-color: #ef4444;
}

/* Result Box */
.result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.result-label {
    font-weight: 600;
    color: var(--rd-text-dark);
}

/* FAQ Section */
.faq-item {
    border-bottom: 1px solid var(--rd-border);
    margin-bottom: 1rem;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-item h3 {
    font-size: 1.1rem;
    cursor: pointer;
    margin-bottom: 0.5rem;
}

.faq-item p {
    color: var(--rd-text-light);
    margin-bottom: 1rem;
}

/* Notification */
#copyMessageBox {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: #1e293b;
    color: white;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 14px;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
}

/* Responsive */
@media (max-width: 768px) {
    .buttons-toolbar {
        flex-direction: column;
        align-items: stretch;
    }
    .btn {
        justify-content: center;
    }
    .counters {
        gap: 0.5rem;
    }
}