/* ==========================================
   Instagram Line Breaker Page Stylesheet
   File Location: css/instagram-line-breaker.css
   ========================================== */

.hero-section {
    text-align: center;
    margin-bottom: 2rem;
}

.tool-box-container.ig-tool-container {
    max-width: 650px;
    margin: 0 auto;
    background: #ffffff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
}

.textarea-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.textarea-header label {
    font-weight: 600;
    color: #1e293b;
    font-size: 0.95rem;
}

.char-counter {
    font-size: 0.85rem;
    font-weight: 700;
    color: #059669;
    background: #ecfdf5;
    padding: 0.25rem 0.6rem;
    border-radius: 20px;
    border: 1px solid #a7f3d0;
}

.char-counter.warning {
    color: #dc2626;
    background: #fef2f2;
    border-color: #fecaca;
}

.input-group textarea {
    width: 100%;
    padding: 0.85rem;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 1rem;
    line-height: 1.5;
    color: #0f172a;
    outline: none;
    box-sizing: border-box;
    resize: vertical;
    font-family: inherit;
    transition: border-color 0.2s ease;
}

.input-group textarea:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Action Buttons */
.action-buttons {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 1.25rem;
}

.action-buttons .btn {
    flex: 1;
    min-width: 150px;
    padding: 0.8rem 1rem;
    border: none;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-primary {
    background: #2563eb;
    color: #ffffff;
}
.btn-primary:hover {
    background: #1d4ed8;
}

.btn-secondary {
    background: #475569;
    color: #ffffff;
}
.btn-secondary:hover {
    background: #334155;
}

.btn-danger {
    background: #ef4444;
    color: #ffffff;
    flex: 0 0 auto;
    min-width: auto;
}
.btn-danger:hover {
    background: #dc2626;
}

/* Status Message Alert */
.status-msg {
    margin-top: 1rem;
    padding: 0.75rem;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
    display: none;
}

.status-msg.success {
    display: block;
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.status-msg.error {
    display: block;
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* SEO Article Styles */
.seo-article-container {
    max-width: 800px;
    margin: 3rem auto;
    line-height: 1.7;
    color: #334155;
}

.seo-article-container h2 {
    font-size: 1.8rem;
    color: #0f172a;
    margin-bottom: 0.75rem;
}

.seo-article-container h3 {
    font-size: 1.3rem;
    color: #1e293b;
    margin-top: 1.5rem;
}

.seo-article-container ul, 
.seo-article-container ol {
    padding-left: 1.25rem;
}

.faq-section {
    margin-top: 2rem;
}

.faq-section h3 {
    font-size: 1.4rem;
    color: #0f172a;
}

.faq-item {
    border-bottom: 1px solid #e2e8f0;
    padding: 0.75rem 0;
}

.faq-item h4 {
    font-size: 1.05rem;
    margin-bottom: 0.25rem;
}

.faq-item p {
    margin: 0;
    font-size: 0.95rem;
}