/* Wide Text Generator Styles */
.wide-text-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
}

.wide-text-hero {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem 0;
    background: linear-gradient(135deg, #6e8efb, #a777e3);
    border-radius: 12px;
    color: white;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.wide-text-title {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.wide-text-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
}

.wide-text-tool {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 3rem;
}

.wide-text-input-container,
.wide-text-output-container {
    margin-bottom: 2rem;
}

.wide-text-label {
    display: block;
    margin-bottom: 0.8rem;
    font-weight: 600;
    color: #444;
    font-size: 1.1rem;
}

.wide-text-input,
.wide-text-output {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    resize: vertical;
    transition: border-color 0.3s;
}

.wide-text-input:focus {
    outline: none;
    border-color: #6e8efb;
}

.wide-text-output {
    background-color: #f9f9f9;
    min-height: 120px;
}

.wide-text-controls,
.wide-text-output-controls {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.wide-text-button {
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.wide-text-button:hover {
    transform: translateY(-2px);
}

#wide-text-generate-btn {
    background-color: #6e8efb;
    color: white;
}

#wide-text-generate-btn:hover {
    background-color: #5a7df4;
}

.wide-text-clear {
    background-color: #f1f1f1;
    color: #555;
}

.wide-text-clear:hover {
    background-color: #e0e0e0;
}

.wide-text-copy {
    background-color: #4CAF50;
    color: white;
}

.wide-text-copy:hover {
    background-color: #3e8e41;
}

.wide-text-download {
    background-color: #2196F3;
    color: white;
}

.wide-text-download:hover {
    background-color: #0b7dda;
}

.wide-text-preview {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 3rem;
}

.wide-text-preview-title {
    margin-bottom: 1.5rem;
    color: #444;
    font-size: 1.5rem;
}

.wide-text-preview-box {
    min-height: 100px;
    padding: 1.5rem;
    border: 2px dashed #e0e0e0;
    border-radius: 8px;
    font-size: 1.5rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    word-break: break-word;
}

.wide-text-info-boxes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.wide-text-info-box {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s;
}

.wide-text-info-box:hover {
    transform: translateY(-5px);
}

.wide-text-info-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.wide-text-info-box h3 {
    margin-bottom: 1rem;
    color: #444;
}

.wide-text-info-box p {
    color: #666;
    line-height: 1.6;
}

.wide-text-content {
    margin-bottom: 3rem;
}

.wide-text-content-title {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: #444;
    position: relative;
    padding-bottom: 0.5rem;
}

.wide-text-content-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, #6e8efb, #a777e3);
    border-radius: 2px;
}

.wide-text-content-paragraph {
    color: #555;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.wide-text-feature {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(110, 142, 251, 0.05);
    border-radius: 8px;
    border-left: 4px solid #6e8efb;
}

.wide-text-feature h3 {
    color: #444;
    margin-bottom: 1rem;
}

.wide-text-feature p {
    color: #555;
    line-height: 1.7;
}

.wide-text-faq {
    margin-bottom: 3rem;
}

.wide-text-faq-title {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: #444;
    position: relative;
    padding-bottom: 0.5rem;
}

.wide-text-faq-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, #6e8efb, #a777e3);
    border-radius: 2px;
}

.wide-text-faq-item {
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.wide-text-faq-question {
    width: 100%;
    padding: 1.2rem 1.5rem;
    text-align: left;
    border: none;
    background: white;
    font-size: 1.1rem;
    font-weight: 600;
    color: #444;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.2s;
}

.wide-text-faq-question:hover {
    background: #f9f9f9;
}

.wide-text-faq-icon {
    font-size: 1.2rem;
}

.wide-text-faq-answer {
    padding: 0 1.5rem;
    background: white;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease;
}

.wide-text-faq-answer p {
    padding-bottom: 1.5rem;
    color: #555;
    line-height: 1.7;
}

.wide-text-faq-item.active .wide-text-faq-answer {
    max-height: 500px;
    padding: 0 1.5rem 1.5rem;
}

.wide-text-related {
    margin-bottom: 2rem;
}

.wide-text-related-title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #444;
}

.wide-text-related-tool {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.wide-text-related-tool:hover {
    transform: translateY(-3px);
}

.wide-text-related-link {
    font-size: 1.2rem;
    font-weight: 600;
    color: #6e8efb;
    text-decoration: none;
    display: inline-block;
    margin-bottom: 0.5rem;
    transition: color 0.2s;
}

.wide-text-related-link:hover {
    color: #5a7df4;
    text-decoration: underline;
}

.wide-text-related-tool p {
    color: #666;
}

/* Responsive styles */
@media (max-width: 768px) {
    .wide-text-title {
        font-size: 2rem;
    }
    
    .wide-text-subtitle {
        font-size: 1rem;
    }
    
    .wide-text-controls,
    .wide-text-output-controls {
        flex-direction: column;
    }
    
    .wide-text-button {
        width: 100%;
    }
    
    .wide-text-info-boxes {
        grid-template-columns: 1fr;
    }
}