/* Tool-specific styles only - base styles are in tool-layout.css */

.tool-main {
    margin-top: 60px;
}

.post-textarea {
    width: 100%;
    min-height: 200px;
    padding: 16px;
    background: #141414;
    border: 1px solid #374151;
    border-radius: 8px;
    color: #e5e7eb;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 15px;
    line-height: 1.6;
    resize: vertical;
    transition: border-color 0.15s ease;
}

.post-textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.post-textarea::placeholder {
    color: #6b7280;
}

.char-counter {
    display: flex;
    justify-content: flex-end;
    margin-top: 8px;
    font-size: 13px;
    color: #6b7280;
}

.char-counter.warning {
    color: #f59e0b;
}

.char-counter.error {
    color: #ef4444;
}

#char-count {
    font-weight: 500;
}

.toolbar-group {
    margin-bottom: 24px;
}

.toolbar-title {
    font-size: 14px;
    font-weight: 500;
    color: #9ca3af;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.toolbar-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.toolbar-btn {
    padding: 10px 16px;
    background: #1a1a1a;
    border: 1px solid #374151;
    border-radius: 6px;
    color: #e5e7eb;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s ease;
}

.toolbar-btn:hover {
    background: #374151;
    border-color: #4b5563;
}

.toolbar-btn:active {
    transform: scale(0.98);
}

.emoji-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.emoji-btn {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1a1a1a;
    border: 1px solid #374151;
    border-radius: 8px;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.emoji-btn:hover {
    background: #374151;
    transform: scale(1.05);
}

.emoji-btn:active {
    transform: scale(0.95);
}

.output-group {
    margin-bottom: 24px;
}

.output-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.output-header h3 {
    font-size: 16px;
    font-weight: 600;
    color: #e5e7eb;
    margin: 0;
}

.preview-badge {
    font-size: 12px;
    color: #6b7280;
    background: #1a1a1a;
    padding: 4px 8px;
    border-radius: 4px;
}

.linkedin-preview {
    background: #1a1a1a;
    border: 1px solid #374151;
    border-radius: 8px;
    padding: 16px;
}

.preview-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #374151;
}

.preview-avatar {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #0077b5, #00a0dc);
    border-radius: 50%;
}

.preview-meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.preview-name {
    font-size: 14px;
    font-weight: 600;
    color: #e5e7eb;
}

.preview-headline {
    font-size: 12px;
    color: #6b7280;
}

.preview-content {
    font-size: 14px;
    line-height: 1.6;
    color: #e5e7eb;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.preview-placeholder,
.output-placeholder {
    color: #6b7280;
    font-style: italic;
}

.formatted-output {
    background: #141414;
    border: 1px solid #374151;
    border-radius: 8px;
    padding: 16px;
    min-height: 100px;
    font-size: 14px;
    line-height: 1.6;
    color: #e5e7eb;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.output-actions {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.button-primary {
    padding: 12px 24px;
    background: #3b82f6;
    border: none;
    border-radius: 8px;
    color: #ffffff;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.15s ease;
}

.button-secondary {
    padding: 12px 24px;
    background: #1a1a1a;
    border: 1px solid #374151;
    border-radius: 8px;
    color: #e5e7eb;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s ease;
}

.status-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: #141414;
    border: 1px solid #374151;
    border-radius: 8px;
}

.status-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.status-indicator.status-ok {
    background: #10b981;
}

.status-indicator.status-warning {
}

.status-indicator.status-error {
    background: #ef4444;
}

.status-text {
    font-size: 13px;
    color: #9ca3af;
}

.copy-success {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: #10b981;
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 1000;
}

.copy-success.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

@media (max-width: 768px) {
    .toolbar-row {
        gap: 6px;
    }

    .toolbar-btn {
        padding: 8px 12px;
        font-size: 13px;
    }

    .emoji-btn {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .output-actions {
        flex-direction: column;
    }

    .button-primary,
    .button-secondary {
        width: 100%;
    }

    .preview-header {
        gap: 10px;
    }

    .preview-avatar {
        width: 40px;
        height: 40px;
    }
}