/*
 * Text Cleaner Pro - Scoped Styles
 * All styles are prefixed with .mt-tc-wrapper to prevent conflicts.
 */

.mt-tc-wrapper {
    /* Styles for the main container can go here if needed */
}

.mt-tc-wrapper .card {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.mt-tc-wrapper .card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.mt-tc-wrapper .gradient-text {
    background: linear-gradient(90deg, #3b82f6, #8b5cf6, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 2.2rem;
    font-weight: 700;
}

.mt-tc-wrapper .btn-primary {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    border: none;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.mt-tc-wrapper .btn-primary:hover {
    background: linear-gradient(135deg, #1d4ed8, #7c3aed);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

.mt-tc-wrapper .btn-secondary {
    background: #8b5cf6;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.mt-tc-wrapper .btn-secondary:hover {
    background: #7c3aed;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4);
}

.mt-tc-wrapper .btn-success {
    background: #10b981;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.mt-tc-wrapper .btn-success:hover {
    background: #059669;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
}

.mt-tc-wrapper .btn-warning {
    background: #f59e0b;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.mt-tc-wrapper .btn-warning:hover {
    background: #d97706;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.4);
}

.mt-tc-wrapper .btn-info {
    background: #3b82f6;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.mt-tc-wrapper .btn-info:hover {
    background: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

.mt-tc-wrapper .btn-danger {
    background: #ef4444;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3);
}

.mt-tc-wrapper .btn-danger:hover {
    background: #dc2626;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(239, 68, 68, 0.4);
}

.mt-tc-wrapper .btn-pink {
    background: #ec4899;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(236, 72, 153, 0.3);
    color: white;
}

.mt-tc-wrapper .btn-pink:hover {
    background: #db2777;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(236, 72, 153, 0.4);
    color: white;
}

.mt-tc-wrapper .text-input {
    background: rgba(249, 250, 251, 0.8);
    backdrop-filter: blur(5px);
    color: #1f2937;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 24px;
    min-height: 200px;
    outline: none;
    white-space: pre-wrap;
    transition: all 0.3s ease;
}

.mt-tc-wrapper .text-input:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.mt-tc-wrapper .text-input:empty:before {
    content: attr(data-placeholder);
    color: #6b7280;
    font-style: italic;
}

.mt-tc-wrapper mark {
    background: linear-gradient(90deg, #f59e0b, #ec4899);
    color: white;
    padding: 2px 4px;
    border-radius: 4px;
}

.mt-tc-wrapper .dropdown-menu {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.mt-tc-wrapper .dropdown-item {
    color: #1f2937;
    font-weight: 500;
    transition: all 0.3s ease;
}

.mt-tc-wrapper .dropdown-item:hover {
    background-color: rgba(59, 130, 246, 0.1);
    color: #1f2937;
}

.mt-tc-wrapper .form-control {
    background: rgba(249, 250, 251, 0.8);
    backdrop-filter: blur(5px);
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.mt-tc-wrapper .form-control:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
    background: rgba(249, 250, 251, 0.9);
}

.mt-tc-wrapper .btn-gradient-purple {
    background: linear-gradient(135deg, #8b5cf6, #ec4899);
    border: none;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
    color: white;
}

.mt-tc-wrapper .btn-gradient-purple:hover {
    background: linear-gradient(135deg, #7c3aed, #db2777);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4);
    color: white;
}